|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator) J9 ~5 f% o1 I( V% u8 F
1 `* d6 ~3 O3 x5 {8 Y* O5 @1 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.* y6 ~: S, N: k7 M8 F! I+ i
, B) G! i6 _8 Y/ gTo 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.9 v2 L7 J) C1 E& [
* D* V B$ s1 _. kURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):0 g0 v: c+ U# l* z% N6 U1 ~
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
# T; b' W; T8 O3 VThe token ID can be found in the affiliate interface on the RSS Resource Page.
; |9 f; w8 s% {0 m0 T7 R. i* j( Q; pThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.7 d2 m |1 D/ h
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.) U/ ?! s/ b! Y! x3 G! S/ A# w
A URL with these fields populated might look like:1 T% t, M& N2 Y" H, ~) T7 N
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
& t4 _2 g2 E+ J' |; a# V3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes7 a$ F8 `; V8 @4 D
% W2 F6 ~2 q! N4 H" m g! e
LinkShare will return a click link in the form:' x3 w, f/ ?2 ?2 v, C
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
. g! d9 e* ^. B5 [! |0 n&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth- W$ `: `$ J, M5 z! D; ~4 R
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0( o& q: E- ^: N5 W& C/ |( h
%2526page%3D1%2526matches%3D24%2526qsort4 g: v) ]2 M$ \
1 p' f8 y' T6 ?
The system will give errors for the following situations:- W" H9 A m7 J, q F( {& R
The link is provided in an invalid format that LinkShare cannot parse.
" \9 h* I6 ?( M% v, r- rThe link does not include a token ID.
- K/ P4 t' Q6 x6 f0 Y' @The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
/ R q" C' c$ l& {The affiliate is not joined to the merchant MID included in the link.
5 n( h" ~* O7 q6 a! e4 wThe merchant MID included in the link is invalid.1 [ I% ]8 e: [& \& x9 x
The link does not include a merchant MID.
. v9 W* t8 d# y: U% G- n0 g1 bThe merchant does not have LinkGenerator enabled for affiliates.2 I% s) }0 u; B3 \- q5 C
The link does not include a merchant URL.
% l0 t/ @1 E' M) \; sThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
4 b! ^1 ^6 h" R" ?. w$ }* IOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.: o3 U6 o; Y3 L
The format for a text link will be:8 A! R+ ]! T: k, t: G$ m
<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" >
0 q. w2 o: o/ L1 V# g+ `Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].. h4 O* W' n3 n* q, x
Provide link text for the user in place of [LINK_TEXT].
9 U8 [5 ^9 }% ~. s* @& o9 rThe [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].; g5 V5 X+ E. D' }* |5 H3 K D
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].
_0 U6 F, m+ q/ t* p l7 v* T6 VThe format for a banner link will be:
9 ]1 P: \- |5 G, B: b% h: X<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" ># {1 V" {3 B6 y: H' E0 p( v0 ?
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# y2 i" F, k. V6 R
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
3 c; e- x$ c0 O% j: [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 i: p/ `& E( }4 j5 h& c) }3 U. QThe [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]. |
|