|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator8 w4 ~" N% y) ] p7 V E
8 P, }# e/ R8 c3 S. G) J
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.
/ R$ T) F5 K$ B% T% ?
; @% \/ c7 E1 w: `1 c" @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.
5 h' z4 v3 P3 e' e9 \4 Y/ w) Q7 a8 ?$ q- \
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" A0 [% B3 {+ b, @4 ~7 W! C
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
% r; y3 A2 T4 P2 QThe token ID can be found in the affiliate interface on the RSS Resource Page.
+ v: a. z# P- |( B! fThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.- q4 d: c* f" S! P/ k; m/ n
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
& L: X$ V3 }, E7 J) r- I/ O3 LA URL with these fields populated might look like:) {9 u' M1 x8 f( M0 @
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a3 K) U" `$ R4 y5 k7 o1 v
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes+ U. X& }# [: m" h, U) ?6 L
/ I9 k* R# d b! z8 X" d @' A! pLinkShare will return a click link in the form:- x- Z5 G( L. T
http://click.linksynergy.com/fs- ... pe=10&tmpid=939, w" x) M+ y7 J( W% b
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth% z# v3 x; \( D
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0 D6 n2 A" m5 H0 b3 |) u( j% F
%2526page%3D1%2526matches%3D24%2526qsort8 Z+ V7 o0 t) S @! H6 @
4 \$ ]' ~( ~1 `8 u% VThe system will give errors for the following situations:8 @1 E/ C( B3 a' F. c
The link is provided in an invalid format that LinkShare cannot parse.3 p+ D. s' C6 i4 e& b. e+ g
The link does not include a token ID.
6 n6 v- m7 K9 E) R0 s. U) C: ~' FThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
& N) {) Z; o* G1 _, N, D. g9 ?The affiliate is not joined to the merchant MID included in the link.- r. r5 S' ]% K4 o/ O$ w
The merchant MID included in the link is invalid.
: ~/ L: u0 G4 Q: h- c4 W ZThe link does not include a merchant MID.! G8 _' Q/ k" f! b: R7 J
The merchant does not have LinkGenerator enabled for affiliates.$ n, V4 \3 V; j: O1 c& _; J
The link does not include a merchant URL.
4 W6 c4 V3 ^# K+ ~: ]3 @The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.6 r+ s' ]6 W3 L7 c' A
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
' C: Z0 `! F4 q) b& k0 NThe format for a text link will be:
[' V& W1 h% g" l+ P4 N+ 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" > J3 `8 o1 x; U9 _6 D
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
( G/ H. k$ r- H. x6 {. D5 TProvide link text for the user in place of [LINK_TEXT].
* w0 E% R- T' @: A2 M; O" ?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].
- {: i0 r3 q% C) _: D, bThe [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].
" T$ y8 J# N$ Q" ?) iThe format for a banner link will be:6 Y" l" C; o9 v- v' p. c
<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" >) y0 q3 p+ I) ^6 a
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# C. a0 E( O& j W7 q( E+ `3 ?: ?% T
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
* Y2 Z$ h2 @* @5 f! b' ~$ GThe [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].$ ?' S4 V2 Y9 }
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]. |
|