|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
/ Q- c0 e' ]$ f$ o& G8 V
9 C8 d2 d1 C# 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.
: D: a j- C u0 L5 X+ T
% ]! ~2 ^9 K+ _5 |! O, P* GTo 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." ?- r1 o: r% p/ N5 E Z+ n
0 q' W7 u% Y, \3 q% @4 SURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):2 B$ e4 A0 K9 C8 \
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
% N3 } ~. I7 v X3 o( S; zThe token ID can be found in the affiliate interface on the RSS Resource Page.4 C' q6 `: F' W, \ M1 I
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.5 W0 \; x% l9 B9 a8 Y
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
* x! G( N) G3 d2 ^) bA URL with these fields populated might look like:; a2 E$ l: L/ j
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
: z1 K$ j5 u: P I! S" X3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
& q8 w* R ^( J! \/ \( N k% Z- s5 c2 X% u, B I* t
LinkShare will return a click link in the form:
; ?0 z1 m# ?8 Vhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939& s7 f7 Q; `+ ~3 M5 D# Z6 m5 C
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth! a+ c d( H! i! e7 z; Q* Y4 G5 b* W
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D04 p8 H5 J' B% t& v
%2526page%3D1%2526matches%3D24%2526qsort2 N$ \7 x3 u; @ P* c/ Q) U
2 z1 f: p0 @6 }, F% |The system will give errors for the following situations:2 I! ?. Y- @7 J0 ^8 _# L
The link is provided in an invalid format that LinkShare cannot parse.
; v% r% l$ u2 S& ?& w3 ] KThe link does not include a token ID.
; V6 Y0 T: P/ v9 _7 ? ^The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.% ?; F! |) z" b) J, [
The affiliate is not joined to the merchant MID included in the link.# D/ ~6 J8 H# a$ _9 m+ {+ J( z
The merchant MID included in the link is invalid.
) F* o T B, D, EThe link does not include a merchant MID.' H7 X3 k% l' v1 J
The merchant does not have LinkGenerator enabled for affiliates.- v0 ^% j% S' Q$ }! ?& D2 h
The link does not include a merchant URL.3 B @0 M9 i2 @8 ]/ g
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.3 j V. G! C0 L, r+ i; z% n
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
4 A' E- o* u6 T0 ^6 EThe format for a text link will be:$ \! X9 D6 B8 T1 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" >
# x9 f% Y) t2 DPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
N1 ^+ ?' g- P, |1 w& ?1 uProvide link text for the user in place of [LINK_TEXT].* W4 d; M: }/ d6 T
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]./ W& C9 D6 U# M) G$ x& K4 h
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].
: x$ F! r: ^% G* h5 G) RThe format for a banner link will be:
. ~! z) ^/ |# P2 ?& q, _) [6 f2 W<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" >
. i! Z. Q2 X, _9 b6 Y; D& }" }Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- }& B" l6 K& X7 N5 TPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
! ^# @; O7 ^! DThe [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, f) H. v6 S6 cThe [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]. |
|