|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator. h& ]) h$ e r- J/ ~& Z+ U6 `7 U
) f) u$ ], J9 z UThe 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.
! B9 I- Y8 ^$ M9 U$ z- d; I- p. U3 e: a3 F
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.
) j9 V! s" s. p; C2 ^6 b" v5 _7 X/ F/ m9 i+ ]
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):3 f( @: S8 ^$ \9 _7 E3 k G2 z5 L
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
+ v7 t% r+ v, I& N) D1 a. y; sThe token ID can be found in the affiliate interface on the RSS Resource Page.2 x" ]* q) R7 l" v. i" i: e/ a8 V |
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed." f1 P8 t: M' A- ^7 c7 Q3 ^) @
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
8 T; e" F* ]8 d4 j1 B& sA URL with these fields populated might look like:
5 _+ A* p' J$ g( e3 p* J- r* g jhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a* D0 h$ b$ t7 H" B/ q* l( z; ?
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
. l* p' C: z$ p& v- i
- U/ z9 R" _- v8 ~3 a5 p, ]6 iLinkShare will return a click link in the form:# t: q; J# {2 Q9 @% `+ a7 d+ F
http://click.linksynergy.com/fs- ... pe=10&tmpid=9392 Z$ @, h/ ?( R. s$ g
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth+ g/ E' l1 j7 u: T; o; S6 d
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
' L _" s: X4 i L4 n9 U2 B%2526page%3D1%2526matches%3D24%2526qsort
# n% l3 T" z* ~ L5 ` w$ K, B! P+ P* L5 O- u2 z1 v$ J& M7 t/ y
The system will give errors for the following situations:# {( _# V) a8 b# ^* I
The link is provided in an invalid format that LinkShare cannot parse.
/ h6 i* E |8 {* B M3 |9 TThe link does not include a token ID.
3 ^# b5 [4 F' bThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.' G/ ?4 R+ X* f; [
The affiliate is not joined to the merchant MID included in the link.
: Y/ D9 u" A) Y" e! j g8 QThe merchant MID included in the link is invalid.
0 _; P. ^6 b2 s! cThe link does not include a merchant MID.
6 i+ }# ^; s) HThe merchant does not have LinkGenerator enabled for affiliates.4 s( t' E* e" I, j
The link does not include a merchant URL.1 a) t: t: z. o8 r
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
9 z7 |" K; ]* v5 POnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
" i4 k6 \# X7 \! k2 y m' m3 wThe format for a text link will be:/ P7 m( y8 i% |9 k
<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" ># C! k) H7 p" R0 S: i2 Q
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].) g. g3 L* _( c" R! k
Provide link text for the user in place of [LINK_TEXT].! w# Y# A9 f7 P, x; J
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 `) g& } m9 Q
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].
) N0 j- R- O/ mThe format for a banner link will be:
4 Y1 G; y: r8 \7 S<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" >
$ a3 ~3 ~- W+ a( [* j Y* }Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].9 u* m$ x1 Q) }1 Q
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].+ A% l' f( H8 m6 B
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].
: b g' k |* \5 Y2 F5 x8 QThe [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]. |
|