|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator. C- ~/ L* }* W7 E! W
/ D( w! P3 k' N, J4 m
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.+ b6 w. Z. H' e' z3 t9 ]/ Q5 b
: x; A' o7 \7 n% ZTo 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.
- } t# q6 O0 h$ W& c! m- F9 W0 d* p* Z9 Z. ` J& j* u4 J
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
9 U |- |5 M3 L( Chttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>7 I; \4 [) V; A2 Y3 U
The token ID can be found in the affiliate interface on the RSS Resource Page.! A: }# S$ p+ Z6 w
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
" h* }4 N, E" i0 ~$ A* rThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
( j$ \' J# j) ^) xA URL with these fields populated might look like:
. I3 m9 q; N( n; T, ?) [http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
$ g/ Q1 {% q; U- \9 V( v. R7 v3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes3 Z1 b3 L- J4 l' {9 ?# X
. D* q) M* b# O
LinkShare will return a click link in the form:8 c7 W9 W1 s E) \' Z/ J- o
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
) m$ ~+ D7 h$ p: c&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
0 l# `: X8 y f6 R%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
, p/ Y9 d1 t( ]3 j6 z. | K%2526page%3D1%2526matches%3D24%2526qsort
( c9 v# U. {8 }# F0 ~: E
, K1 t8 T7 G- M+ q+ h" }9 s3 sThe system will give errors for the following situations:
1 s& ]; P y/ O O3 ]The link is provided in an invalid format that LinkShare cannot parse.
5 q: B- t$ ~* ~4 {0 D2 O% JThe link does not include a token ID.
9 }/ Z. \) j& Q0 _, y) jThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
# _) O" P. a7 a) u! ?& SThe affiliate is not joined to the merchant MID included in the link.
$ j' q9 z* h. }' X/ f( |The merchant MID included in the link is invalid.
; M$ w6 p) f+ s" q9 ^ n3 s% vThe link does not include a merchant MID.: M( o" |1 I$ ]' f! v
The merchant does not have LinkGenerator enabled for affiliates./ i1 B% O/ z6 n( F$ u' Q
The link does not include a merchant URL.' E% g5 U9 _/ R6 D
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
1 O: z5 B% T) ?% dOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.4 G2 z' x) j+ K, g- Q9 Q; H
The format for a text link will be:
( @1 x! f2 w1 {7 c6 t- D* K4 A<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" >
$ t: d+ p( ~* q/ z3 y DPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
: D" E" T& {& O# f+ o4 TProvide link text for the user in place of [LINK_TEXT].4 B/ d) @& p/ s# Y, X
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].
, ?" G' I1 T4 F Q1 n# `6 gThe [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]. t) K/ d( b& r1 I- d# R3 S }
The format for a banner link will be:1 w- A9 D7 C, q: S( p( 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" >
) `7 l& ~; o; h, IPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].$ o# q2 U8 Y5 n& a! n H
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
8 a! E* h! Y& Q' |0 J+ Z; 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].
" t6 J/ w; ?% i1 Q$ P% L- j; 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]. |
|