|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
' A; v$ r7 Q2 O+ G8 l+ D' F8 r. |5 p3 A$ y( T$ W
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.& F# J! k( ^7 S3 I& _" k) z7 J
% \4 a" t0 i6 G4 p8 @
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. ]$ i- @4 |$ R1 |( k& V
* F1 g" |' k$ l: j
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
# [4 ~6 i5 n( [http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
& U7 x- ], m4 Q2 IThe token ID can be found in the affiliate interface on the RSS Resource Page.7 |, I: c9 s1 d- a+ q+ t
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.; N5 s$ J) ]/ L8 ?7 A7 M
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.9 H2 Q" t% t2 ?
A URL with these fields populated might look like:$ d. [6 `$ [8 X. i4 D/ R
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a3 `2 m* W% O) L
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
$ f9 ~, Q( Q7 k) t: m, U' G% @; {" x! h- z; }
LinkShare will return a click link in the form:
! ~ R1 R" V5 P: U( @) }http://click.linksynergy.com/fs- ... pe=10&tmpid=939# f, ~2 m$ x; W
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
+ a" {8 l7 @0 h/ A1 f4 _- \; b%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
; b' N- N* W7 V4 |# P7 g%2526page%3D1%2526matches%3D24%2526qsort
8 z/ N1 a* [% {5 |: K' \
/ n: @3 Y- Y$ X0 t8 aThe system will give errors for the following situations:
: Y# Z: R# ]7 _( l3 \" a. w D% uThe link is provided in an invalid format that LinkShare cannot parse.
% l, } M4 T1 x8 h, }8 Q2 G+ t- B& UThe link does not include a token ID.
5 o L/ N+ o5 d$ m+ L' L+ Q7 iThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.8 p' Y" l5 _7 p) S5 r, E
The affiliate is not joined to the merchant MID included in the link.$ V C9 G' s6 N8 h1 c
The merchant MID included in the link is invalid.5 h# x3 C u* {9 _. a- T
The link does not include a merchant MID.% @' N( t Q1 q3 K6 z0 R5 O
The merchant does not have LinkGenerator enabled for affiliates.
0 H8 w8 U) L! ZThe link does not include a merchant URL.
* Z+ h9 e( S/ i+ Q- oThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
+ s& @& T4 O1 G8 Q% T5 r" _( BOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.7 M8 A1 Q) i0 b- K0 \6 N9 ?
The format for a text link will be:" ]8 k# j5 e3 F( K& e/ z% l. Q
<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" >! f" o$ A) ^+ {& s* q3 S) Y
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].8 a" E/ l. r5 h& D9 ^0 l
Provide link text for the user in place of [LINK_TEXT].' z* f7 x' Q' j
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].
/ |* T1 T1 `( L+ o& M7 ?1 J7 ~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].# q* G( g- a6 |
The format for a banner link will be:
2 w% P- e- n. ~' n5 s6 X<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" >
& H5 t1 g/ ~4 W" l( a1 xPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
/ [- V& K! p' j: t( aPaste the URL of the image on the merchant's site in place of [IMAGE_URL].- ~& o+ e- h5 k6 G' Q0 h
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 `. W y3 x0 S5 P1 A
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]. |
|