|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
" W1 y" p5 L( z0 v
J& e7 `. A$ [ w6 g# P7 }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.* j( T- |' ^ i
6 m" e4 o3 M! b/ w( G5 T) I
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.
4 i9 b5 [) B6 C; }# q( Q" R# v9 x& J& z& }
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):8 b6 u6 e, }8 U( h9 o
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
4 J0 d( ?! Z$ z* ~/ JThe token ID can be found in the affiliate interface on the RSS Resource Page.
' n7 [+ C7 a2 |# I' J, YThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.! f: I6 i( u, f( G! n7 I' d
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
8 c |: P5 M9 v. o0 }3 Z8 ?7 fA URL with these fields populated might look like:
) e5 _1 y; W2 y( T: c+ thttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a! _ o" b4 d! P6 i \2 [2 ~$ \
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
' I6 |, K# @2 c7 N. W
: j0 V# _: S, I# m0 m. G/ NLinkShare will return a click link in the form:
4 J8 V$ n' K- g$ c1 \: y* s! Rhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
' r' X8 {" _' P5 g&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth0 F) C) d" O7 {7 R4 f) o
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0+ n! \1 k1 a+ A9 F$ ]$ l
%2526page%3D1%2526matches%3D24%2526qsort
; ~# Q4 ]( ] N3 v# G
: s' ~% F# S H! ZThe system will give errors for the following situations:; A1 X/ _9 Z" }* [: z
The link is provided in an invalid format that LinkShare cannot parse.* {+ \' O) B* H. u$ _, S
The link does not include a token ID.
1 f4 \% X2 d- K6 w9 o& t9 IThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.; j" p+ _) o/ E
The affiliate is not joined to the merchant MID included in the link.
. Q; X; D3 t9 g6 o2 tThe merchant MID included in the link is invalid.0 E5 p* y. f. W3 U) c6 T0 s
The link does not include a merchant MID.4 [' T) j0 }/ }6 R7 y9 W+ \
The merchant does not have LinkGenerator enabled for affiliates.
, z8 Y7 V6 H/ Z7 BThe link does not include a merchant URL./ {/ @( X @& D' d9 a) k; t
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
2 G9 [5 V8 `2 q4 \# uOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
. ?) w: _' I0 @3 j% d1 n9 oThe format for a text link will be:0 R6 M: t7 k+ m
<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" >
1 Y) I0 H1 M" S) O2 Z3 R6 FPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
9 G8 F$ i7 e5 GProvide link text for the user in place of [LINK_TEXT].
& k2 a. ?. Z" u% l" NThe [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].# a- d) V# x6 x
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].9 @$ J9 U# } u2 {9 g! _& f
The format for a banner link will be:
& l0 x9 }1 L7 g& X! I' 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" >, O, E+ c" Y K, F7 X4 i
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
+ X7 f' | x, W, a# X5 G fPaste the URL of the image on the merchant's site in place of [IMAGE_URL]. g( f' e% P& V5 Y
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].
" d5 Q( \# q7 J! o- i. x9 {0 I$ 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]. |
|