|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
6 @. A$ s1 R! F9 z% k( l8 c8 T6 U9 p# Q7 |# J+ G
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.5 Q0 m/ q: ?& u5 G4 m5 A
0 j5 j9 l1 A& n
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.
& L* Z8 Y# }: e2 _% @
' l, M/ W( }2 R! KURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
. }# K- M+ x) v* l+ Uhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
4 N. ^8 Y- o! K7 F; kThe token ID can be found in the affiliate interface on the RSS Resource Page.
4 Y5 B, G! a9 L5 _) T3 } kThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.- b. C/ ?9 s g/ ?/ O
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
5 ~8 y J- |: _. ZA URL with these fields populated might look like: O5 O7 i* y) u& \# K
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
9 u9 s, D2 I) c! e3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
. P$ X' q- l+ U/ ^
- Z# \: `' K( F: E0 QLinkShare will return a click link in the form:
- j1 t7 `% ^( I E# u8 nhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939$ U' ~4 n0 \7 U# h3 J
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth% G5 ]3 e/ d p d) P
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D02 S& V/ a5 d- f
%2526page%3D1%2526matches%3D24%2526qsort
V) C' _$ F) Z; P; R0 D' [- ?# j+ m0 t6 G( \+ u7 F
The system will give errors for the following situations:
A3 x! }$ A8 w, pThe link is provided in an invalid format that LinkShare cannot parse.
! B9 r8 M8 t: k8 e5 A4 _The link does not include a token ID.
; M' A* d. f3 k- c1 N& tThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled." N* q" M4 M! A/ p
The affiliate is not joined to the merchant MID included in the link.) F9 X3 A1 ^; d& h2 {
The merchant MID included in the link is invalid.0 Q7 k/ u5 j/ t- e8 i( }
The link does not include a merchant MID./ C) P; C: f9 |: I* V2 ]8 O2 ^$ g2 W
The merchant does not have LinkGenerator enabled for affiliates.8 ^% A: V! o& d
The link does not include a merchant URL.) V* V4 ], g. b! U* M) a# B
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
0 R+ O. @4 w& d% C9 }5 R& U* WOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.* a* l" H$ O6 v+ H/ f
The format for a text link will be:" `. H+ I. K( Y& T( k; d! N) t
<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" >2 I3 \, S+ k1 j* n# W& s1 |
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
* t6 B7 S' T# s" C# \" vProvide link text for the user in place of [LINK_TEXT].
T1 d2 E7 d7 Z: A2 nThe [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]./ f, z# K0 o$ w; s( y1 ~) ]* ]% 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]., g( I1 m! v, l5 n6 u8 O
The format for a banner link will be:
9 A0 Q- B& y, i1 n) v& @. h+ _<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 `+ A! M) J& a/ b
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].% {- v+ \* ^% [9 m0 P
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].8 s0 d$ g* c7 d) {3 d; a! `$ P
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].2 s2 F( \* P1 V. \7 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]. |
|