|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator# x" j7 x v$ f% c# b
& G, G$ |: ~7 R+ h0 q2 w! o8 c
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.
8 I# E4 U, A3 F3 m
( x, ^' \# u* n( pTo 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.
Z* G! \, `8 K* [, `5 E3 j4 D1 t0 T! O( f+ z
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" X- C% o+ b5 C
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
( k& }! L% d- n( MThe token ID can be found in the affiliate interface on the RSS Resource Page.
% }9 S/ w! k. a# P: m5 `2 A" s* cThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.2 c. b. q! \. b! K/ d, s, Q& k
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.- S W ], @: E0 ?. E3 ?! b& q# H+ \
A URL with these fields populated might look like:
3 g4 S, H! g" q; ghttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
1 J4 _) N9 q! e# Y3 K* ^, k3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes* z, T* b4 n1 N$ p+ Z6 u
5 e) J+ l- u8 J# t, p9 q. ZLinkShare will return a click link in the form:* f0 W6 l% ^, u+ _5 X- z
http://click.linksynergy.com/fs- ... pe=10&tmpid=939. K" `9 u P2 v! ?9 {
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
! f9 G h2 w/ g& M; N& }%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D02 v( x, O4 X/ \( G$ [
%2526page%3D1%2526matches%3D24%2526qsort
$ \/ s; p n2 S! l' R9 M' o! C. O3 m7 ~) I1 O( K% I
The system will give errors for the following situations:" B/ O" K1 `' L/ N
The link is provided in an invalid format that LinkShare cannot parse.
1 O, t T( i) C- P; ^The link does not include a token ID.
- o$ x/ e7 b" G) e+ yThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
9 S9 P# e& [( r4 pThe affiliate is not joined to the merchant MID included in the link.3 G/ \- _& Y; D
The merchant MID included in the link is invalid.
+ ] R% z3 s; C: w8 F3 qThe link does not include a merchant MID.* O7 t {! P$ J( \) D3 g- P6 I' K7 K# _
The merchant does not have LinkGenerator enabled for affiliates.0 ]9 ^$ {, A J/ H0 l- Y( n
The link does not include a merchant URL.
" T- H8 C" Y% }$ H* q4 v1 J" dThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
: M9 m, {) n2 k/ cOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
1 c$ } ]6 W7 U. W' Z) R$ }The format for a text link will be:- Q( c# x1 S% u
<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" >2 G4 e5 X; Q7 W. r) w
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# y& u& |2 p% z3 w
Provide link text for the user in place of [LINK_TEXT].
( X6 U! z2 T& ^. h! L 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].
. n6 z$ Y# F$ c. ~6 @9 s5 x4 k0 UThe [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].- }! l( ], d. z8 \0 o- J* J% ^
The format for a banner link will be:
: {1 K% ^6 g( A7 L& D3 }" C<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 m8 ~6 b; r; b* r8 B7 y
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
, [7 t; j9 _% D+ \Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
$ X2 _; c3 }6 Q" M; o ]$ p8 t( n2 aThe [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].
( S( V; A# q+ 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]. |
|