|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator, U* Q- I$ ~6 D2 d* S* X
8 V, J' j2 p6 r2 I- ?0 g2 o% V* H
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.
6 R( D) f" Q, h, I. ]7 P: t
* b4 M2 `8 }; I, U# G7 tTo 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.4 e- i$ P% |7 S7 S9 z
8 C% _$ e8 l. g1 bURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
) x" u9 x1 ?, Y# G( J1 y/ `: Lhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
5 E6 F7 ~0 r- g3 K& n! g; u6 TThe token ID can be found in the affiliate interface on the RSS Resource Page.- z0 s6 t; W# n8 j% z- z
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.6 y5 i' _+ E. W+ \1 U! C
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
4 s0 l1 e! j l! m$ nA URL with these fields populated might look like:
; d; s& ]5 \, ^: y1 r2 Yhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a/ J5 l0 m* Y- m- P2 W6 X
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes1 u6 o# U1 b( y+ c" f! b' j8 A
w9 i: O Y0 h! GLinkShare will return a click link in the form:
2 w* U, V; C. `1 p: ehttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
0 B3 P5 s t% f0 Y4 r9 J' i% l/ R: G&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth! F' G' m# N8 r2 L, c" W$ M8 M
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0+ ~* z, K' q; b* p) x. X. ?7 J: k( R
%2526page%3D1%2526matches%3D24%2526qsort
% _. R& R0 t; D) J9 s' D9 N" B5 e
1 ?* Y! U0 v$ e3 {, D/ gThe system will give errors for the following situations:
1 T5 W: D: J5 DThe link is provided in an invalid format that LinkShare cannot parse.
9 T; f# t/ w3 P6 QThe link does not include a token ID.. h* T% W+ `3 g9 f" Z& e8 O
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
1 `9 p w% }+ |" z$ gThe affiliate is not joined to the merchant MID included in the link.
& L3 ?5 `3 P$ Y: h8 Y" Y5 XThe merchant MID included in the link is invalid.
, g3 E/ L. q. w% A+ XThe link does not include a merchant MID.+ z) b) o! M, T N( V
The merchant does not have LinkGenerator enabled for affiliates.
# x- C2 V, s o: S7 {The link does not include a merchant URL.
1 p k; y+ T V1 BThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.% E8 m4 k2 I4 r, X
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.& ^) b; w6 D/ Z1 w4 f
The format for a text link will be:+ e1 S6 ~+ V4 Y, i9 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" >. r3 h$ U4 ~" [6 {" |: l$ m
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
& @ U+ l, ~; g0 bProvide link text for the user in place of [LINK_TEXT]. d3 Z1 U1 |0 s7 E+ r. x, {
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].; Y/ ]% i) t3 {9 c; T: k) ?& L
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].' i8 `& x/ }0 Y
The format for a banner link will be:
) m, @% {& _) L1 e2 K# r<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" >
* r' l: i. ~' q5 ~Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
+ K- X/ p5 J+ b. B/ KPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
, N7 D4 }! u" H6 w3 JThe [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].8 \; l: ? ?, I; j. Z3 U; S2 ?
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]. |
|