|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
6 w$ r! y5 G# }3 C/ z% ~
5 d7 l& a# t' P5 E' V7 N5 L/ v) HThe 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.; w0 S* @ T# n5 R0 j
! D) L) X6 c/ k) T9 @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 B/ I4 n! P) I9 f0 b: P- Z+ t" t5 h0 J& c5 U+ J1 E
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" x s( m% X) ~, h* B
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
5 @) S* O* N+ ^. o, K7 xThe token ID can be found in the affiliate interface on the RSS Resource Page.
/ f4 X. b7 t3 g* k2 c2 zThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.9 i5 x1 o9 a6 B4 ^: J4 R- Z z
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.$ ~# a2 `7 r) g# O) u
A URL with these fields populated might look like:2 t- J) O' y- E/ a% J$ n& y7 _
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
6 P* k1 `0 z# B' U6 e0 M3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
L- {' Z8 O) d/ X& J9 B
3 |1 [9 m2 Y( _LinkShare will return a click link in the form:" S+ h q+ P7 T: D: C. K1 l
http://click.linksynergy.com/fs- ... pe=10&tmpid=939& E2 U. w3 s1 _: P" D2 n$ W4 R( d% R. r
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
8 e. k7 Q. w+ }# j%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D09 F* W9 ]" h- c
%2526page%3D1%2526matches%3D24%2526qsort; B( f2 o% N2 U1 E1 g% \% B
6 L5 P+ w6 l4 w$ p+ O9 B+ T
The system will give errors for the following situations:
% O: }+ m. I+ P6 U9 [3 t+ K Y# ZThe link is provided in an invalid format that LinkShare cannot parse.
% O& F2 v7 R7 Z& P: B QThe link does not include a token ID.
) F( m/ K5 f+ n4 t d, e: }$ UThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
: d) d, t& p! x! Y: X% W/ lThe affiliate is not joined to the merchant MID included in the link.
6 ^0 h$ t9 U1 @0 d) TThe merchant MID included in the link is invalid.! R' n( f9 i5 z2 a7 v8 j+ J: o8 h9 F4 o7 z
The link does not include a merchant MID.- [. x" C1 Z( }, T) o
The merchant does not have LinkGenerator enabled for affiliates.
4 k3 g3 n, _" W& p* |& a6 Y- cThe link does not include a merchant URL.- f8 W& F! l$ ]1 I
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
& Y F, _( m0 W- ]/ [. `" xOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.; L& i/ n; ^" x1 [" Z7 e
The format for a text link will be:* \! @; E' [$ |8 v L+ o
<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" >
; @ \6 l0 ?! u, C! f4 APaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- ~; {& h+ I* FProvide link text for the user in place of [LINK_TEXT].
/ k4 z( ]; T3 B9 _: I8 ]* HThe [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].% l1 b; ]$ l( Q1 ^
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].; K c: e. n5 t$ H6 K1 r% M; k
The format for a banner link will be:+ T, A- ~9 g' `! { A, U) 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" >
) J4 F; b4 M0 J2 fPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].. {8 _4 i9 [- l, k$ u
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
; p/ [* h+ m' O- 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].3 q$ w0 r* n- a( _9 V6 u
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]. |
|