|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator* P6 t7 s p l0 [4 q0 M
5 a0 G3 u* G' s$ ]% P
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.1 v- v; _& \% h$ u7 L2 b: @! i
( j8 O* Q3 z, @% t$ |) E1 zTo 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.4 `* K4 a% i7 |! m
$ M/ X; Q# J" f8 D
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):( j4 z& l3 x2 X3 E. W( b0 r
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>$ `! y- G; ~5 q5 n/ l
The token ID can be found in the affiliate interface on the RSS Resource Page.% y* g+ [% m1 f b0 e% \
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
( Y3 N: H) |/ w- p& a8 mThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
, d( a2 u8 D3 ]: VA URL with these fields populated might look like:
2 G: A8 d) L: ~' Chttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
. a+ g, h$ f- Z3 g5 r+ T" G3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes) ^3 B) h e- A4 \9 _
( B1 V) ~. \9 e
LinkShare will return a click link in the form:
' ^! `% n4 J4 |, D4 a4 Nhttp://click.linksynergy.com/fs- ... pe=10&tmpid=9390 G) ^3 g' B) P9 q1 _
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
- P& p1 x- r, D- j, _ u%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0! Q/ U% g/ p: U. f8 Y& Q; r. G& I
%2526page%3D1%2526matches%3D24%2526qsort: K( S. _) {6 r
4 V( N1 T3 \/ l9 P; B2 [
The system will give errors for the following situations:
' ]3 G' L S+ O4 G6 z3 v8 h* vThe link is provided in an invalid format that LinkShare cannot parse.
% q ` W$ i9 NThe link does not include a token ID.
7 d( h7 I7 E3 P1 E9 LThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.0 J) }6 M# K% j3 w; J+ v: Z
The affiliate is not joined to the merchant MID included in the link.! i" I7 {5 z) e. K; g# ^
The merchant MID included in the link is invalid.6 e& b& @8 q9 T; b4 k+ m
The link does not include a merchant MID.
; Q* [1 O2 J' Z2 U% o* MThe merchant does not have LinkGenerator enabled for affiliates.7 T( J8 ]! ?5 ^4 U) K+ a2 O3 I5 ~9 m
The link does not include a merchant URL.
( Z5 r- R5 m" M, v* u0 jThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
; M5 p* |+ b) e5 t0 P6 LOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.% p/ C/ q; z9 w+ N7 h; K
The format for a text link will be:
, a/ {4 g4 r# G8 @<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" > j+ a4 U6 i8 w3 |
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].7 y' F& C& \. K% O% F! G) n
Provide link text for the user in place of [LINK_TEXT].
* e# I( A& I) wThe [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].
5 o) J/ A- t6 i/ B) B: mThe [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].
3 ^* i4 S7 V# sThe format for a banner link will be:& }9 e/ v# q; C% A: z# C7 S* m
<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" >! m1 R3 I& w* Y1 X
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# Q; ?2 k% h8 i' t9 U
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
" X/ @; i) k" G3 d: 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].
& N( n6 s4 I, z G4 A9 @1 ?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]. |
|