|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
5 n* o* ?. t/ h8 O
/ p8 U1 W7 L; w" rThe 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.. b' z* \) ?# a4 q! V S; D
5 S' P8 k: f% i9 H- ^! g m* e
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.
/ S' d" f9 H( H2 f6 a4 @3 \ ~. V3 }$ H& S3 n/ v( N8 N
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" M9 m2 f6 S: }0 m1 k: }9 ~
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>: b$ R. }9 z4 T' j! a6 B
The token ID can be found in the affiliate interface on the RSS Resource Page.* W1 ^- [! F% \" w8 P9 U
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
" @ k8 q+ B8 ^$ l+ S; j; iThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
1 Z x2 l& o2 ?5 Y' VA URL with these fields populated might look like:8 f, i3 q; _7 U$ U
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
, o3 G8 X5 D; ~3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes" y, y5 S4 y9 b
( T. F+ {4 M6 O" ^( I7 [LinkShare will return a click link in the form:% U1 S( Y; \+ K8 b0 g
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
; Z3 A. u; b. W( P$ h: W) u&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
$ f' g' W, R a) l' C, B%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D02 S' e( z3 q+ i7 Q T9 X
%2526page%3D1%2526matches%3D24%2526qsort
8 N8 P9 Z5 `' k: P$ i% |6 n; w+ d8 K4 J p
The system will give errors for the following situations:: ]; [% J3 X" t6 k6 [+ Y: S
The link is provided in an invalid format that LinkShare cannot parse.( ~/ ^0 f- ~& |+ ?* ^& V
The link does not include a token ID.
8 V$ x, t- E6 nThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
5 {; F9 _, T1 [: uThe affiliate is not joined to the merchant MID included in the link.: i' u x9 M; e) E4 y- z
The merchant MID included in the link is invalid.
7 P; n. g. K( F/ CThe link does not include a merchant MID.' t( v/ G1 {+ B ?
The merchant does not have LinkGenerator enabled for affiliates.
+ L, w5 }% o9 h: ]. k" vThe link does not include a merchant URL.* F2 s8 O" k" }. P. F
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
; C( r3 i! e# X: u9 _Once LinkShare has returned a click link, it can easily be placed on your affiliate site.* ^0 Y8 N( o7 ?, [ q# E, O
The format for a text link will be:
! q6 W5 L, P5 m, L/ J: T; I<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 q* b1 m( A( o6 u- | |( A7 D, H, h
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
% F6 P. f: c* A. UProvide link text for the user in place of [LINK_TEXT].
9 \4 _' }$ Z7 [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].1 v c0 O7 C# V& W" h
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% k/ G# h+ F5 V. B' q% K
The format for a banner link will be:+ X3 k( w; \" k! V+ _
<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" >
: t+ {! a. Q5 R6 A* _Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]." C- b# C3 B1 X" a3 U$ A
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].8 A9 y2 N" I( a @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].
! w0 L1 h# D. ZThe [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]. |
|