|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator! g- Q2 j- C' c9 b
; \; S3 n8 A/ X$ V* t& i x
The Automated LinkGenerator is a Web Service to create LinkShare click links for any product on a merchant's site.It provides the same functionality as the LinkGenerator feature in the Individual Product Links interface, without having to login to the affiliate interface.
" I9 L! y% ~* f( y3 Q" U/ [1 j! ^ O% }3 o4 Z
To create an Automated LinkGenerator link, an affiliate sends a URL from the merchant's site to LinkShare in the format specified below. The URL can be sent through a browser, a tool like wget or curl, or an automated script. For each URL provided, LinkShare returns a click link. An affiliate can request up to 1,000 links within an hour.6 k( j; V+ r% s6 O
5 k" L( u( R2 c: N% i1 @URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):* Z8 S- R6 X! v! c: M
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
1 }' Q) C7 [; |$ f* {& Y; h* G( ?The token ID can be found in the affiliate interface on the RSS Resource Page.
4 }4 @+ ?# ]! G5 nThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.+ g8 f D6 f/ T1 d' j) |) r
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.+ k; L& b% F V) I) V% [; A
A URL with these fields populated might look like:/ c% t s; W" m S
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
& ]6 L% Y# Q! I! }3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
5 e2 R+ i8 s/ x. W6 v" |" E, O* c k0 _# U% i6 J% i4 q3 v
LinkShare will return a click link in the form:
. o3 t& F& ^0 O$ k& I0 N8 Ohttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
2 X- {8 C0 |% E' O# a4 P/ r Z&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth) I- Y D" \3 ^
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0: M. U: k7 h+ k8 R# J
%2526page%3D1%2526matches%3D24%2526qsort% B% f0 m) _* E$ M
) z4 k6 E1 [. F$ S: jThe system will give errors for the following situations:# Y2 i1 z2 s/ P% S
The link is provided in an invalid format that LinkShare cannot parse.
$ i$ H ^' L: m6 VThe link does not include a token ID.& {) v; P& q5 f* P+ w, `
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.3 W# i7 Q4 a9 |! j
The affiliate is not joined to the merchant MID included in the link.
" n4 m+ E9 k6 C; hThe merchant MID included in the link is invalid.
+ W5 O$ V* N) ~7 U8 M# S, E! PThe link does not include a merchant MID.
2 U2 Z. B; w: N5 }1 f7 x6 c. mThe merchant does not have LinkGenerator enabled for affiliates.
" q2 K4 {. v6 ^% sThe link does not include a merchant URL.
1 o0 E5 H! U, p6 GThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.% y+ |! ~+ g5 b
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.1 @; z6 C# n* V, V3 i0 y8 P' l
The format for a text link will be:* U' ~% j/ e/ L. y/ `' Q
<a href="[CLICK_URL]" >[LINK_TEXT]</a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=[AFFILIATE_ID]&bids=[OFFER_ID]&type=2&subid=0" >
f4 a% R. p; t) |Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# h; N" ~1 j$ h2 \% s9 R C
Provide link text for the user in place of [LINK_TEXT].
2 `8 }3 S7 ]- a0 ]! ZThe [AFFILIATE_ID] can be found in the returned URL from the Automated LinkGenerator tool. It will appear just after ?id= in the click link just as it will be pasted here. In the example above, the [AFFILIATE_ID] value, AAA111AAA11, would be found as ?id=AAA111AAA11. Paste this value in place of [AFFILIATE_ID].
' ?6 G7 p3 F$ Q8 dThe [OFFER_ID] can also be found in the returned URL from the Automated LinkGenerator tool. It will appear between &offerid= and .1. In the example above, the [OFFER_ID] value, 999999, would be found as &offerid=999999.1. Paste this value in place of [OFFER_ID]." v( j4 \3 O/ C! h2 M' k# x
The format for a banner link will be:
8 I; v5 n% I8 K7 S. B$ W<a href="[CLICK_URL]" ><IMG border="0" src="[IMAGE_URL]" ></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=[AFFILIATE_ID]&bids=[OFFER_ID]&type=2&subid=0" >' j6 o2 r5 C+ D' k( f
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].8 ]* Q& K5 U' ~/ D. a: o
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].; \& K4 _& s r( x9 g
The [AFFILIATE_ID] can be found in the returned URL from the Automated LinkGenerator tool. It will appear just after ?id= in the click link just as it will be pasted here. In the example above, the [AFFILIATE_ID] value, AAA111AAA11, would be found as ?id=AAA111AAA11. Paste this value in place of [AFFILIATE_ID].$ L1 K& [8 A! Y! i
The [OFFER_ID] can also be found in the returned URL from the Automated LinkGenerator tool. It will appear between &offerid= and .1. In the example above, the [OFFER_ID] value, 999999, would be found as &offerid=999999.1. Paste this value in place of [OFFER_ID]. |
|