|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
8 f" `; s& C0 D
2 ~/ c. g, F, A% T4 [0 \7 ^The 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.* z; q4 K7 ^$ T/ Q9 Q5 F! J
5 ?2 L6 Y' e% k o
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.0 P) p$ b) k8 P: x
7 F" T& n: x" {5 p2 g
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):8 O, U. n N8 c& f2 U# r N) w P
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
3 b! a! `1 n0 O1 P* p& y* AThe token ID can be found in the affiliate interface on the RSS Resource Page./ x$ L! i" ]: @( L8 q) W' |
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.; E- p. S0 L* {0 h4 J
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.5 Q( g) J7 F' ?: c0 m
A URL with these fields populated might look like:
* y8 M; y0 \% a% i) K- x0 Nhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a& N2 v: |8 H/ y8 C3 f
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
9 j4 l0 O' Q& E3 ]& z
8 A) ]' s8 X0 e( v7 }' nLinkShare will return a click link in the form:
* R, q: Q1 u) v$ Xhttp://click.linksynergy.com/fs- ... pe=10&tmpid=9390 Y$ ^4 F9 r& ?
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth: o( r# T* k4 H" F7 x0 K K
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
( j( a6 ~. `3 X% s" e: L%2526page%3D1%2526matches%3D24%2526qsort$ w( f4 V& s6 g4 ] ~: Y- J0 x
- P D& l4 H# h+ b2 U, ?7 T KThe system will give errors for the following situations:; u- ?" s' x' d* _
The link is provided in an invalid format that LinkShare cannot parse.
, u5 {$ a6 i6 m* S9 B, pThe link does not include a token ID.% w6 C2 K9 Z4 p) o! m5 K
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.4 r S+ X" I0 b" P( [6 o& T* u8 [5 `
The affiliate is not joined to the merchant MID included in the link., q+ ~' P# y) y( J
The merchant MID included in the link is invalid.' K8 }4 F1 k1 V2 _; a1 n) O5 z
The link does not include a merchant MID.* U; z) I! z% x
The merchant does not have LinkGenerator enabled for affiliates., b; ?8 [6 J7 {: r9 x' E% s
The link does not include a merchant URL.
7 j1 A5 ~) y% m8 qThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
7 g% Y; C2 x# ?1 lOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.9 z& B }. [: I3 r) f
The format for a text link will be:
+ t6 k ?. y) E; W J0 |7 P<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" >. W$ V) j) y) g" ~
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
4 `6 P m3 c/ i5 u7 MProvide link text for the user in place of [LINK_TEXT].
4 m# _# g- t" I% w+ uThe [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].5 [1 `9 Y: B# \. a, V* E1 W
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].
4 q- F) k1 @7 ~: SThe format for a banner link will be:
" l# `- q) U6 H( ?/ m6 b+ ~! E# W<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" >" d6 B( |+ e" w/ z, a
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
( Q+ [0 Y8 \, kPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
! R \, z3 w7 N* 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].
- i$ l( L& m& e' ^; 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]. |
|