|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator9 y* ^+ |- p8 B" f# i" V' s
: n8 h. ~2 B- [5 s5 h: N* h
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." k9 s/ v& J' a; e `1 ?- B
. {1 R8 B( X/ M5 O, Z1 ]& X
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.
2 W9 f7 I0 G+ |/ }, \8 o" a
+ x4 W, w! U/ j7 g$ p8 ~+ ^6 fURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):9 f, i. Y2 G0 l- m6 U
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
% j* l6 p( j9 N8 Y' UThe token ID can be found in the affiliate interface on the RSS Resource Page.& @4 [% v# x" }8 d# P5 D" M4 b
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.2 X5 t% n! [/ L5 e
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
. [, Y5 m. R: _- A# K9 WA URL with these fields populated might look like:
O' C$ ^8 r$ Q4 l% M) V3 Phttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
1 {: l& R) h' }! d3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
! F: Y% Y. H0 R9 G; }% ^5 e. T2 u7 |
LinkShare will return a click link in the form:
4 |, ^& I. J( h. _9 x c' |1 U5 |http://click.linksynergy.com/fs- ... pe=10&tmpid=939
; c" Z* |5 _) E0 v" X# D. p&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
6 S. E- T0 f" t$ P7 x%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
& |! z( K$ q' }: S( f%2526page%3D1%2526matches%3D24%2526qsort8 G+ n% P; l5 r- L
9 _3 F1 }. W+ y7 T( r9 MThe system will give errors for the following situations:8 A+ L/ Y& c/ K2 I" J
The link is provided in an invalid format that LinkShare cannot parse.% x3 h& [5 a4 D1 [
The link does not include a token ID.
. }4 h; V. ?9 [' p7 mThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.+ t, u% H+ Q0 [/ x7 J5 d
The affiliate is not joined to the merchant MID included in the link.
* _! a8 l9 n# P1 F9 i8 UThe merchant MID included in the link is invalid.
' X' a$ ]' T2 `% hThe link does not include a merchant MID.
& `* `2 P1 l; xThe merchant does not have LinkGenerator enabled for affiliates./ R! i8 B$ p( D$ J3 q/ i, B5 \
The link does not include a merchant URL.
5 j* g* L9 K: }; M2 ?7 {, k; R% ?The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
5 e* x' N1 y3 T2 y9 l. U" aOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
. q( n7 o: B- {& r C$ q$ f6 zThe format for a text link will be:
2 y" N2 U5 y- {7 ^; f3 J& a5 s<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" >
: D/ ?: Y4 |. B2 @. bPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].1 u% q! a3 K$ s
Provide link text for the user in place of [LINK_TEXT].
" B9 m. ^5 Y0 l" a% ?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 P6 ]( N. \& |" X* F; J
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].
$ k0 g% h, v9 nThe format for a banner link will be:' G5 y. U3 W w% K/ y, Q! l7 P
<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" >
6 r+ }- ]. P+ a, z, a p* N" RPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]. W0 t9 g- ?9 s- P& ^& B
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
% J% I/ @. s9 E; C+ U, kThe [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].
+ M1 g% d5 V8 Q; c! wThe [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]. |
|