|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
* [, }* B! V* M1 Z- M8 w$ j$ A" l
Z0 p* C, Q& a2 X" E! D9 ]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.
8 a* ~ e# o0 G- B6 q, D: }
$ j+ m: u; B; ^ C, I: 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.
+ `& y0 G3 n% S- l" |3 X, Q. _- t/ |; r7 |/ ?6 M3 u$ _2 U I" \0 E
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):$ b5 L* @8 @8 g1 Z4 r9 U6 e
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
8 f2 o7 O; R7 D! P" H4 d. [The token ID can be found in the affiliate interface on the RSS Resource Page.
& x( O8 b! E) ~$ t/ SThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
/ T+ y( g. ]7 K ~The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
6 p1 D2 N8 J* s; k7 S7 i& e2 @A URL with these fields populated might look like:4 F* R, A2 x+ A' Z0 E* D& N
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a2 n3 M( B5 m1 m3 x7 s
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes+ q, u% j m" ^
) U" U* R8 y! jLinkShare will return a click link in the form:
+ F/ c& ^' A) T. L$ [http://click.linksynergy.com/fs- ... pe=10&tmpid=9393 J& g+ ], r- T( t u& x+ x/ l. _8 J
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
7 f" t/ d) V1 h* Z%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
, g3 R" C/ x0 N0 ~; W" M' f%2526page%3D1%2526matches%3D24%2526qsort/ F& N( R; C) z' }& }% s
6 o) W0 M6 @* q: \) C3 q* c( E7 [" oThe system will give errors for the following situations:2 w/ n3 x3 A0 M3 ]8 T0 g @
The link is provided in an invalid format that LinkShare cannot parse.5 p1 @: _% A$ @# f: k; v
The link does not include a token ID.! E Z" s, l& ~" d7 `, W
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
+ M1 n9 u1 B HThe affiliate is not joined to the merchant MID included in the link.
3 `: Y! }9 F L7 s5 x5 ^) R0 J8 E. f+ C$ CThe merchant MID included in the link is invalid.
/ E- E( J* {6 \5 I: \0 @9 |& MThe link does not include a merchant MID." q4 O& L% n [, s! R$ L2 U& L
The merchant does not have LinkGenerator enabled for affiliates.
; e' f4 _ e9 }. ?4 M' d# b* g& g2 I& }; eThe link does not include a merchant URL.# _1 J, U3 q- \; {' R0 _* m
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
M! @" n9 E2 z u3 O! t2 w, mOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.+ H* X; E3 G4 V
The format for a text link will be:
; q5 @ f) Z! k6 k+ v<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" >
S4 j/ N) Y' `& qPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].% k- L' S6 }. H: i" B
Provide link text for the user in place of [LINK_TEXT].
5 J; [( s+ y" ?. R$ e4 u8 R+ t$ eThe [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].- {: K9 _& \6 l1 u% I
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].
. _0 g: ?' a" s3 [1 C9 VThe format for a banner link will be:
3 p7 D3 E/ \, u) ~1 Y9 I* r( g<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" >- C3 ]. u. I; c% e+ P
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
3 N+ G" p- ?: R5 h9 z5 ^Paste the URL of the image on the merchant's site in place of [IMAGE_URL].; P- H4 f* M7 N. G
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].
" `) v& R: u. z( T+ s/ |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]. |
|