|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
0 e0 f& O% c$ n. g n+ Q4 ]2 c
3 A/ ]4 p; Y( z- \# FThe 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.
) S6 w7 H7 `; T6 N
" f9 w# }6 Y% B$ X* N+ _3 K. VTo 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.7 o6 j( h: o) X3 w- i. @8 i; V; f
- l3 m! p! P+ nURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
: ?7 @0 w/ Q0 L6 jhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
+ I) b w; r) ]% G4 A! O% e& _The token ID can be found in the affiliate interface on the RSS Resource Page.
$ e5 v- l" D- c, n7 U% f! pThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.7 M0 s5 ]8 h" H) {7 m
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" d+ w) {% `/ t( q9 N% L9 P2 f: w% C& m. {A URL with these fields populated might look like:; ]" j* v1 x5 z& ^9 w
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
0 M. {: P; Q# D% l" W3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
) f7 o1 N% j/ R- s
7 \9 C0 V; T! nLinkShare will return a click link in the form:0 h' {7 y3 g4 V7 ?
http://click.linksynergy.com/fs- ... pe=10&tmpid=939$ @8 [! \8 f6 @) M. z
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth0 t4 K" p5 V+ o) C! x
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0* X; I# ?2 t, _% C5 p
%2526page%3D1%2526matches%3D24%2526qsort
. K0 j( [$ ]' K8 Z* G6 `; r9 Z& ?/ |: @& m5 O3 H% B9 B; K
The system will give errors for the following situations:8 x9 C5 {( w1 X. A# y5 ?( o+ Y6 N
The link is provided in an invalid format that LinkShare cannot parse.
/ J N7 d6 R- Y4 {6 CThe link does not include a token ID.3 i2 F6 X1 n) O; @% `1 a+ B
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
2 q7 k" M9 P/ ^7 V! t! PThe affiliate is not joined to the merchant MID included in the link.
- z- l( F" e5 a* ]The merchant MID included in the link is invalid.
. u: R- X2 ?- y; z) D+ MThe link does not include a merchant MID.& ~) E$ o, k0 D4 B
The merchant does not have LinkGenerator enabled for affiliates.
- s( e# q0 M% E a; _. [3 q; FThe link does not include a merchant URL.1 F* J2 }% Z/ E; }$ {4 u" E
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool. Y" M+ \% s z5 Q# c8 H! R
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.$ x0 P. T9 P7 `) H) ^! F! ^
The format for a text link will be:
# G- `. E4 _5 U8 u4 f<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" >/ I' J7 U* t9 k" B
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].( X6 F; L, Q6 k( M
Provide link text for the user in place of [LINK_TEXT].4 Z7 X& F. T4 S, f% 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].
) d; v2 T% L; m& z! S( C7 s- mThe [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].7 `1 C+ n# z* _0 Q, {5 g
The format for a banner link will be:4 y- R( Y7 T: x* n
<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" >& u* K' T( v8 P# P, t
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].; d/ A5 p$ `: B2 h @
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
2 ~9 R, ^- V5 ]3 TThe [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].
' D5 b; y- s4 @# ~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]. |
|