|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator& H3 }7 t; C: c3 }9 |
4 d1 f: m) c( n3 p7 n9 T1 |# ^% RThe 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.
# R7 g( }. s# A& p2 W5 U9 z! e! Z: q' d4 S
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.
9 n' ^4 O) l( i0 {" i" {
. Y3 j. U7 Z0 n. |URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):1 d8 V. y0 r# b) Y3 M
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
4 l2 r1 y* w0 AThe token ID can be found in the affiliate interface on the RSS Resource Page.' a8 g: h) S: K( V3 R
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
]; j* f% N2 T# U0 F4 A4 q. kThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" S7 I; z# P2 b6 X3 m* G1 E' R+ e, n. hA URL with these fields populated might look like:
/ r1 \9 I2 m; \6 Y, Ghttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
+ m/ m, N' _8 I) C3 ?7 c6 W& O3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes$ K$ m2 n3 d" Q) c( ?- J
# M: l$ x# H6 bLinkShare will return a click link in the form:
. I& G# |- M$ K% q9 |0 Vhttp://click.linksynergy.com/fs- ... pe=10&tmpid=9396 z$ _4 [/ O% X$ U5 D5 ]
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
8 l3 f' ?' {$ F3 w# G1 P%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0# @, P' q7 Q8 [7 a% h5 g3 i
%2526page%3D1%2526matches%3D24%2526qsort
, b1 w. b' A. }1 ~3 I& K- w
3 U1 B# t# [' p5 p4 O& VThe system will give errors for the following situations:
% F5 y! Q5 n" m3 J, ], Y! c0 l4 o4 MThe link is provided in an invalid format that LinkShare cannot parse.4 |3 `: {' v. K2 r
The link does not include a token ID.
) Y; w5 o2 Q4 G' v: u) _! j9 XThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
7 O) r# }) h" W7 o) {) H; d9 zThe affiliate is not joined to the merchant MID included in the link.
9 N1 \ ^. _8 z" R9 ~# hThe merchant MID included in the link is invalid.
0 ]/ p: N8 \& k: r& sThe link does not include a merchant MID.
" p: ~6 y0 m& S5 v* P: O1 s' _The merchant does not have LinkGenerator enabled for affiliates./ @ _+ s; }" f- ]6 G$ G$ ^' P" x
The link does not include a merchant URL.
: y* S- @% K. ^4 l: k1 K% }; z' gThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.# m% `. U) z( I( m* Q! ^* J3 ]
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
0 l; ]+ R9 e$ b" ?: qThe format for a text link will be:( G( K( o3 y6 Z0 T) ~0 z+ G I
<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" >
8 l1 G$ X& |( P8 @. t) aPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
9 v& Z- H3 y! V* j' w2 S' g: [Provide link text for the user in place of [LINK_TEXT].
& S9 ?6 W' H0 C( X4 }2 N, fThe [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].2 j- X4 x. F% G5 t8 E
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].
* ]! H& _: Y5 XThe format for a banner link will be:
3 Z x1 z+ ]& b+ g. I4 B! E% h<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" >
2 D( M7 Y1 D n- a5 \Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].+ U, w% y* e7 a( u8 Z
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
1 l3 O: Q3 j3 M# ]4 F0 U' m8 u3 i, CThe [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].
" D- K$ F, p8 c" E; P% X/ zThe [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]. |
|