|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
7 }! _, u3 {+ W z
i* A0 N4 p: X+ g9 M9 WThe 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.& J6 n o0 Y7 ^$ b! o% J
) q# N$ d: o+ f+ B
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.0 v% i3 F/ B, m* H! [7 S
4 O; [2 \+ Z( M9 l2 U9 p" e5 p, X9 p
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" r5 J/ _: |$ ]' E! ^6 k1 p
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>- m5 Y" h* r- {* W
The token ID can be found in the affiliate interface on the RSS Resource Page.
5 F+ _2 H/ O7 |$ B; n4 qThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
7 P/ M- k2 ^8 DThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.0 N1 c. Y* F, r( S8 a
A URL with these fields populated might look like:
( t0 x3 b A2 u! }: shttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a2 @: q& y& j7 i) F B
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes' j& m& Z2 ]$ _, d
5 a) l& z0 ]: ^/ x4 { XLinkShare will return a click link in the form:
( l& v" N& E# v- Phttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
; w6 c. I+ B7 V1 B" E: U&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth8 K) n3 F0 {, L( i( \( I5 F+ T
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0& |! A) E6 I7 M
%2526page%3D1%2526matches%3D24%2526qsort
! c! i5 B* B/ q) l9 X* Z8 H2 M
; Z& i+ G w+ n) G) M3 E. p3 a- B- \The system will give errors for the following situations:& g3 I$ r& D# c; |6 W- x. U9 p4 a
The link is provided in an invalid format that LinkShare cannot parse.+ c7 f; l Z" N
The link does not include a token ID.5 o w% b3 i7 q Y
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
, S _5 N0 U) j0 s2 mThe affiliate is not joined to the merchant MID included in the link.3 `( q ~8 S. t! T" e. a
The merchant MID included in the link is invalid.
9 v( F0 R; S! z+ @- mThe link does not include a merchant MID.
, m1 A/ E; K( d; f, t9 PThe merchant does not have LinkGenerator enabled for affiliates.
7 [! E8 b4 _ I2 |The link does not include a merchant URL.7 o7 \7 U4 d* I
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
% P$ I0 v; N" n% b% A. KOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.2 N; j% E1 |6 S8 V' d
The format for a text link will be:
+ ^! q- @" x' {7 W5 x& I<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" >
! `) K6 r) Y% U7 ]$ K, B+ MPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].2 M& }7 G; P; }' e, O
Provide link text for the user in place of [LINK_TEXT].
$ z+ n* a$ f8 }# T6 L! W" TThe [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].
! u5 b J- v+ CThe [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]., ]) J" p" I% F7 W5 f. d
The format for a banner link will be:0 I7 {& H* R* P$ s, V
<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" >$ p, l2 j& i% j8 |- | U8 O2 i) L
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].* Z0 j* Z" o# G. c
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
9 ?4 n8 y! f: e# Y: X- N7 S5 [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].' O. Q, I0 s' ?6 ]" `/ y; e' F
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]. |
|