|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator0 D" o. `1 g, e9 [
$ q) G5 I& e' d( i# AThe 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.% o' @) _1 ^- v
3 m V' L- x/ i M, s+ 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.
6 V( l ~# b/ L8 Y
- @! V: B, [2 ~7 ]' N" c4 Y# hURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):$ y- h% S9 x5 o9 q
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>9 u: B- M( h, I9 l
The token ID can be found in the affiliate interface on the RSS Resource Page.
{4 g2 y: N1 @The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
9 i4 ]+ E" {* ]1 B: y: ^7 yThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.! @ ^3 F* u) b! G
A URL with these fields populated might look like:
_! K7 {5 d) a! J' Vhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a: w- L5 z0 M4 g* `
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes* n1 w5 n% t3 k- T0 T+ w
, }. e( w& {! H" b U0 qLinkShare will return a click link in the form:' Z, H+ A$ A5 s, P i% L
http://click.linksynergy.com/fs- ... pe=10&tmpid=939/ C- I. v4 ?$ q( K
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
7 |/ q4 T( y/ K" _: u%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0& Q( {/ D* w: h+ K$ h% }. A1 G9 [
%2526page%3D1%2526matches%3D24%2526qsort2 [/ v& Z, |% p. Q3 o* ~+ A
; u6 m5 A% r" a6 X9 IThe system will give errors for the following situations:
! Z6 W# q" m' H9 |The link is provided in an invalid format that LinkShare cannot parse.7 P& ?4 l* R, s$ H0 `( \/ a
The link does not include a token ID.
) y- s% g" h0 i+ v- VThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.& `& X7 e2 ?4 x9 h, M: S$ | j# [5 v
The affiliate is not joined to the merchant MID included in the link.0 G$ \; Z1 M; m a4 D
The merchant MID included in the link is invalid.
6 ~; j* h9 D; X u) kThe link does not include a merchant MID.2 m# ^/ d% {% e1 F
The merchant does not have LinkGenerator enabled for affiliates.
6 Q1 W+ z$ I& `The link does not include a merchant URL.9 W/ m+ t) b1 Q/ o. K
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
S6 C0 h: Q. q$ U lOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.9 F5 b; }+ b% i7 x! S
The format for a text link will be:8 B* V- d# a" }# O# T9 _
<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" >6 F) E6 \0 [4 {
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
9 M, O1 I- l9 y3 PProvide link text for the user in place of [LINK_TEXT].8 p: \0 P5 m( N/ G% j, g" A* X: `
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].
3 }: @/ m! g$ Y% |0 yThe [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].4 n9 r* f5 Y: \: Q
The format for a banner link will be:! e; Z& z! J( u$ ^% m* x
<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" >
( c# f6 g5 ` ~Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].! e7 {. T7 N- e
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].; [( {8 @$ F: b* l/ \1 J
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].
, E5 ]' e) ^% u6 C0 P& T4 s/ M& ?7 LThe [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]. |
|