|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator) s* q7 L2 V# h( S# ^) Q2 d
! J2 Q7 M; s9 g1 @. e1 `/ {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.
, L+ Y2 W5 F* [4 V$ [1 Y5 m
0 K+ L& L5 O6 `! hTo 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.
% ~/ q! j1 V( P- r6 Y, l7 r+ U
6 N4 v/ d+ c* n$ t [% T7 rURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
: o i4 q, o! ^) f1 Khttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
$ X* H8 r5 a3 f ?: o, K1 SThe token ID can be found in the affiliate interface on the RSS Resource Page.) C, ?6 C1 x8 g) B
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
$ {' M Y* p* P# V( }The URL is the landing page on the merchant's site. Special characters do not need to be encoded.. w" R/ [) v6 d( C# n
A URL with these fields populated might look like:
+ V9 D/ s6 e8 g- Uhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
: d8 b% }9 Z R! o! b( @ T3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
! \# ?. e/ M! X+ j2 j. `
7 l: E) x6 ]% d. CLinkShare will return a click link in the form:
. w9 ]# T, x+ h! h0 _. yhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
) C/ A0 t; @% n&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
c' G" }$ n1 o' I' P+ [0 C%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0. K: r( `1 H# b4 s( A4 f. D
%2526page%3D1%2526matches%3D24%2526qsort; {: g- j4 {+ ]
9 g$ P' Z1 U* z" ]The system will give errors for the following situations:
7 q& @9 C8 e, q6 S% G5 P0 uThe link is provided in an invalid format that LinkShare cannot parse.
) D5 }) J. n5 cThe link does not include a token ID. X) O! D1 h1 L. v" q' p" I
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.: H' [: l2 E! D; k1 M; m
The affiliate is not joined to the merchant MID included in the link.' W, R* A) s6 d D6 B0 O3 N
The merchant MID included in the link is invalid.
" Q$ q0 N. k" OThe link does not include a merchant MID.
! e" R, h: P! j' i/ o: H! G P5 CThe merchant does not have LinkGenerator enabled for affiliates.
, K# i8 }7 z! y: z: N1 X# A, gThe link does not include a merchant URL.0 Q. h1 w5 {- D4 }% m7 g
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.4 k* v: G2 c5 i, M* N) ~9 j
Once LinkShare has returned a click link, it can easily be placed on your affiliate site., v2 ]; @) F: G
The format for a text link will be:- a3 M5 j$ ?+ G( y+ t% w9 u- Y
<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" >
8 F! k0 S7 C9 M6 u7 [! \3 E" YPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- \) P9 r/ u) K0 D7 MProvide link text for the user in place of [LINK_TEXT].( y; s; @4 s9 ^- ?2 u p. }
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 i0 e7 L/ M( r2 x) d# a- {; @8 bThe [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].
' Z0 T% Y' `8 _ r" K1 LThe format for a banner link will be:# {4 D) I" ]) z
<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" >, m$ M; z4 c- D. T; Q# z& W& c' n
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
1 W0 @$ Y9 t+ Y* u! h, bPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
( ?3 V. R1 m* dThe [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].
. E3 V# m1 z! t7 K* KThe [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]. |
|