|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator2 h) m/ Y7 u& w$ F0 w
9 a* h# T, r% T7 D
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.
8 U' W7 I! ^. u! t) u6 f' _% X# ^7 t9 A& a3 a0 p+ t
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.
( f W! }4 o' Y4 o Q
( Q1 F6 L" _4 L% P7 r+ u: @- SURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
, `; q u2 d* q: C1 xhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>% I8 S% \ i! ^0 X
The token ID can be found in the affiliate interface on the RSS Resource Page.
& U- [3 m* i3 [9 ^; EThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed." V' g1 o9 s$ U, o7 ?0 m, z
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
& H" U( ~, P, l, PA URL with these fields populated might look like:
q8 U5 h5 b7 j$ w' e- v- O% ~5 Lhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a7 g& L' K1 {8 g' ~+ Z: h
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
( ~6 A5 N- r% H9 t
2 Q2 K/ a T" v# kLinkShare will return a click link in the form:0 P% F3 q! M [, U" e) b/ g
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
4 s8 G& g, P5 G' J# T) I! H8 o&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
0 P; k% |- n+ `- B; W%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
- U. `: P4 y- g. z%2526page%3D1%2526matches%3D24%2526qsort
& O: M' s9 x6 z# y* Y1 I
, L# H, `: s, d- g' A+ p: z) t) _The system will give errors for the following situations:
& w5 P5 d9 g- t5 l* @) [& x- LThe link is provided in an invalid format that LinkShare cannot parse.$ f# G" t& B3 l
The link does not include a token ID.
% `5 }7 u: p8 `! t/ }The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
1 ]! t* [8 u0 K. Y6 i$ [2 K. j- dThe affiliate is not joined to the merchant MID included in the link.1 _; J: @$ E b$ q* {
The merchant MID included in the link is invalid.
- g0 S( A1 k6 OThe link does not include a merchant MID.
8 Q7 v$ {$ S$ D! l+ a$ fThe merchant does not have LinkGenerator enabled for affiliates.
8 c. B4 n) t2 U# _" d% ]" D; aThe link does not include a merchant URL.5 @% I+ Z8 d# T% v, T8 C2 ^5 O* o
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
" n' j* k2 m2 \8 D! P# J6 o# z$ DOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
$ T' ^9 D! n& _$ V1 KThe format for a text link will be:
4 x! E& @- X! t, I& Y7 y<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" >$ B6 w$ |0 w1 M6 C( O" {& a: ]
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].& l ]: z: B4 d6 G( w
Provide link text for the user in place of [LINK_TEXT].% o8 u8 \, O, H- w" k
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].
+ j4 B$ N, l0 p5 b6 {1 o" hThe [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].
' Y/ ]3 D3 j8 D" g) ?7 j4 [ EThe format for a banner link will be:
: e/ I+ H: B$ @! j* Q<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" >0 z: y9 E3 ^* |( |
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
+ F) l' |8 U% ?2 ZPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
3 \8 H% a$ {4 I2 H, w8 a8 B( sThe [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 x/ B4 [, `3 N/ _3 [
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]. |
|