|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator# f$ @0 C# x4 l9 ~
4 E" ?5 D9 M, ]9 r5 T* GThe 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.; e( U' }" F- [% w9 { {
* J O' a! V( Y) [2 @: X/ e) C6 u2 A
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.
' Y- X* a, p$ I- C: z1 H1 x9 B3 a7 t, S1 X3 s0 Z
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
9 c3 ^. u' P5 g* j0 \2 i( Ohttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
6 {+ Y/ U' w# G7 L" u' z6 o9 kThe token ID can be found in the affiliate interface on the RSS Resource Page.
3 A, d6 L1 t" S( a" S/ z6 DThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.' Q4 k$ G. A$ y
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
0 ~- L: w" `* i) Q! A; TA URL with these fields populated might look like:9 q- q6 v1 z& H/ `6 u5 n! e
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
& w% ?2 G2 r' K, G! p3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes% k9 X Q$ N4 X4 r- K3 u
1 S: @( Z" X. h4 u$ rLinkShare will return a click link in the form:
3 h/ c/ f' K$ l1 whttp://click.linksynergy.com/fs- ... pe=10&tmpid=9393 @( ?/ l* Z7 w9 S" y
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
, d% {" u7 H; Q2 F%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
. ^ v% ?0 g+ Y9 t- U4 [9 c%2526page%3D1%2526matches%3D24%2526qsort
& s u2 j; k: O! v0 j' ]4 n+ S& ~. k) V9 V( b# T; ]+ j/ i! \
The system will give errors for the following situations:
* O4 k+ o9 R6 C, g" SThe link is provided in an invalid format that LinkShare cannot parse.
8 Z* ^% w" I( |& M7 tThe link does not include a token ID.
3 X8 q1 [9 d% JThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
* {7 i: r( b/ `9 t M' MThe affiliate is not joined to the merchant MID included in the link.
# _1 c2 K* B4 N l# J% V8 QThe merchant MID included in the link is invalid., S n8 \# t# {5 Q, |
The link does not include a merchant MID.4 O; G. ?2 u4 p) ]
The merchant does not have LinkGenerator enabled for affiliates.
1 q5 M) ?+ X! v" zThe link does not include a merchant URL.6 k6 \9 ?. p4 V% u' U2 w0 Y0 D
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.$ ]1 g/ P. t# m9 p- B2 N) R0 {
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
) U2 l( k- D3 D @The format for a text link will be:4 J& b! x; W1 d+ _( u* A: x
<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" >5 A" F% S, H) ~' I C4 M5 Z
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
. T" ?8 A, B8 M4 ]* Z6 _8 wProvide link text for the user in place of [LINK_TEXT].
) Y* R! ]2 R8 z$ r% P$ mThe [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]./ e7 A5 ~1 S( [0 M4 C. H; d" |2 @
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].
, ^( ~3 z7 b/ j2 B- _- _The format for a banner link will be:! @$ Z7 ^" h2 G. U, 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" >
8 ]+ o/ \0 S# L' m& \. IPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].4 C# {$ z* P. e% X& R) _+ p& U
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
; o2 }$ |* S+ ~2 m8 L" Z8 W1 VThe [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].8 [( E' b: ?# L$ P9 j2 _
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]. |
|