|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
0 B% t+ z2 t0 k; |- [8 n
+ }* f/ h W3 o3 [0 yThe 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.
6 n+ ?. J3 y {/ G3 C6 Q
5 \. x- i# v8 ]* F: |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.7 _0 Z, H- E( W* _) {4 I% K
: g4 ~8 B3 A; s+ ?* B/ c4 u I7 e
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):. [& e' g6 X, ~: h, i' a+ u
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>0 U/ z1 t/ j4 S; @+ ~5 c% n
The token ID can be found in the affiliate interface on the RSS Resource Page.
( ~- z7 R; _, B* v7 LThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
$ ^! p' B4 Y$ b& P" } p1 v$ kThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" x& d3 u( X( J8 D8 B* iA URL with these fields populated might look like:) C7 P- x2 B! |- p- ^. ]
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
, b6 f' Z* N/ y% B# X* l3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes" r. X, r! |( |! B [: w$ M/ X
0 i, L- M% L* pLinkShare will return a click link in the form:) e0 \! |$ v3 k" E* r6 t
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
8 b3 ~* b; I: o) l4 V% K: j F8 Q&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
: ^& U; G# f+ h& @2 R2 c- g( Q%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D08 ?. v6 H @. v' O! q
%2526page%3D1%2526matches%3D24%2526qsort1 n7 T+ W# t6 L' b; K, c! K
s% }& i& t1 w1 W$ V1 f0 PThe system will give errors for the following situations:
. ~: o/ v# {- _" C, D) _* tThe link is provided in an invalid format that LinkShare cannot parse.& E8 a6 v, ~% ]" B3 U
The link does not include a token ID.4 y0 h, v, }0 V8 g
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
9 l! A( b. ]* ~) X4 q# G( H& ?9 HThe affiliate is not joined to the merchant MID included in the link.
# n5 {, e& v: ]6 }: f% U- F0 ZThe merchant MID included in the link is invalid.
) s$ c% W) ?# CThe link does not include a merchant MID.: ] r0 _. e4 ^+ Y
The merchant does not have LinkGenerator enabled for affiliates.
( I$ `. @0 h3 H5 R. LThe link does not include a merchant URL.6 E- K2 i E( Z% \
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.% i0 b! S+ T1 [# @
Once LinkShare has returned a click link, it can easily be placed on your affiliate site. z7 G2 w1 C# }3 }) r4 n
The format for a text link will be:
7 x, E1 d. |7 Z<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" >7 l# N7 t, s4 \; W+ d7 m
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].4 B% r2 B, d7 E* J$ _, E" ^
Provide link text for the user in place of [LINK_TEXT].
7 z& s/ r* W$ C0 l5 J3 zThe [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].
( Q4 d" d L# k& {; E6 Z, 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].
& I; ~# p6 K" ?- ]$ D' hThe format for a banner link will be:
3 A- H2 f; N6 S<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" >
! |6 j; @- r% e i {" VPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
7 u! L m# @0 A/ t# ^0 |& NPaste the URL of the image on the merchant's site in place of [IMAGE_URL].& e1 q! Y" h, _3 ^
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].
, T+ Q3 w; |! v3 Z4 D9 lThe [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]. |
|