|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
4 I' K8 u4 u2 R5 P1 k* ?/ R n: B
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.
$ D6 a/ ? J0 r. n! Z( ]. D
, J# F, o& q& H& F$ j/ |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.
! b# e* t% E0 B6 `* u* Z* u J: H% _$ a% ]
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):( a7 ~; a! T/ f* ~2 d! {
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>) j l; \; B4 S! h- w, B
The token ID can be found in the affiliate interface on the RSS Resource Page.2 ^1 n& K! Z) s( V% {+ x
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
; ^; g- `+ y& MThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
2 O/ ~0 J# ?- r7 aA URL with these fields populated might look like:
: _) @! M2 _0 Ahttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a: ^7 |) w3 T+ t! O& a
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
$ ]) }, M' y' C5 w7 G3 k4 K4 r
, F+ G3 n' r" k( H1 i* M' v. z0 l& `4 oLinkShare will return a click link in the form:
0 h2 v! L& D% T2 K0 C& Yhttp://click.linksynergy.com/fs- ... pe=10&tmpid=939: |7 L A5 n$ q* P4 z
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
3 Q, m0 l' a: u8 D%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0: D/ ~7 c: T# T; {" Y* c z
%2526page%3D1%2526matches%3D24%2526qsort
/ A0 M0 t! [; h& g1 }9 s/ l( a) r! N7 r! i
The system will give errors for the following situations:
& o* T/ q: A2 k3 l5 R' k$ |The link is provided in an invalid format that LinkShare cannot parse.* ^. a$ K7 N" f: t0 x
The link does not include a token ID.3 U# p0 q. B" [6 P
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.. D$ v3 S) z M% T! `
The affiliate is not joined to the merchant MID included in the link.6 X' y) G0 v/ {" i* M8 ]! }
The merchant MID included in the link is invalid.
4 O; T$ ?# `7 u2 a9 R/ BThe link does not include a merchant MID., g4 o4 |2 D/ I" h* K
The merchant does not have LinkGenerator enabled for affiliates.) Y9 P# x/ E( V1 Q: p: @
The link does not include a merchant URL.
) n* G4 ~' `9 T! P& cThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool." L" Q( `7 T- ]# t$ M; j! x2 L
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.- ~1 [4 Z2 {. k7 G; z) I; }) `; ]
The format for a text link will be:- a' K0 ]* @, N7 n. [- Z/ @8 y3 C
<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" >
$ x! Y4 _3 q+ N9 A2 ]Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].2 A/ w; D; V3 v# c b2 a
Provide link text for the user in place of [LINK_TEXT].. e* A' e3 o [& F& W0 o0 \
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].
7 z, c7 i% X" A$ ?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].
h% D5 x, A8 T7 t' k2 QThe format for a banner link will be:
& L' t/ H- I# i4 T, K<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" > R C9 Y7 V' j; a0 p1 w; g
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
) e% u! C X, j# N6 ?3 d! r% DPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
1 N* H$ N0 a& h& o5 SThe [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].( Z7 a$ T4 ]! D9 ?
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]. |
|