|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator) v- F3 s* m$ Q7 x8 Q' S2 l5 {
, k1 r* T) p5 J) t; ~" w# ]6 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.
& K0 O* @" v0 n' G6 s2 }0 ~) Z
* E/ Z# b+ P; A+ {8 ITo 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.' x# C' s# ~3 P- ?) X T7 [
" V2 o4 v6 M# I: G/ Q! rURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
) H( c- w* v. o( [http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>0 b/ h g! S$ q/ E+ T9 _
The token ID can be found in the affiliate interface on the RSS Resource Page." K, a. t- H% M& b/ C; r6 |
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
( l) S7 u7 O+ ^0 x2 J* e- n0 g+ zThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.4 Y8 X! |) U" Z
A URL with these fields populated might look like:8 G Y' ?* N6 d5 l8 [1 L, [
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
7 }5 M) h+ h& w) G: z% M3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes! P7 O6 g' U# A% A$ N8 J8 c- D
; |) i1 F+ _7 z; `LinkShare will return a click link in the form:8 c# ]- S5 z/ O
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
' f2 h3 s% z) _9 f&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
% p6 ]+ x0 L! v, L9 G3 W0 X%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0- f" `% a( D0 N2 |( @
%2526page%3D1%2526matches%3D24%2526qsort7 o* v4 t" K' H4 `
* u: `1 V+ a" R j( A
The system will give errors for the following situations:. t4 k4 J* p, y2 [/ J7 W6 E
The link is provided in an invalid format that LinkShare cannot parse.; c9 c8 L5 `) S. ?8 S4 P
The link does not include a token ID.1 E* m+ A s9 T R" D! a
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.$ i1 k( Q. h6 D# `8 s' x
The affiliate is not joined to the merchant MID included in the link.8 { c) d% e6 k4 D- l' g0 n( W# j
The merchant MID included in the link is invalid.
2 E; Q' W: a. g) IThe link does not include a merchant MID.
1 z {5 ^# ~2 SThe merchant does not have LinkGenerator enabled for affiliates.4 S! i: p( }% F v/ {4 t
The link does not include a merchant URL.
n# m/ a, y' o- Y3 b/ l6 _3 rThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
# q- b: t- q) @Once LinkShare has returned a click link, it can easily be placed on your affiliate site.; K M# [, ?2 W V. r
The format for a text link will be:9 E" k$ G, i0 g1 t/ O6 |* ~% ^
<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" >1 m& w+ P7 B) v1 b- [( n( n0 G* u
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
; Y' V- l# j9 ~3 u$ i% H4 dProvide link text for the user in place of [LINK_TEXT].. z/ ^5 d, U! M4 z7 G& T! {
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].
/ B& D8 D& G( d( |4 q8 v( YThe [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].( J7 a. t! c8 q% f2 R) e2 V
The format for a banner link will be:% ?$ z9 e$ _' F3 O
<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" >
3 v$ t- m7 P' y oPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- d5 _2 P" U# D8 p5 hPaste the URL of the image on the merchant's site in place of [IMAGE_URL].! V. o w+ i6 P6 [
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].
# ~* D3 ?/ J+ v' }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]. |
|