|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
8 ?3 F9 L7 u! x. h, u" a9 Y0 S4 p) \' a# L+ z
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.1 E1 Q7 c+ e8 }
2 T1 M. x% [% f" V5 Y1 k# X
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.
, d6 ?* R: v! {6 M
' y# ^1 V& a) C+ b. @URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):) b2 c1 n1 y9 u- O$ [( m4 k
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>3 ]) S: H3 m7 `/ F1 X
The token ID can be found in the affiliate interface on the RSS Resource Page.
4 \4 |$ \" Q* L, T; ^The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.& M8 b% z2 |% H3 l4 l/ N# V4 s% W1 A
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
' x! X( C! L1 oA URL with these fields populated might look like:. g( n* U7 d9 _7 J
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a! W$ B5 P3 Q" z* u
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes; c- q, C B$ K, Q: ]9 n S4 G
- R! K' i/ h3 z" l7 c" i1 C5 w. q! K
LinkShare will return a click link in the form:
! d! B1 C9 E- G6 khttp://click.linksynergy.com/fs- ... pe=10&tmpid=939; o4 Q3 b: q. N2 A# W- Z) X# Y
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
- A) ~2 p# v7 q2 J5 ^) I%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0% I+ p) }- L; ]1 c! C+ [* s
%2526page%3D1%2526matches%3D24%2526qsort
6 y2 ~% t" ^/ t7 {# \+ a% b- A3 [2 ]; f0 g( V5 R e
The system will give errors for the following situations:
+ G' u5 d+ l4 V; ^8 fThe link is provided in an invalid format that LinkShare cannot parse.* e& _: j3 D8 L+ V# X. }
The link does not include a token ID." N& |) V6 b; _+ ]: U0 u, `* b
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.8 ]! ^0 w( T; e
The affiliate is not joined to the merchant MID included in the link.
9 }; B( v) }# H( h& o& v: i bThe merchant MID included in the link is invalid.
, Y: i" G+ `. W4 d7 f' Y# Z. yThe link does not include a merchant MID.- ?8 ] e2 y9 g6 S$ i
The merchant does not have LinkGenerator enabled for affiliates.
6 e N3 P6 y8 uThe link does not include a merchant URL.
. B* i* Y# V; `: |3 d" v$ `8 ]% j) sThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool." @* A2 E/ B R) q
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.3 x2 G0 n" d0 d; W( x
The format for a text link will be:
w, Y$ e% I0 x0 @ l2 B; n<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" >- {( [) {) E! v ?& M3 U
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].+ o) T! Z, W! s
Provide link text for the user in place of [LINK_TEXT].! D# S1 _ c. k6 i4 i1 }# s6 R3 W
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 s% F& {9 _& E! R: M
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].
$ k ^7 Y, x2 [: c5 bThe format for a banner link will be:
4 t. P7 J, x* f- F+ L" o# n! J<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" >
( j/ w0 {7 b' d- H- D# L- |Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].+ q% l0 {$ G" }+ }
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].. L3 i! t7 j( r6 o1 V k5 r
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].1 f* G2 y! @* ?
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]. |
|