|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
m0 K0 d( o% r. q! w' l& M; ^5 _; E: e
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.
+ y: N w% h" \5 r5 u2 q
/ H1 r6 K' k9 t$ J1 c# t# ~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.
* p% m# L. Y( [, C* S
0 T( v& S( E* q( W/ G5 O# |URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
- l6 i3 N' ?6 |4 K: Q3 Ohttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
9 K( G$ a0 ^' S* N, K* p$ PThe token ID can be found in the affiliate interface on the RSS Resource Page.7 t G# T4 [3 @
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.( ^& P+ n# ~- y& f% K/ v
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
/ U L" c8 g- Y* c; f, u# b/ kA URL with these fields populated might look like:+ g. P8 h. ^) a
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a* B3 F" w5 f8 H1 j4 X
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes6 g; R8 o/ q0 b
& ]. [: p) |2 w/ g
LinkShare will return a click link in the form:8 E- \! v5 q9 i; [' C1 K9 o2 a
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
" l9 [- \/ Z; u0 c0 s- b&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
% Z8 j$ z3 q4 O# U' F%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
. U8 T8 A5 x) i. j%2526page%3D1%2526matches%3D24%2526qsort# N+ n0 C/ y3 }3 {1 |% w
8 w5 `5 e# b& T$ MThe system will give errors for the following situations:
" a! j! ?5 f6 V7 zThe link is provided in an invalid format that LinkShare cannot parse.( [3 g) Z0 m* c
The link does not include a token ID.
+ Q {9 j8 b% k) @; jThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
" W; Q# Y; i2 y0 X2 PThe affiliate is not joined to the merchant MID included in the link.8 `( `5 C% [; f# u7 l+ F
The merchant MID included in the link is invalid.
9 L! q4 [& k3 z2 a2 CThe link does not include a merchant MID.
' [- I8 _( o. b! A' YThe merchant does not have LinkGenerator enabled for affiliates.
/ O; j! E) R3 T9 x$ l4 kThe link does not include a merchant URL.' ~ L( z& O9 A8 c }
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.' e5 W7 Y9 G, S2 u6 v% e& r& g
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
F3 ?& P5 \2 q$ Z3 SThe format for a text link will be:( E3 o+ q/ q0 m6 S
<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" >
1 _8 e5 d5 w7 P- I8 z4 E u% ]: sPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].& \, d# b, _$ R8 F/ r) `4 p/ }
Provide link text for the user in place of [LINK_TEXT].0 u) X; S+ h: J# B9 A c# q
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].
; j% z3 _5 @/ QThe [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].$ [. b g- b6 S2 l; k2 N
The format for a banner link will be:
\2 U! N, D& j* ~- H& u+ X" ]+ [<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" >
0 [3 @& l+ `& x$ zPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
6 ], F4 t7 g- V) l7 M) }7 {' vPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
( _( c7 A5 C% F# G' H1 IThe [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].
/ w" k4 T, X. v1 }2 l! B0 GThe [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]. |
|