|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator' Q" Q P' `: Y+ @3 o" S/ [
' _$ z( G, @1 l' y4 I
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.; g% K) j4 e8 R( @3 h7 x
8 y. @) o$ k' N0 P1 P8 K( I
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.5 x/ x U! J1 U( T$ d2 A, K) j/ q; _
1 e- [" U& [+ \" N5 A! t6 w9 C9 HURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
/ Y ]+ J$ p" K! k5 ^http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
$ l8 p% S# ^8 }, vThe token ID can be found in the affiliate interface on the RSS Resource Page.
; U" u0 {- | J. [& sThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.) ?0 x: t6 U4 n& Q3 u
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
! h) m, O& q, l# ]4 _! SA URL with these fields populated might look like:( ]) i# }5 {% n2 G, Z7 x$ |
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a+ a5 J" t- ^8 T' O# H& q- m& @
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes# F' [1 p* }5 P8 ?0 L2 p- J0 j
0 A; H6 s# a; H" f; H1 pLinkShare will return a click link in the form:* d5 C' z. d! n9 U" T5 K3 |
http://click.linksynergy.com/fs- ... pe=10&tmpid=939+ ~. k2 l: T7 Y' @, ?( X4 t: l. C
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth. {: H5 L. H3 b# @1 b! k
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
( F, Q" T5 q+ l* ?" }# B( S+ q%2526page%3D1%2526matches%3D24%2526qsort
- R) ?; ~1 N. \: c) X9 E: h$ P. ]
' y6 [. H `; r; a/ JThe system will give errors for the following situations:( ~; d5 l! W, d$ M4 ]0 E5 L" w
The link is provided in an invalid format that LinkShare cannot parse." D7 {9 {4 F! `
The link does not include a token ID.
. P1 e. l/ X" {8 P& `3 @7 W; oThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.1 y' G1 ^% s; j2 m
The affiliate is not joined to the merchant MID included in the link.
* V( s( z6 n/ ^3 pThe merchant MID included in the link is invalid.
. }6 r' W0 Z' f* YThe link does not include a merchant MID.4 A4 j6 D1 c1 p% g; g$ e
The merchant does not have LinkGenerator enabled for affiliates.
Z1 D0 X5 P; mThe link does not include a merchant URL.
7 R$ F1 A0 R" W: M+ s4 F. \ RThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
: l+ T: A( ]$ B- l; SOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
1 _7 r6 x2 L" J8 A( y" f K/ uThe format for a text link will be:
* x8 ?# ]' O& A( q+ 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" >
& w# z- S8 `0 u' NPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].7 c( n. `( I4 ?9 f9 R, `, c
Provide link text for the user in place of [LINK_TEXT]." O. b# O `1 w2 M9 G" e
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].$ w* t2 v' j6 C2 U7 b6 i, B% x
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].
. t2 ]# S3 _/ G1 G- M4 f# XThe format for a banner link will be:4 V# x* V& m5 u2 C
<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" >
) Q9 `; {2 g2 P" jPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
( ^( S: ]% E% q/ O3 G6 k9 FPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
) A, k" d3 l- j0 D9 Q, ^( gThe [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].
* N% C$ f0 t( V; TThe [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]. |
|