|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
- E6 K( S2 y7 m0 \2 I8 j! Y+ a. ~. q: P/ ^' A
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.+ e% V; x' G6 A+ [2 _* f
" b5 B* U) ]" PTo 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.( |9 V4 ~- z6 l4 c( }* }
/ ^5 w) c* N; ^6 t' V8 V
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
. K' Q5 D6 t) j# s6 nhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
[6 j% L: J5 x: \4 E, c! fThe token ID can be found in the affiliate interface on the RSS Resource Page.
& O9 \/ K3 f% A9 S4 o1 C. }The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.$ p/ k) v; n4 K5 L, t8 Z* ?/ e
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.! R: ?% e: N" p) H' i" Z
A URL with these fields populated might look like:5 x K& g/ y0 g5 x$ |; i) V
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
/ E8 L2 N' x$ V: W& y/ `3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes- S- V- b; w8 D$ u: K
0 F" i) J6 o2 y: O* Z
LinkShare will return a click link in the form:
9 m) X- \* k# G5 f3 ~http://click.linksynergy.com/fs- ... pe=10&tmpid=939
7 M' E8 M" _* ?0 J&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth* n, X' x* G/ T4 d
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0" @/ G0 v5 H, V& w
%2526page%3D1%2526matches%3D24%2526qsort/ ^; _ b3 c3 k9 S# Z% R" E4 Z
2 x- d5 S7 Y. _9 h# ~The system will give errors for the following situations:5 o5 v6 |3 u5 T8 K3 z; b/ W
The link is provided in an invalid format that LinkShare cannot parse.- n* b7 x2 N7 D! g
The link does not include a token ID.
1 s$ [: v7 ~' { E4 i( PThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
5 K( [( I9 Q" E2 j* `The affiliate is not joined to the merchant MID included in the link./ a7 ~: i6 S( t
The merchant MID included in the link is invalid./ {7 n8 T8 c* q" G
The link does not include a merchant MID.2 |' w7 K) ~, t4 k
The merchant does not have LinkGenerator enabled for affiliates.' P p( i$ \' G
The link does not include a merchant URL.
: J* f1 n) s0 a4 y9 Z8 F2 {0 qThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
$ F4 D% S8 ], F2 }7 a! n. W( d2 P/ iOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.2 r" ^0 P6 W+ t1 j
The format for a text link will be:/ N% W+ a% K9 _
<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" >% t- X) x5 M8 ]* c
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
4 @ e1 d& `8 X$ i' }! M) ~Provide link text for the user in place of [LINK_TEXT].) _: p! o0 L8 X; r% ^, n, |
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].& x5 p; K/ Y4 I5 o1 J2 E
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].. K% _3 m1 R, [5 E. N* s
The format for a banner link will be:/ G" v5 c8 [3 I/ J6 S0 c, U( \
<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 Q& j8 u1 P# V% G8 ?# @0 W
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].0 V; Z& }- y& J% r" n
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
0 ]! D5 F9 W+ AThe [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].. P [7 I% E M& _/ r4 A
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]. |
|