|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator& \! x* l4 t- }) A
4 s0 u* e9 m' F. y8 K4 nThe 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.
# v+ p! M n# k/ a; s4 J
8 o* z% o G) C* N" r4 ATo 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.: j6 p8 @, Y% w7 S0 k; e
/ P2 g7 n6 r* r: s B$ vURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):. r" y. f$ n0 e: s5 R
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>; q' p/ J3 R' s- e+ V! ]' s
The token ID can be found in the affiliate interface on the RSS Resource Page.
4 M- Y- S* _- [, c' N5 eThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.+ i/ n, {$ n/ J& s' I5 K8 q8 `
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" [. H8 A P* @( CA URL with these fields populated might look like:. y k# O# [% [9 U+ y I
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
( t4 U" X' M5 r/ `3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes. H+ |' _( W* u
" A: K& G+ x# A' f7 \
LinkShare will return a click link in the form:+ ?/ ~: g5 Q3 D7 f! Y# D, I
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
$ |$ ~' s1 y# |; y' A7 k( ]5 H, Y9 W&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth9 ?+ z. G8 H9 }" m [
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0' Y7 N- k* `" [7 q2 m$ ^! T$ c' u
%2526page%3D1%2526matches%3D24%2526qsort+ \( @) ] z; f& x* x6 v7 w) N6 w
$ t4 N/ z) g+ L2 K: N$ S% }
The system will give errors for the following situations:
% v9 C# l w! P6 S o/ \. K# W/ y% OThe link is provided in an invalid format that LinkShare cannot parse.
0 {0 C3 g0 g; M xThe link does not include a token ID.
; }$ Y! O' y! j- N2 F4 Z2 RThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
* z0 f& K5 n0 e/ l8 oThe affiliate is not joined to the merchant MID included in the link.
6 {$ I, T# Z" L% X t DThe merchant MID included in the link is invalid.; J& `3 }2 g/ \* {$ T
The link does not include a merchant MID.- u6 d6 [- ^- v. H( W
The merchant does not have LinkGenerator enabled for affiliates.
+ x" A9 I; m# ]& HThe link does not include a merchant URL.
% @& j6 G7 A* F, g: fThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.0 H* D' \3 M, M4 q4 v/ n. d8 a
Once LinkShare has returned a click link, it can easily be placed on your affiliate site., J& s4 E7 d- H+ q# A) d* O u9 m8 |1 V
The format for a text link will be:$ N. C- [$ |) ] ^8 q4 w! |& c6 X
<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 Z" y" w. ?: D
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
1 \6 s z% v3 [4 rProvide link text for the user in place of [LINK_TEXT].
1 v5 C! Q" }. Q1 D5 xThe [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 g( Z1 { l0 p$ F' f* nThe [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].
G4 E* Z' o7 j8 P L, ~; eThe format for a banner link will be:
; T& S( W* ^/ h5 T, {<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" >
9 @; _! m6 | f% Q. `1 x( XPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
2 X& H' F4 W! R4 MPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
* {! V/ A0 [( ^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].) x6 f* o3 z5 q3 z6 }: l6 n
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]. |
|