|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
# M7 n8 ~" R" S7 a/ D2 e% W! _% d) o0 K: Z5 F4 X, ?: z" z
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.
! |6 o5 w( R0 s
0 b# |, r; r% u1 BTo 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.9 d4 w! i2 [, F
6 P- L9 d. T0 d
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
7 y/ i# o6 ~3 x* ^6 K5 W: thttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>! a# C& [0 Y3 f) ^6 G7 C
The token ID can be found in the affiliate interface on the RSS Resource Page.) q+ s( Q5 G) ^7 @) {5 G6 h
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
8 h2 W% G% \* v5 { }) S9 |& G+ [, iThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
4 `; b, O8 d9 S. E$ ]9 e2 D A! B5 @( yA URL with these fields populated might look like:
4 N: q4 J+ `1 G) {! A Jhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a+ j* f) n+ R- `1 `2 L2 ?
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
' q6 O) A. W+ |7 p. j: ?% O h) e1 D5 a* E; E
LinkShare will return a click link in the form:- R" E5 @+ S1 n2 ~
http://click.linksynergy.com/fs- ... pe=10&tmpid=939$ q/ c9 P% w. G1 I
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
8 H& a4 o3 v# b" X%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0! F- F+ O! h4 `; _5 {* u- t* I! |
%2526page%3D1%2526matches%3D24%2526qsort
3 ?0 ]6 C2 ~5 S, i! V1 K( J" u( `3 B$ G f9 p; F; p
The system will give errors for the following situations:! ?7 u+ P6 P% T
The link is provided in an invalid format that LinkShare cannot parse.3 M8 ] J0 W) z2 `- v0 }# Y
The link does not include a token ID.
6 _1 n7 ?7 v- \. `( k; _The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.% g$ z! B& \& ~3 M; }
The affiliate is not joined to the merchant MID included in the link.' g$ ~2 i4 n5 P( l
The merchant MID included in the link is invalid.
* }( |2 v, O2 T- Q# d s9 _The link does not include a merchant MID.2 m' j0 b( m' |7 j* x2 N
The merchant does not have LinkGenerator enabled for affiliates.; v; d- z. V, c6 I% t/ F f
The link does not include a merchant URL.4 z# ?& w7 S2 N" [# U+ t' a% j# V9 j
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
4 k8 M; O2 M# J7 H4 C! H# xOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.# @! `+ |( M4 u; a, w
The format for a text link will be:
6 a; ^) u" g+ e" 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" >
, O0 o' }0 U2 L4 g3 XPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].& _; x! E9 K% t% K" K
Provide link text for the user in place of [LINK_TEXT].
5 d" \6 v; A% \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].
_3 I( J T3 XThe [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].
( I6 h7 N+ }. Z; T sThe format for a banner link will be:
4 ^1 A2 R5 S t8 t' Z( p6 n2 W/ a, l5 i<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" >2 [' Y. h2 A1 F( ^
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].( }& k7 m! N9 f! J
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].5 T& y( C1 D3 N
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].
, N! x, {. v! TThe [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]. |
|