|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
0 w9 @$ G1 \1 k7 \
3 U. F9 f, b: I) ?) r" y/ GThe 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 f2 d+ b) M% @
) C8 V; Q" C$ P) x7 M* [" f3 {
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.
* K. S- a1 ?( b$ l) O8 P
. l4 I- @6 u1 |* iURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):) B% U W8 a: k: f4 E
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
/ P" a3 ]! R! Z" u3 `# Q5 ZThe token ID can be found in the affiliate interface on the RSS Resource Page.' U# h' R: ]; x& Z/ i
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.9 L& l4 [* r) Y+ A( ?
The URL is the landing page on the merchant's site. Special characters do not need to be encoded./ x% K: n) R' p, k* e( V
A URL with these fields populated might look like:4 _6 I% A6 a+ d
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
0 k% o- t; j4 Y! N. m3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
+ ]7 p/ k' k* ?6 D& v
! b6 s. z8 e$ N. ELinkShare will return a click link in the form:
* X; t7 b4 L, d8 D" Rhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
5 s6 r. r% J& L% v&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
. \$ p$ r( U8 V% H7 x: B$ h%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
9 Q( c; N! V/ I" _4 q2 b7 T%2526page%3D1%2526matches%3D24%2526qsort( K# y# I4 x* O9 z% {5 p# \
0 {1 ]" j! [4 H. r, {9 jThe system will give errors for the following situations:
7 o' t: o# m* z% f. p# P* vThe link is provided in an invalid format that LinkShare cannot parse.
; ^/ {. s) W) ]/ v4 QThe link does not include a token ID.) j0 I, B$ r2 f, `' q- H
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.' |3 A4 m( E, K1 P: m
The affiliate is not joined to the merchant MID included in the link.; w8 R1 r, u0 e
The merchant MID included in the link is invalid.
5 ~, @/ _" D6 I* e1 wThe link does not include a merchant MID.0 \7 Y- y: b2 k6 T6 k
The merchant does not have LinkGenerator enabled for affiliates.9 R6 P' d9 B# ^* X: M' C
The link does not include a merchant URL.6 x6 O5 |9 H# h# `. x
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
9 L0 S& u! h0 W* oOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.6 a, L) q, x. C: ~
The format for a text link will be:2 j6 U' b+ d" O
<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" >
( _& o8 j+ m; |& X# q/ B% NPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
5 D: t% T4 l8 x$ n4 \Provide link text for the user in place of [LINK_TEXT].( e6 C; P" y% r. t% S6 V
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].
4 @# M, f4 e- a0 V8 L+ t% T; ^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].
: E' X0 Z& s& XThe format for a banner link will be:
2 ?, a0 V, B4 m% B. ]' c' M<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" >
. A- ?/ Z" T! P( F4 Q ZPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].. r. q# l7 H: N' E! e, V4 x
Paste the URL of the image on the merchant's site in place of [IMAGE_URL]. a8 D5 b2 j" Q* Z3 n# k1 t
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].
9 Y& D P% B8 D' MThe [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]. |
|