|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator$ j) @8 a7 { D
! K: w* @! Q# s0 x+ q3 C1 c$ Q8 u
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.
" v/ L% r b3 z4 o$ O i7 z5 o4 q! e# Z. M# w
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.
, J4 h8 j1 h! f P0 U( |
1 I& q: _, s, Q" S6 j( VURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
$ p, M8 {" b/ Fhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
; X9 Q7 a3 M8 F) v* B9 t1 S2 fThe token ID can be found in the affiliate interface on the RSS Resource Page.5 n, L v3 T2 I/ b7 U& V5 ^, b+ e# B
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.8 |7 P7 j/ J# n0 z/ c1 E; r1 a
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" e+ _" v; n- @ |$ n! FA URL with these fields populated might look like:; ^' y4 Q+ a1 v' n6 A
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
3 G' P/ s! Y, B+ H6 `3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes" l' z- g0 N. K5 H
. k( [( p. C( N7 D- g) p6 m" W4 ]
LinkShare will return a click link in the form:
+ h$ t( L7 n% ]. Uhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
8 v( I1 {' s4 b7 ~# V7 W&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth# [, s4 Y* g( c& z2 @
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
, T2 r# z* U8 ]9 J. Q0 m%2526page%3D1%2526matches%3D24%2526qsort
, E, x" n3 i! c- I1 C
2 }1 y: ~( E# i( }The system will give errors for the following situations:2 U. S1 T5 X- o
The link is provided in an invalid format that LinkShare cannot parse.
) g! @% t0 U6 B6 z1 T: tThe link does not include a token ID.8 ?5 X% M: U8 `" n( [2 [; ^2 B
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.7 f: C, M) c1 ]& `5 L3 \( g" ^
The affiliate is not joined to the merchant MID included in the link." \$ k' ]1 H( Q& x
The merchant MID included in the link is invalid.
+ O) J; b- f7 U5 r. Y2 T- ?& V7 PThe link does not include a merchant MID.
3 P+ [& P+ \2 EThe merchant does not have LinkGenerator enabled for affiliates. u- v6 F9 ^$ B9 `5 Z! K
The link does not include a merchant URL.
# u" g2 U( k) c* @The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool. r! h; k9 v! t w2 H7 G
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
( F0 a( l! r6 {2 fThe format for a text link will be:1 b0 F8 Z2 L2 A% F3 j
<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" >- b3 ~# z$ u+ l/ A8 e4 ]
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# g( ?4 E2 D" B$ {* v( ]/ G
Provide link text for the user in place of [LINK_TEXT].
' v5 @$ h" h U& R" t; A8 m( ?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].. |' [* k' a, W5 p
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].8 s& M4 L* A3 z0 L2 W$ j" Q
The format for a banner link will be:# s; O- `0 w* ?0 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" >5 B. `' o3 Z1 F( ~
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].0 ?+ |( l: C0 C
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
# F% l" T" [% x+ W2 P3 y6 s1 KThe [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].3 G" V6 d+ ?# b8 O1 c
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]. |
|