|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator+ {. G) Y) ?' g- K4 M' L0 C
& R2 a* M; L$ Y
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.
5 m3 `$ \1 N$ J. W& O7 Y! @% M( v& h; |9 n" A- |
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.% K! c" \ h& | M8 a
# h7 j) o# {; I% C z6 S$ hURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):% ?+ r# m1 J/ L; X8 Z
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
( w7 p7 J& w9 ]8 e( }2 _The token ID can be found in the affiliate interface on the RSS Resource Page.
4 p& N0 K% h: a1 d$ dThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.. l6 `% `7 s5 K! r/ V& {
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.$ h) F2 ^, }; r3 s9 D
A URL with these fields populated might look like:+ k W' F7 H' f& N9 }+ ^
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
3 M. P5 z3 r# }" s0 l% `4 h3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes+ S( t! O* N, n3 s3 m$ i3 Q
0 p( Q* E6 r w; o# f
LinkShare will return a click link in the form:
2 N2 S! d9 b. L0 w/ rhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
$ n1 g, i2 Q% }# m3 g4 ?& C* o& {&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth: Y1 `1 Y" ~* C2 u
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
# F# g% X* V) E* |' Q. w%2526page%3D1%2526matches%3D24%2526qsort
& b. f' ^; A) s, _9 G( T& C4 `1 I) l: j
The system will give errors for the following situations:: Q0 Z, W3 |7 K
The link is provided in an invalid format that LinkShare cannot parse.4 q- c! {0 Q! N+ z ~
The link does not include a token ID.
+ ?8 x+ G0 ]; I9 i& [- mThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
9 K4 L% m3 G4 DThe affiliate is not joined to the merchant MID included in the link.4 Q1 X& F) h. z4 m9 T
The merchant MID included in the link is invalid.# q' l/ Y( d* ^4 f8 {; e6 ~: A% J
The link does not include a merchant MID.
# Z6 j5 I% h2 F, ^7 K: a; X1 fThe merchant does not have LinkGenerator enabled for affiliates." A! u) C& ^0 y$ y
The link does not include a merchant URL.
, d3 Z/ T2 m4 I8 yThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool., o3 }9 o5 d; N# l2 z9 [ A! m
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
& w' l5 T- `; ?: W- yThe format for a text link will be:+ v( u T" ~' U6 i6 d( N
<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" >7 _5 Q; Q5 v! r2 f
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].: w. `' X. ?- K. Z
Provide link text for the user in place of [LINK_TEXT].
' l; V1 w. V% j' ~6 Q. W( pThe [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].* r0 E+ M: C5 R+ @( n% N
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].
# S3 A9 }$ C% P! _/ d3 ~The format for a banner link will be:$ V. N! {" ^. G- ?( B4 ~: m! b
<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" >( [( t; D% v$ m! E# A
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].- ] p/ u- B) [& l5 n$ C( G6 l
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
3 m2 D) ]! |2 F9 ?+ t o/ @* tThe [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].
- P- y* c; \6 K& BThe [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]. |
|