|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator2 }4 x1 d. X, j* I
1 m( Y" F/ z1 c7 i+ ~! D! kThe 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- y( E9 P! \3 d9 Y, B- Q7 p1 |4 J, k; A
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.+ M' s- }! V6 s$ d$ {
' {' M B4 ~% `/ s9 `
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
1 x! O$ e) f+ x8 ], ihttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
2 l+ u$ S7 u& R% \: {# S% ]) C* LThe token ID can be found in the affiliate interface on the RSS Resource Page. v5 E q4 o( ^* {1 |
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
! ]5 K" J% v: m, EThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.; S4 a& M% Y+ \6 M, v( p9 @
A URL with these fields populated might look like:. z# J5 x4 B [5 I" s
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
& O) }) p1 @* i$ A( g# T5 u" p b" B3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes9 O* p7 f- A+ [' u9 W
3 W2 v. y, ` U; Y! ?* A0 C; y2 cLinkShare will return a click link in the form:# _: [: b5 w# k8 u
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
2 ^" ?( a+ R! [- p&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth3 R% J7 I+ C+ `. M$ s
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0& o5 b% K/ T: K: x( T, _! B
%2526page%3D1%2526matches%3D24%2526qsort3 V2 g7 _8 q: j* s6 [5 m5 l, I
4 ?( E2 v- r' P% V" u9 A, VThe system will give errors for the following situations:" W3 c) Z. C( h6 Q# b6 ~9 o
The link is provided in an invalid format that LinkShare cannot parse.& s0 d0 K* J8 v3 Z- [ M* c- \7 D
The link does not include a token ID., p1 l9 Y$ p7 a: ]; f, i
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.+ U: N5 l4 q9 ?8 o2 E: p" Z1 D
The affiliate is not joined to the merchant MID included in the link.- m' _6 l3 p7 M- r- t
The merchant MID included in the link is invalid.
0 M) [& m, @# t* w. Q8 xThe link does not include a merchant MID.
; \' n( }% ~5 ~The merchant does not have LinkGenerator enabled for affiliates.
* `- \/ ^0 U4 f% ?1 X5 @The link does not include a merchant URL.
8 U$ r5 J2 o/ T0 F8 K# kThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.: Z' z; e7 {" K5 e8 [1 b
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
* {6 h0 g; g! j7 }( wThe format for a text link will be:( V) z- p1 j3 f& h
<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" >
1 t, W* Q& v6 |Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
" X! u C% d. y( N/ DProvide link text for the user in place of [LINK_TEXT].
. h j3 q# j: T0 T, g& lThe [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].9 u* p4 a" t; Q% k7 k
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].; e) W! O" r: m- \! v' A+ a/ `
The format for a banner link will be:
3 J( c6 o) o) g/ Y' {/ T<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" >
8 ~8 R! N; O+ M A% JPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].% P3 H! i2 n$ Q) S0 W2 o5 [6 j
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].8 J* e ]) A2 I, r% ?
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].
! ?0 h4 u9 Y t! W/ o8 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]. |
|