|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
8 A* u. b+ Z H; }. ?! e& R: D
5 u" o. g, @ `* SThe 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.3 y7 ]& e- ?7 W7 S* U
! z0 C4 n. l6 M9 R9 u0 R
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." w8 L: |$ T ^2 w" {
" c! e$ F. k3 r6 P: oURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
9 B+ E+ s" M+ F8 Rhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
4 k- F3 X3 t7 oThe token ID can be found in the affiliate interface on the RSS Resource Page.9 J" {7 L6 x! v
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
8 w: M/ D: O8 s" b5 \ XThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
3 S8 S6 |7 X! J/ k& [& OA URL with these fields populated might look like:
' U9 n: I4 S- w0 z5 l1 ohttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
9 @1 L) `& |/ g0 j+ ~3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
5 p" Q8 I( f+ u7 s. x; L3 d' ^9 C, X' g% \& o% \1 L' x5 c1 |
LinkShare will return a click link in the form:5 i5 |4 Q# U( I. X1 ]0 A. O5 v
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
7 P8 G# x: s0 A' t&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
/ ]! Q5 j' C1 g, o( w6 n%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0" q! i& H5 X# e2 x& {' ^( T
%2526page%3D1%2526matches%3D24%2526qsort
- q5 q9 S2 x( b9 V. G& L6 m& a" U
+ H2 }; i/ k' f0 p7 ~3 `0 hThe system will give errors for the following situations:( \& x1 N6 ~; m/ ], O: ?' Y: ]3 F
The link is provided in an invalid format that LinkShare cannot parse.
5 k/ o- W; X/ b) i- Q! u3 h& mThe link does not include a token ID.
3 X2 X7 `, [9 l" L) ^The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
) {3 R' _& H, b: j$ e/ ~The affiliate is not joined to the merchant MID included in the link.
& Q* |1 h( l6 ^; y% P; wThe merchant MID included in the link is invalid.& N( b( z) c4 x% @" s4 N
The link does not include a merchant MID.3 p" e& \# |5 Z( a
The merchant does not have LinkGenerator enabled for affiliates.) o) T" ?5 W5 N2 I
The link does not include a merchant URL.
2 ~ i$ J X/ I. w9 sThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.9 ^, _ H! f$ w2 W) H$ k
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.' H. ]5 |+ h" Z7 a' C1 k
The format for a text link will be:2 m+ l& b% G: L# S7 V8 [+ R
<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" >) `7 h( m3 c+ y
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- l5 A4 C5 e0 T" `Provide link text for the user in place of [LINK_TEXT].
3 t E5 h6 k3 B( K: [+ K6 d. \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].
* k7 `; S1 v8 t$ x* k$ y+ s$ 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].
8 A7 K: r+ p+ H4 nThe format for a banner link will be:# y. a1 F, R; t1 @9 [, E2 p* X, c
<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" >+ }+ T8 R. R1 }' C5 S, S4 n
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
! Q. {0 V2 K; [0 ^$ K5 F1 j% K4 CPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
5 N7 F1 K- O: A) X: g/ r rThe [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].. i8 z4 o! v% \/ i M+ N1 o) ?
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]. |
|