|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
# k$ ?% o- M. [6 `0 z
" h( S5 H* V( i3 H7 OThe 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.
8 P" u- w) l- [2 P6 e) G5 u$ f7 c7 O: W+ \5 x v* U
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.
, X) W z# i' P9 n: l, m/ M4 O$ s6 D, Q
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order): |7 W1 T' z; L. H
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
( X$ f* K) c7 v6 l7 PThe token ID can be found in the affiliate interface on the RSS Resource Page.& R+ o8 `$ U2 f% R' d) N; g5 Q1 g
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
% z$ v- d( {7 e! y" l) fThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
% Y+ F# W: _( K0 _2 I0 gA URL with these fields populated might look like:
' a8 W/ t4 }' t9 P# r4 p% }+ q Ghttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
! ? h6 n9 G# s) [! B/ _0 w1 _3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes( r$ `/ o; X" c( P% m) S ~+ [/ V* ~
8 l' B6 i; y7 k, k; W* Z2 H
LinkShare will return a click link in the form:
; i$ h d( m: g# b* ?% g; j7 N) W6 shttp://click.linksynergy.com/fs- ... pe=10&tmpid=9393 a) P- i/ p7 i* i
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
2 W; z) |7 s6 P2 Z3 r%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
3 n7 D) l! F# i5 o2 T& f% c%2526page%3D1%2526matches%3D24%2526qsort
3 W" ?# _0 N' I1 O5 e/ F$ L: g9 A: s* _* {. V8 W
The system will give errors for the following situations:! X5 E) ^# |0 T S! Z) G0 H! _
The link is provided in an invalid format that LinkShare cannot parse.
$ q: J1 P8 `5 k' x: I4 QThe link does not include a token ID.8 F9 m/ _! r- b* Y
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.8 C6 ?1 [. z# \+ X
The affiliate is not joined to the merchant MID included in the link.' P! J. k: G* F0 i# S
The merchant MID included in the link is invalid.
0 |: V, m4 R2 k6 m( r9 hThe link does not include a merchant MID.
7 Q3 p1 w6 W7 f+ @7 u nThe merchant does not have LinkGenerator enabled for affiliates./ o7 c/ w! o3 A+ {4 O8 q6 q
The link does not include a merchant URL.
" n3 S$ L; S# D3 GThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.$ L* g- \1 _& J0 _& @
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.$ J2 r9 G- @' H& g# _, n6 r
The format for a text link will be:
/ b9 ~) I: w5 k4 E% Y; g<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" >
. V1 i0 [6 ~9 a! o5 I$ a5 gPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].( M3 g. a1 N6 Y. R) B5 _3 M
Provide link text for the user in place of [LINK_TEXT].
- B2 ~3 Z; y6 G1 g) K' H! ?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].- B% J) y" c4 X. S. |, O) S' 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].3 j& T! P4 h$ s$ Z6 N2 R
The format for a banner link will be:
) a9 L$ H7 u: ?; X% A1 O c# a<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" >9 ]- y+ T; L4 }1 x* \3 o/ ^5 G
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].3 {3 j1 H/ c; @: l' Y: {( s/ {% |
Paste the URL of the image on the merchant's site in place of [IMAGE_URL]. @$ ?1 s& J% m9 g/ _6 z
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].1 M/ G. t: k' d V/ ~: k" ~
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]. |
|