|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator; ^4 g) T0 e9 ~
# Q) Y9 B" F* H7 F' A4 Q1 a
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.
( x( I3 M8 J- h8 {- d# m
4 c4 o& A" r* M+ q* Q' nTo 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.8 F% j1 `* d4 m) s5 C
5 V- q6 Y3 C6 U$ l9 f5 \URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):( G3 f ~* `# p+ y4 r8 y- ?( ]
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
! L& H1 n# b5 g1 qThe token ID can be found in the affiliate interface on the RSS Resource Page.* o% R+ ~" ^+ w0 e- C4 A
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
! {+ L- {# j$ w/ yThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.. x! p5 u. F* R2 \+ P! ^6 B
A URL with these fields populated might look like:0 D! T$ O% Z8 g( x) \) ]6 W2 G
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a2 S c; ?' }0 b1 Z) G7 d* Q
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes5 X$ g" i/ w( a
+ `9 \/ U2 ]0 O+ Q' H
LinkShare will return a click link in the form:- h7 O& {6 \+ S, E. U
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
0 A1 z" k' h* B% h2 m&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
7 [/ g! Z7 c# D5 _" }% @4 B%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D06 r2 Z* E3 j3 D: l! A: W3 r
%2526page%3D1%2526matches%3D24%2526qsort
7 R! A9 `- r3 G
+ L( {3 j; \: I4 V# H4 NThe system will give errors for the following situations:' y$ G" I3 k$ w6 G9 ]% ?7 ~8 [$ q
The link is provided in an invalid format that LinkShare cannot parse.9 i1 I( j% z/ [ r; w2 k# X
The link does not include a token ID.
% @: ^0 N5 a9 k/ qThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.+ A0 U/ F6 ~4 D: ~/ [* a9 J. h" X
The affiliate is not joined to the merchant MID included in the link.
- z+ d& x) w7 h- e. vThe merchant MID included in the link is invalid.7 b9 n# R5 U% D2 P) P
The link does not include a merchant MID.( W6 P; Z5 t0 @4 G5 B
The merchant does not have LinkGenerator enabled for affiliates.
3 y+ z Y' m A& S: W! k/ yThe link does not include a merchant URL.! p0 M, Y4 Z8 W6 u! F
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.7 P; |, U" t# V! ?, ~* n5 @
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
1 M+ W# ?+ B0 G; m8 Z, x1 x; ZThe format for a text link will be:
' ~# y' ^4 ?4 D<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" >, b+ `, h, t5 |. Z, V5 v
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
! b+ ^6 H' j9 o% V' z% cProvide link text for the user in place of [LINK_TEXT].6 H- T3 k4 V7 A6 q1 w5 g1 G6 I0 r
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]." Z% r3 V! c% y1 T! k# K
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]./ r7 @# E1 N+ s+ `8 \7 D
The format for a banner link will be:
4 A( e" F, {7 x' }* f<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" >7 u( n9 J7 Y! z- A7 U, q: A
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
2 K* c$ `* G- l# APaste the URL of the image on the merchant's site in place of [IMAGE_URL].
8 J+ o, c( J' S" {, }$ uThe [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]./ w T C5 a' E% X5 B
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]. |
|