|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator3 Q Y* H; @" s' M
' M, [$ _# ]+ I; b: @. S/ J
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.
! u! j8 h5 W ?9 K6 ^/ m* o0 H* L) z1 k" W0 |3 S- 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.7 z5 s* z; X6 u" f9 h- g- ?: O
. R9 x; T; Z% B/ v- w9 ?2 x; ^
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):# s$ @$ B) J. i
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>; ~0 h" u+ p: ~) [# |2 R
The token ID can be found in the affiliate interface on the RSS Resource Page.2 d+ P9 C' W+ w+ `
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
6 ?0 H, c8 o5 f5 G9 jThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
; g# R. H; t! Y3 j! FA URL with these fields populated might look like:
) l8 ]9 C) |" s, T$ p$ qhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
' f2 X7 U9 M2 G! o3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
& e1 ~/ h4 X! W( e1 I7 k9 \( n' L4 | U& b
LinkShare will return a click link in the form:! m% S$ M$ k! P4 |3 z7 y- y _$ I
http://click.linksynergy.com/fs- ... pe=10&tmpid=939* A/ k' j. w( ~0 s8 x
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
" j/ v* c; G+ P4 O; D; u%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0+ ?" j' e, `( ~" y: l9 @0 F
%2526page%3D1%2526matches%3D24%2526qsort( m0 j6 j0 |7 R0 u% u/ A
% X9 _1 x1 l# j% k. rThe system will give errors for the following situations:
6 A# E4 A% Q8 s6 ~3 `, IThe link is provided in an invalid format that LinkShare cannot parse.
1 d+ b, O! P% V; A% O. U3 Z+ f( aThe link does not include a token ID.( }: g% t6 I: j. p
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.* w9 e# b$ Q& ^* F4 l
The affiliate is not joined to the merchant MID included in the link.4 _4 w3 Y& c0 J7 e" }: d+ j
The merchant MID included in the link is invalid.3 {6 ^$ ^+ x" w) Y; ^( S. B
The link does not include a merchant MID.
6 V0 G2 w6 p' Z% `+ S9 l. vThe merchant does not have LinkGenerator enabled for affiliates.
2 A/ g9 ^* P7 T* W- YThe link does not include a merchant URL.
" a9 c3 e8 [; BThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.$ B" v. M; X* {
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
' a6 \$ [# X' b' @The format for a text link will be:
# D" h( N6 T2 C* D# r O5 w<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" >
# }1 k( I6 A2 s9 `* Z5 O5 qPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].7 Z( d" J9 A/ `
Provide link text for the user in place of [LINK_TEXT].; N4 |& W, Z! H3 J" k% A- C Y! |
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].
4 y3 q, _8 c" A' L7 @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].1 e+ l* _3 O6 [1 n5 }
The format for a banner link will be:) t1 v- N2 h" }% ~- c6 G
<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 w& J6 G5 R5 i9 c9 mPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].6 y% q4 _6 z. I7 }6 S
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].: g' Y& G2 k1 u1 l6 ~+ }
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 q% o% \# g5 W% S7 b" W
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]. |
|