|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
+ A' u7 i* i1 G3 W( c+ S, l
- ]: S7 \1 D2 l) `7 |" NThe 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.' I l4 T# R% M2 `; W% p/ y
1 _5 G( H% F J( M; j7 D
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 ]" o/ `( p- Q0 g) B" ]# p0 i7 X
. w% @9 g" c$ T$ G4 H/ ?/ c4 I
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
" ~. c( ?6 [# Ihttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>1 L- N: m7 i6 l; |
The token ID can be found in the affiliate interface on the RSS Resource Page.8 p6 f# w% K0 J2 M
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.4 |$ O$ P$ z l) W! a
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
- L0 i9 E* g4 D& ~, B* gA URL with these fields populated might look like:9 u3 L! i/ l1 W& `' |; i
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
9 i+ M0 k5 k, X3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes6 n- {/ Z- C2 O6 R
2 h! m0 X) I8 E! J( F9 E
LinkShare will return a click link in the form:
9 m8 {( {+ A9 I6 Q. \7 }, Whttp://click.linksynergy.com/fs- ... pe=10&tmpid=939+ y7 ?) w) i' B$ Z
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth, w% N2 k* i0 T# G& d* p
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
& f3 L% ~& T; W- X7 {- x%2526page%3D1%2526matches%3D24%2526qsort% E. u+ ?+ z. D1 X
6 s+ d9 m* D8 [9 o& x5 |& c8 [( GThe system will give errors for the following situations:+ r; \8 X3 Z2 m5 ]% u; M
The link is provided in an invalid format that LinkShare cannot parse.
5 m. P K. ]$ W; ~* M, TThe link does not include a token ID.' ?" u# Z% B" {" y! @4 s! h( U
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
7 s! k& n8 a5 u6 G; C5 NThe affiliate is not joined to the merchant MID included in the link.
2 R/ R6 f8 B+ }The merchant MID included in the link is invalid.. n F' s. A, c3 M( w9 P4 L/ z7 U
The link does not include a merchant MID.: N' t2 E2 i3 ?/ K1 w& j7 `2 @
The merchant does not have LinkGenerator enabled for affiliates.
P- i7 G6 @0 S/ [2 u: O0 T$ GThe link does not include a merchant URL.
: p, d" L0 L. w* K/ q2 j* QThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
, L9 v9 q$ D, I# VOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.: W7 b, e* f1 i$ O1 Y( ]" O
The format for a text link will be:5 c G' K1 U& _( d t/ r
<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" >( z% p( C1 S# ?' N# k! _
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
7 u/ Z8 \8 ?9 i( A4 sProvide link text for the user in place of [LINK_TEXT].
+ H: |, E& ~- z+ D% g, AThe [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].
* v4 ?; m. i: z. F4 g H, iThe [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].
, U1 P8 Z5 o! Y/ y0 ]0 Z% KThe format for a banner link will be:$ h3 ^" Z" \( s' S0 c' E3 C
<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" >1 r9 {$ Y. |0 h' |" d) w& h
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]., Y2 q0 c! {0 i; {' i1 {
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
$ @, m; M e. 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].
, }3 |) y0 G$ HThe [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]. |
|