|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
5 T, J! B) }$ [, @4 [5 v+ x1 V) ~7 V `; M) p/ _$ F
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 b% P8 L+ ]" Y T
4 L2 [" r- t/ y1 D
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." m+ ]! ^1 J. _" y
" t: l: B: P5 P% V& ^/ u
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
# g0 q9 |( Y+ r, j6 x5 i# H5 Ahttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
' I" _' A1 G. EThe token ID can be found in the affiliate interface on the RSS Resource Page.
! Z" j3 x" p1 |0 ]The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.2 \: w+ q$ O, K3 C5 J
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.( Z7 r a; m6 R, Z( ^" z( |
A URL with these fields populated might look like:
6 L1 l+ b& O" R/ r0 J( F8 T" xhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a, ?8 C- A4 e3 \5 q# `2 T" N
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
* N0 w! E; Y; W% Y
0 w: o8 }( B" `: j1 q5 tLinkShare will return a click link in the form:
+ c, U, A' m( ~http://click.linksynergy.com/fs- ... pe=10&tmpid=939: K9 h2 n$ @+ ?1 v& y
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth( u! Z0 b* @& A5 s! q
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
. h* h( c7 |' b: F+ c2 A%2526page%3D1%2526matches%3D24%2526qsort% X% q) ~, r) j/ L2 t
% t1 n$ i+ t+ ]3 ~8 c( I
The system will give errors for the following situations:
# q' M1 ^2 V* D6 w4 R3 JThe link is provided in an invalid format that LinkShare cannot parse.
/ n. G; @% S5 D; l' vThe link does not include a token ID.
6 k+ t! ], z7 {9 hThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
9 i& ~8 _2 v1 f$ C5 k: yThe affiliate is not joined to the merchant MID included in the link.! x4 S* `. T. B# ?; f# @" M
The merchant MID included in the link is invalid.* o* B# M" t {& c" _
The link does not include a merchant MID.
1 p* x1 c3 X* T. {# j( ~* IThe merchant does not have LinkGenerator enabled for affiliates.6 {7 G: x% O/ T @2 |3 b: p
The link does not include a merchant URL.* G0 |8 x q5 F
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
4 I) M1 A0 M- o- P0 R' i" SOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
1 B5 C w( e" {# x) Z" G/ dThe format for a text link will be:! L# A3 d6 u1 I* w6 K/ d7 D/ f
<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 I& y; J: p: P9 @Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
4 t/ U( r K. A* @# j( EProvide link text for the user in place of [LINK_TEXT].3 y" E* T) T8 D
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].
" k+ W4 @. d- Z4 Z/ i8 V; _$ cThe [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].
@" ^, }, `1 G7 W T+ o/ c) w" fThe format for a banner link will be:
; M* J8 z/ E, A; }' f+ v+ d2 F, x<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" >2 D5 w$ `4 l6 ?' R' i( X0 B% ~; v l
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
/ M9 j( ]# \5 H2 l* dPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
) l& L+ W( }0 c; o! i) T" c5 r4 D7 Z6 fThe [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].8 S2 p" }! i1 `2 F" E" w8 V6 I+ ~
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]. |
|