|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator' U* b8 B0 U1 g3 N. s Z
2 t8 a: q" v5 Z. L2 g% a- A( 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.# @9 u7 s* _9 h* ?
3 m- W1 y: k% w9 d* X- g& _
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.6 k. `' c8 E* S# i8 u0 [
! R) f L7 u+ \5 v
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):8 l/ Z$ n$ p6 L, I4 Y: A3 ^2 R# C
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>; f1 t$ D6 Q3 S! M
The token ID can be found in the affiliate interface on the RSS Resource Page. A' ]. t8 C, t
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.8 o0 K; }/ X* i: x: {( n3 J
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.* }0 w% ^' V8 r( Z- ~2 M- Q6 U
A URL with these fields populated might look like:
; ]! H* t1 n/ g- A" ]$ T% a4 D f& o' x3 uhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
) f% p) n' J% l+ q* n3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes" `5 [( e! N1 W6 a" z
! G) Q& {6 E) T# o2 `8 }
LinkShare will return a click link in the form:
1 t& }: g9 \+ J. c! D: k, i. E# U, `% Fhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939# v# B D7 G3 U( v) x. J8 Y, K
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth: M+ J3 z6 x9 N' ]6 ^$ B
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0' W$ o/ G5 M+ [+ |( V
%2526page%3D1%2526matches%3D24%2526qsort9 s! g7 A" h' s8 N
. a7 w! L: K. ~' ^ z
The system will give errors for the following situations:4 f& h) B5 y) S! ^1 M9 C% G
The link is provided in an invalid format that LinkShare cannot parse.! N. L2 R1 h7 \6 E) R& j
The link does not include a token ID.3 O5 C3 n/ k& t
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled., x) I' K3 e6 G- P1 V
The affiliate is not joined to the merchant MID included in the link.8 t* S/ o5 f. Q5 Y4 D$ G- ]1 e0 r
The merchant MID included in the link is invalid.
5 m2 p E* s5 r( P$ V" _$ LThe link does not include a merchant MID./ {# A# X% W8 f
The merchant does not have LinkGenerator enabled for affiliates.6 G$ C& i- r3 @& d& k
The link does not include a merchant URL.
7 z* i8 [8 U/ |$ }. BThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
$ u' A7 Y# ]8 }: W9 J& tOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
9 K/ s& {) J' ]& ]) p N% m% gThe format for a text link will be:+ v5 K& \4 y, ~
<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" >4 t0 q! V! F8 |( D8 y
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].7 C% y$ @1 n. K. u! v( a0 c H
Provide link text for the user in place of [LINK_TEXT].6 K& }. ^1 N. ]$ P$ H0 s7 q
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].5 M( `" S p7 G" M- ~
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].
+ U# L! _- Q( q! ]' u0 Y- p& ]The format for a banner link will be:- ~- D$ j( W! `5 P4 y+ j2 {$ 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" >1 M$ K! n4 I3 C4 l2 U
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].8 P9 c: L; r! |( u2 x" W
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
; ~8 O. D! y9 f' yThe [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].+ }; A; R4 B) p( o" D
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]. |
|