|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
' C& z4 e$ Z( e: ?4 G" ]& k/ ?5 M, c& w
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.
3 U7 G, R) J. ]6 q7 U1 h( m, R3 K# v) ]5 }7 v
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.0 q; |( s' _- p3 C; a! m8 c% e
& N* Z% n" [) y) b, @! s: k; nURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):6 ~) y% {2 _; f! r
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
2 {2 u z" s; H' R" H& ^1 @The token ID can be found in the affiliate interface on the RSS Resource Page.
+ B, P, ^. z g3 tThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
6 M' M; }0 ?8 X$ x; P8 sThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.3 x6 l" G1 G0 v( O
A URL with these fields populated might look like:3 R5 D% h+ I6 Z( U/ ~7 @( A6 L6 M2 v
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
( K: n' O w8 u2 z E# N3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes6 ]1 D. E& B6 ~& ^
9 l6 t2 Q0 a5 FLinkShare will return a click link in the form:
9 r& O. e0 P% O# uhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
1 _& b9 f3 a* X, c/ k" L&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
6 D" k; `8 j6 o9 P# Z5 J%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
6 O4 q" Y; { W" k%2526page%3D1%2526matches%3D24%2526qsort
6 `6 b, C; u7 M/ t0 F* x! t' M9 q5 V7 s x7 B) H8 c1 n9 @# D
The system will give errors for the following situations:$ z: ^7 K1 A4 S. D9 t9 Z" M- f' ]
The link is provided in an invalid format that LinkShare cannot parse.
% A2 ~. W- }9 @, f; K U% M* [The link does not include a token ID.& b0 g: ?, Y" c5 P- S3 x& C, m
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.2 ~( i' N' ]- @# G" T$ Q
The affiliate is not joined to the merchant MID included in the link.. E6 t1 t0 o: z
The merchant MID included in the link is invalid.
& P3 M1 k7 G8 ]# yThe link does not include a merchant MID.
! a [, f. M9 h8 z2 QThe merchant does not have LinkGenerator enabled for affiliates.5 G3 a. f- F, u" O. E3 y
The link does not include a merchant URL.) ?" h, J$ r$ [8 D+ v4 Z% {
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
5 B1 b" }: M% OOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
m! W9 c( p- t0 v: n" z4 KThe format for a text link will be:
6 |6 ~- m' r! i9 W% q<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" >9 n) {" H2 H' w2 I9 o( ]- v
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
6 u$ E* r: b- P7 HProvide link text for the user in place of [LINK_TEXT].. d, Z2 i$ J/ 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].) p: W" R) s, N
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].
2 C- W8 `4 G/ F/ u/ P- i( Y" G9 U/ }The format for a banner link will be:" e$ F$ a8 c3 O7 k
<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" >
0 u1 m; x/ {6 f& n! @Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].1 H% u0 H+ U' U$ n. o
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].0 _1 w. g3 l% P$ h
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 |, H" \ q$ h- L2 Z: G" f, |
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]. |
|