|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
& Y' X& ~5 k+ q( ?. U* q3 c
2 n" h1 a* g4 |$ w; KThe 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.
* s! f6 e; D: B6 T. y# A) O# S4 D
* X0 ]- M! i5 ?; }- ^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.
+ r; H/ c3 w1 J. s \0 ?7 m& J# u( L/ e2 @
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):* x: m- G3 S0 K
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>) Y) x! r5 w% _6 z( w+ F, Z* p
The token ID can be found in the affiliate interface on the RSS Resource Page.1 k/ @$ B1 l, O
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.8 k* S# C' o( z3 _4 O
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.8 w5 |4 D5 J' S1 t* w/ v
A URL with these fields populated might look like:
6 t% D& ~! x0 `4 Nhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
5 W( b+ K7 b! o- N3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes6 e* ?" y$ \2 x7 \! h* L8 `! p
) q# c4 W7 b3 }7 l
LinkShare will return a click link in the form:$ ^1 K* l/ B& M+ m' e5 w6 D: ?
http://click.linksynergy.com/fs- ... pe=10&tmpid=9399 L7 ~# x# t- O
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
: r2 p0 }+ K2 z" n l% g%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
1 s5 o% v) y& W" q0 M%2526page%3D1%2526matches%3D24%2526qsort
6 H& S# n. _" H9 W8 a- W( v8 g! b3 \$ _
The system will give errors for the following situations:$ G. D7 J$ G9 Y x) t, r& w
The link is provided in an invalid format that LinkShare cannot parse./ B# ?; F, P4 _6 f
The link does not include a token ID.; s# E; y! r. \% F# N, V, A
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.. B3 t, J* B* P6 c( u7 G
The affiliate is not joined to the merchant MID included in the link.5 ^8 F8 q; z- E, A n( n8 L
The merchant MID included in the link is invalid.
4 M/ z7 q& F6 C0 L9 s1 R* `0 nThe link does not include a merchant MID.. z, {: p2 B) S8 ?, B
The merchant does not have LinkGenerator enabled for affiliates.
! a6 Q+ Q8 p7 ^: _The link does not include a merchant URL." y/ S6 O) E& F+ V
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.9 O( _, Z& y' ~) e& [3 w
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.$ h' \5 a2 Y: y
The format for a text link will be:
! k5 p0 R+ ?$ C<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" >
# Q' |8 f3 C* r1 ~5 kPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]., I9 z: F/ Q6 n$ \
Provide link text for the user in place of [LINK_TEXT].
8 d' K1 }5 h: p. pThe [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].* U! ^- w) Z' U3 e% p9 G
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].! e7 ]$ m M! R4 a) F( A
The format for a banner link will be:
! r( m d. k9 ~, Z0 e<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" >
' E2 i& e1 t! H' n" Q" DPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]." z3 S- c! }2 T6 i
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
! Z: {" n: _$ k5 |& 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].
. Y3 v! S% s1 B) LThe [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]. |
|