|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
, A9 Q/ z2 u7 c: e: d+ r7 ]% ?7 ^& L0 c; o7 i- _
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.; h' ^4 R9 y5 z- F
0 p: a. p+ e( Y W5 p8 `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.
* l$ a2 [7 X; D. o! l3 i6 M4 w% y, r# M4 _: Q' I# ^
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):1 \( B5 x" Z1 W, u
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
; _3 C0 e$ M9 W) b; U0 |The token ID can be found in the affiliate interface on the RSS Resource Page." R% j3 f" M& _" @( n
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.) B( v4 y3 p# z" z6 A1 [5 }
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
& }2 E) e4 f7 u2 ~: @9 FA URL with these fields populated might look like:9 A E' g% n; H* r* k; ^5 c
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
1 e* o$ C( |" U9 A3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
+ y1 T' b2 V \3 H' ^) _2 D" c/ H& ?" U
LinkShare will return a click link in the form:
% H8 k3 I! E1 u I: whttp://click.linksynergy.com/fs- ... pe=10&tmpid=939) L8 q& w5 S8 l) J8 R# N2 h
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
; U" k7 E/ b: H U5 C%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0, \4 f. X9 v' t0 w8 V, O6 m
%2526page%3D1%2526matches%3D24%2526qsort
6 ]) _4 E7 a. `' W) K! Q' ]- ?$ `/ p3 y, Z
The system will give errors for the following situations:0 c/ b) I! H/ H. _; Y
The link is provided in an invalid format that LinkShare cannot parse.
, S7 \& {0 m4 ~" _. x" y' L# Q- \% NThe link does not include a token ID.
9 `0 k8 K+ j8 k) W0 O+ W/ AThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
. I) Y' q y+ `# g+ x, p1 XThe affiliate is not joined to the merchant MID included in the link.# b/ C! q% o* X' K4 [1 Q4 G- T
The merchant MID included in the link is invalid.0 Y5 Z1 A: X2 u2 d
The link does not include a merchant MID.' K u6 N! y O7 g1 |# b
The merchant does not have LinkGenerator enabled for affiliates.
) n+ U% O- P! wThe link does not include a merchant URL.
0 g4 e( k, n& @. D" h4 mThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool., J( i% Q6 e; J
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.! T4 Z( \" d j
The format for a text link will be:
; K1 E9 c# K, G# Z<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" >
! h- L- |5 H7 {2 i8 R' N& rPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].0 h* Q# S4 s: e- K, c
Provide link text for the user in place of [LINK_TEXT].1 l$ V g5 v( y$ d6 }0 Z
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 a" {7 i( ?5 J/ ^; D( O2 [! a1 Y
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].; L" e4 b% |9 F0 J2 q H5 ^
The format for a banner link will be:
. W3 p" j, W$ Y% O7 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" >
. W% G" x" g" c7 _) r, s# R3 mPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
, m. P6 O; n9 F8 ]. ]/ X! Q3 r% M3 uPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
8 d6 `( d: F8 ]2 rThe [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].
5 ?% O) S2 z) t0 z. a5 ?6 p* |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]. |
|