|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator5 N/ ?/ F1 Y; P, F
+ E. N I3 T- E B* E& M* @% B
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.' E4 U* c0 Y/ W6 J Q$ i
5 K; j% h% C2 u7 l- K7 x
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.% J: ^* y S# [' G! Z$ Y+ w
z7 D2 s$ E! V* s: \
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
& n6 M( E5 | e) k' f- \ Ehttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>. K3 F( L8 c5 w J
The token ID can be found in the affiliate interface on the RSS Resource Page.
$ |2 _* _# y* B( G) o( rThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.% I* z# Z6 T' i
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
^! {, G k8 m: [7 Q, TA URL with these fields populated might look like:
7 I6 [- I$ @: Nhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
3 a: g6 V6 m0 t1 Q# l: ~/ F# I3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes6 g% `' M) b" w) b
' J, ~& x* M9 K' t9 D
LinkShare will return a click link in the form:
' C4 G0 l8 t, ^& [" Q5 Z; nhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939# r5 r+ q! E+ F: ?& ?- |
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
: q) |2 d5 N8 K. s6 w%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
! d. w$ G3 k9 v3 ?) I' }' {%2526page%3D1%2526matches%3D24%2526qsort u/ \) o8 }9 r9 ^/ L1 c+ N/ {
) B* b1 f6 l/ O5 v+ J
The system will give errors for the following situations:
+ Z4 O9 q) T& _2 L+ l" t9 xThe link is provided in an invalid format that LinkShare cannot parse.
$ _1 b$ H* t3 e' F; E) I; m1 G' C+ N* LThe link does not include a token ID.( a* @7 o7 _6 o, H" y% t: K
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.& N8 J- {$ {2 r
The affiliate is not joined to the merchant MID included in the link.
/ \. b6 g! o& l- H9 |: QThe merchant MID included in the link is invalid.
% i8 |/ c& A9 s4 tThe link does not include a merchant MID.& \) ^% c; ^: w1 f5 |
The merchant does not have LinkGenerator enabled for affiliates./ U$ o# N4 {' p( O; w) G
The link does not include a merchant URL.& M( C1 y9 K# R t; T3 K6 s2 v
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
" C, W. ~. E; n7 ]Once LinkShare has returned a click link, it can easily be placed on your affiliate site.- S" K+ a) Z' l# R2 M
The format for a text link will be:9 R- h0 k7 V7 D( c) 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" >
: F/ [7 c9 Y4 {& D. v4 n3 L0 _ WPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].3 \9 C5 k1 l+ i. U7 Y6 }# k1 ?
Provide link text for the user in place of [LINK_TEXT].6 U1 |/ Z4 K, G2 Z+ v4 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]." E5 O/ ^. K" D N: q
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].& f5 Y/ y) ?. x: I3 ]
The format for a banner link will be:
2 X8 a" A8 \- s4 |6 e* 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 }4 H9 \6 m& f" |# Y" QPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].* k+ y" }& ?& Z' V1 K
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].$ K# C' G) i6 P( T
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].6 l, S- e! Q; B3 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]. |
|