|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator8 p' Y3 w- s, _& N- V
4 n: I0 ~$ V. J, O# c& I9 y6 XThe 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. c8 ]/ `3 [, H8 ^4 T' P
) x* C9 ^( H& Q7 x' y* J
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.
# Y2 i2 O$ g/ x2 U& L2 j, B4 i! t& w' k3 \* B0 H
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
7 t" Y2 q4 O% A$ Rhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>& i+ Q% T M4 g6 Y& U! B
The token ID can be found in the affiliate interface on the RSS Resource Page.
, Z9 R8 ~# o) B7 ?The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
7 ]& Q0 V- t8 b0 x& }The URL is the landing page on the merchant's site. Special characters do not need to be encoded.3 S5 ^8 G$ R: w. c
A URL with these fields populated might look like:
5 H$ n* E# Q# H# k1 ]http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a$ n% o# i. W/ ^; U0 `6 Q" C
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
: ^4 h) s1 Y3 p! _7 L5 y. q4 v& K1 F6 I2 Y
LinkShare will return a click link in the form:3 U* A2 R# Q+ i, l1 L
http://click.linksynergy.com/fs- ... pe=10&tmpid=939, a4 Z5 X" P7 j. `
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
t/ L6 u3 g. Y9 H3 G8 e%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
) z5 {9 G- r j( M2 o8 t, x# V%2526page%3D1%2526matches%3D24%2526qsort
. A; J& r4 S; s! t+ \ D3 m- E$ d$ P/ U* Q6 r r( x, m6 N
The system will give errors for the following situations:5 v- S1 K8 k% E0 \% o) }
The link is provided in an invalid format that LinkShare cannot parse.
! e6 d" C+ z4 f4 X1 }3 }, Y8 ZThe link does not include a token ID.
2 v# W2 C4 N M: o* H& _6 AThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
( L1 M% l& F% _' K( _& TThe affiliate is not joined to the merchant MID included in the link.
) f# S7 y: y0 R9 UThe merchant MID included in the link is invalid.
4 I( J7 Z! ]! u' [The link does not include a merchant MID.
. C/ K, l" R$ H- \3 ^% r, T+ NThe merchant does not have LinkGenerator enabled for affiliates.6 T; w; u p9 l- b8 P
The link does not include a merchant URL.
0 j7 W F! a! Q7 |! mThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
6 v! Q U% y: {$ NOnce LinkShare has returned a click link, it can easily be placed on your affiliate site." K ~/ }$ U( h! ?3 \( W2 b
The format for a text link will be:6 D8 O: L( V- S" d! E
<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" >
" _) s9 \. W( V/ `! u* D! yPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
l0 E2 k. a0 `! R% I9 A: RProvide link text for the user in place of [LINK_TEXT].
! Z- p! U2 z! B4 G1 B: x/ WThe [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].
0 j- ?' J* J; L e1 c$ I0 G9 nThe [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].) J8 Y' [0 N4 d3 R& z1 ?2 b7 A
The format for a banner link will be:
* Z, F/ T6 k1 d<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" >- @" M; ~& c' P/ J1 i
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
) D, R. S# z6 ?5 t' tPaste the URL of the image on the merchant's site in place of [IMAGE_URL].' h! R% |& `* K5 s9 q% O% S" S7 O- z) l
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].
0 E# G6 y7 _- j! L! W# AThe [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]. |
|