|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator8 b3 @ A9 @3 S; f" q. z
1 L3 G* T, ?4 w0 \/ D
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* I; y6 q+ f7 @0 R
, S$ M& y$ @. M' STo 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.
3 E, l8 M! M% T' Z! L8 r) Q! q% T. e. f& }$ q7 x9 a: o8 f5 s9 P
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):& q4 p6 s$ q( [8 ^) x; Y2 w
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>2 {9 f. t I: O: ?7 i* N) F
The token ID can be found in the affiliate interface on the RSS Resource Page.* M- C3 D9 R# }; m+ ~
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
; h" c% `: ~1 P5 xThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
- R. j8 T) k' ~2 A' zA URL with these fields populated might look like:
5 [- d: T! }7 N1 v& k c" yhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a" \1 Q% |$ M% i
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes3 s' `& f. h! i$ e
v2 t- I9 O9 h0 ^4 ^; x2 n/ E$ YLinkShare will return a click link in the form:! J6 e1 l% O5 ^3 p3 W$ J, o
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
( F) q G8 G3 ~5 i# j) m+ e&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
6 { C0 i% v' f* d( L& V3 m%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0' `+ F' |5 G5 w
%2526page%3D1%2526matches%3D24%2526qsort
" I4 `' S8 G$ l, e0 A+ ?- q: V
$ U' V3 o0 t m" D- I( R4 qThe system will give errors for the following situations:
* M* m5 v' ]! ZThe link is provided in an invalid format that LinkShare cannot parse.9 ]) G# W6 g6 v6 t" d
The link does not include a token ID.
9 l9 s' u( l5 X# q# G, w; r+ w( TThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
n% \ n7 n) Z( |, c" yThe affiliate is not joined to the merchant MID included in the link.0 k. n1 X. s5 `$ B. c
The merchant MID included in the link is invalid.
0 M6 h' g: m( zThe link does not include a merchant MID.. i# ]; [& {; x* K1 }6 u; o
The merchant does not have LinkGenerator enabled for affiliates." j' ?! c& y. Z: ~* N
The link does not include a merchant URL.% K& S, T z4 Y) [8 R
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
: V7 f& |" r4 q. a6 |& tOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.' n' y4 F9 ^6 q/ l
The format for a text link will be:2 d7 z, m; l/ f2 u% T. t
<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" >
* w( P [, l4 x! p bPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
# n" [/ ^: Z2 P2 a( q6 b, J D: }0 uProvide link text for the user in place of [LINK_TEXT].; Q# u( l& m9 u9 A2 s
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].
- g6 S$ N$ w+ F2 e6 WThe [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].
, q- |) M0 s9 {0 u- JThe format for a banner link will be:
8 K+ {9 S8 H; ~3 d* s- k<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" >% v+ y7 I/ c) k
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
) P D7 _$ U- _" GPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
. K7 x# y3 l9 H5 _+ ~ BThe [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].3 [4 S/ `0 d! a( G; H, J+ 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]. |
|