|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
- M' J1 h4 p2 }3 k+ S( I2 b: k. j' U! H5 R: b, W. }7 l
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.2 M. n/ b; G- U6 N( u; E2 f
* J% E0 t1 p, @
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.( e8 r W& Q! T/ k
3 P8 ~. U# ` q/ K1 D; ^6 k
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
+ U2 Q9 Q C* ^2 r9 Shttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>& u, s! c: \# ]! S9 m0 B* z2 j9 @
The token ID can be found in the affiliate interface on the RSS Resource Page.3 m' V. H4 i: u
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.6 o7 a/ h3 [- S* i& U
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
l1 V: } K4 S# c0 t1 hA URL with these fields populated might look like:2 M, [# ^. L5 M0 t. w
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
5 L- b8 Q' W0 F, R. f. l3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
& \1 Y u3 v4 K2 O& c0 Z, \: j2 P3 P8 ~2 X- e! \* e! q
LinkShare will return a click link in the form:* f& L% {/ P# {6 [: H7 n! d8 x
http://click.linksynergy.com/fs- ... pe=10&tmpid=939! n3 z1 _" ]# q, y1 Q1 }+ u7 _7 [9 `8 e& c
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth9 U! B0 u, Y& h5 f8 Y6 |
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
( ~) r: J0 P* a%2526page%3D1%2526matches%3D24%2526qsort
$ ]& S* t1 u: b9 i4 q+ w3 Y
4 L" [0 ^4 @; f* y9 Z9 Q/ NThe system will give errors for the following situations:, R+ R% \) Y& B( b8 V/ {4 U
The link is provided in an invalid format that LinkShare cannot parse.8 m5 e) @9 w$ j4 z: P
The link does not include a token ID.- X" [9 S/ H& d* Y! u# v9 i( x
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
# k2 h* K3 x, t! ~: MThe affiliate is not joined to the merchant MID included in the link.
9 v" L% S) G b. t; `9 kThe merchant MID included in the link is invalid.8 m6 x2 v0 f% w
The link does not include a merchant MID." b M7 L. S7 N
The merchant does not have LinkGenerator enabled for affiliates.
' P: d2 I* w) dThe link does not include a merchant URL.
+ _ \) C4 }" k: HThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.$ L! i E% a& L3 ^" y% `" l- P
Once LinkShare has returned a click link, it can easily be placed on your affiliate site." H; q4 i) C8 n% R- d
The format for a text link will be:( M7 w* x8 N" h- G1 v8 |
<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" >
$ _ b1 x. S2 O1 E) G- `5 ^1 N7 hPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
" A& Y8 [" `7 k' {/ I3 [Provide link text for the user in place of [LINK_TEXT]." F# u/ x6 P8 B q
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].
" [% q: l0 k3 P1 P( h& Z% [0 d. T$ U/ [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].2 B! z* ` G2 [, D& T
The format for a banner link will be:
! s& w$ z2 g; T# S4 I( t<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 O% F! J' O' I2 ^# V7 }# n0 @* u
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].! u# v% C7 A) q: D
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
, _* N1 r- ]1 u3 C- C" yThe [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].
% X+ C( c; y- S$ v$ e0 ~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]. |
|