|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
/ H- d( Z+ A' s1 h @% r6 N/ l4 z
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. C" v! i9 k6 z0 Y5 c6 j+ S
* l$ Q" E* {+ Z( P' n; FTo 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.
3 z/ [7 W. K7 ] x! w ]
/ L, B# L5 x; @ o2 M; ]URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):3 W9 U/ p, e9 ?" H2 X0 |
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
( ~! F6 P4 H2 q* iThe token ID can be found in the affiliate interface on the RSS Resource Page.3 K$ k6 V. u- ^4 ?- o1 s! q
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.& g3 J7 q, O' H1 u6 O: H
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
3 \" @5 f7 d9 L) kA URL with these fields populated might look like:
, o) D" C* F; ]: f" k) U0 Thttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
/ V: k p4 X3 A3 M& k0 b: \3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
# h1 \: B' _9 T# I- f" B+ ]/ E- c _2 b$ i; M3 Q, i# s" _: `
LinkShare will return a click link in the form:
) X3 _1 F I( H! }! a+ \4 t* shttp://click.linksynergy.com/fs- ... pe=10&tmpid=939: \( @. k9 \- `; [3 A! ^
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth4 X8 a1 G7 ~6 e+ `. W; C
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
. k. \0 T1 ?: _" r+ a%2526page%3D1%2526matches%3D24%2526qsort- K: n& X/ G1 r5 D: z
3 W! P7 q; p R0 n x1 i
The system will give errors for the following situations:
4 F. Z: u7 C# \7 D4 OThe link is provided in an invalid format that LinkShare cannot parse.
" x* ~3 ^. T/ }! kThe link does not include a token ID.
* P! v9 I; p- J1 o qThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
3 U W' s6 q, V, }( UThe affiliate is not joined to the merchant MID included in the link.9 g/ K$ E, Y+ ~3 _8 ]$ |
The merchant MID included in the link is invalid.4 y8 K% P% f2 ~1 A/ L$ D* e
The link does not include a merchant MID.
+ P. o1 C! j: X) a+ [& q2 p4 g% ^The merchant does not have LinkGenerator enabled for affiliates.
9 x9 ?9 A0 ?* ~) L3 EThe link does not include a merchant URL.# `' L. S( o2 ]
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
; v9 P+ ?% Y5 mOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.9 }/ A5 ~2 s5 _6 N! w
The format for a text link will be:
- P. \0 J/ u3 r<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" >, h# z3 ^/ V) K- D$ C9 [
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].+ [' A% i" [6 O( P$ g
Provide link text for the user in place of [LINK_TEXT].: {& L. Q! o- O1 t Z: W
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].
0 L3 e: q# _ A( l# \$ nThe [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].
" u! t5 ?. q: mThe format for a banner link will be:
/ J1 H& U# V+ k* S! Q4 {" c( F<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" >) N; g6 \: n( X, K* W
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].9 u" ~6 D, t; \ g2 ~% ]- O
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].0 q% ^6 Y! j- V0 m
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 `- b* f3 u+ B: @( L' ^
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]. |
|