|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator- i0 \, ?. S2 S& y5 [* j, D/ }
# C6 M7 v8 w* F4 \- k
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.
4 d& _7 [; x, `* ~6 m! j
3 T" }; t: [& O9 b+ c% N% NTo 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.& g7 n7 P/ g9 d ?$ E
5 g' S4 x1 ^- z& c0 v9 S) w! m, eURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):* s7 d, u( f$ i' ?+ g
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>! ~/ d) [7 U9 G
The token ID can be found in the affiliate interface on the RSS Resource Page.( M1 W. ^7 r' O- s9 V
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
- }5 q$ M- }/ Q( ^0 G6 mThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.( r% w7 J- _) P6 T' f
A URL with these fields populated might look like:& R! w0 w- S9 Y j+ n5 j! C- ~# \
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a# S C9 A1 T9 D7 x2 u4 O4 i
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
% Z' p3 Z- I* n& d, z0 a* g5 b8 u( {* z. _& |
LinkShare will return a click link in the form:
- u0 v4 [0 k$ Y/ Ohttp://click.linksynergy.com/fs- ... pe=10&tmpid=939* ~2 _' f" |3 w& n
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth4 M8 R, p: @7 A4 y5 Q4 j e$ }' Z
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
/ Q+ ]0 I$ G& l7 R! g e%2526page%3D1%2526matches%3D24%2526qsort5 z$ s5 t, y3 l- J) y) [# D# [
% x9 U5 W; i8 h2 i1 P9 ^The system will give errors for the following situations:
# P% T7 V5 L/ c3 L- p2 U3 u0 R" VThe link is provided in an invalid format that LinkShare cannot parse.+ n; {+ @$ |) N( O6 D4 w
The link does not include a token ID.
6 G+ G3 X! f$ p M& vThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.3 r1 Y- s" b9 E$ V' w8 r) Z- ?3 F
The affiliate is not joined to the merchant MID included in the link.: _( f% r7 |6 B# u* C
The merchant MID included in the link is invalid.1 v) D4 c8 c7 o0 n4 F" e
The link does not include a merchant MID.
5 ~- Y* d* Q0 x# j* E7 m9 p, vThe merchant does not have LinkGenerator enabled for affiliates.# {$ k9 R% v' [* v( n
The link does not include a merchant URL.
0 h! q: `: L' Y$ dThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.* P& _' ]5 ?( ~' S- T
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
- M6 e }1 }4 N2 u6 HThe format for a text link will be:) A) T+ F2 g' _ i: e3 f
<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" >
; O8 X* N: U& B+ lPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]./ a% c. `$ M2 E2 v3 X2 A8 t5 @
Provide link text for the user in place of [LINK_TEXT]., Y9 w V5 j. U- x5 i' M2 w
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]." R8 M/ D# l) K6 w m+ K8 t
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].; J2 z. [- L' p( ^6 m; j1 k
The format for a banner link will be:, ?2 ^. b b4 S+ 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" >
7 V @9 D, V" d9 MPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]./ n9 {8 ?3 b" `
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
. d$ z* t; B6 oThe [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].
y! H4 b" Y5 u6 HThe [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]. |
|