|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
: t) ]- R5 v7 y% x
c/ j7 H7 w/ y4 @( y3 q' hThe 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.5 }, }9 a2 p | e7 M3 H
6 Y9 J- h. d T. R9 k' c% o* ~
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.7 w4 W9 n9 `2 y. A* T
T Q$ p& t4 L
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order): ?! j# k- S& y1 j! G1 H4 u O
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
& `' u! `$ G$ TThe token ID can be found in the affiliate interface on the RSS Resource Page.9 l+ g! T, }# n# b8 \3 J( B
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
]" e. t7 I, `( `# pThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
3 A9 q6 K* s. z! J% z/ vA URL with these fields populated might look like:
+ S, Z3 h2 \. E5 a! [! R! ~http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a& d8 V1 v( j# o! E# N
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes% T( c% E ^7 M4 ~1 d8 `+ `
! z2 f+ A, n% u$ B' s
LinkShare will return a click link in the form:+ x% P7 c7 Z0 B+ `% c$ b- n
http://click.linksynergy.com/fs- ... pe=10&tmpid=9391 A. E- e( J2 M3 w$ A% {2 B
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
8 S- f6 m* ?$ `& g* Z. X* g# M%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
Q$ P' N( i3 m%2526page%3D1%2526matches%3D24%2526qsort& w0 [, x9 y7 b7 E7 g
* g. L4 j0 U2 F% F
The system will give errors for the following situations:% _# M. P+ l |9 G, u0 F8 k
The link is provided in an invalid format that LinkShare cannot parse.
, x9 V; T# }* y; lThe link does not include a token ID." k; X( e5 c( W0 u+ z* B( {* T F
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
+ R. D4 ]3 X4 p. N" \4 N" mThe affiliate is not joined to the merchant MID included in the link.
4 X- ]1 j% }9 R+ i0 M; dThe merchant MID included in the link is invalid.% L% C. S+ p" Z2 L2 `
The link does not include a merchant MID.
- r$ x2 V. Y9 e$ b' l. q. KThe merchant does not have LinkGenerator enabled for affiliates.
. P" [# c, o* `3 r/ r" v0 n9 SThe link does not include a merchant URL.8 m7 a* t# ~5 w, a% B% K! n5 m
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.) ~! f$ W: p; T
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.. v$ _4 q1 |4 {5 o; S, y0 l
The format for a text link will be:
( y* D% }. h( j& r<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" >; P6 ?0 |, q+ L% d2 ^6 m2 }
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].- L; ~% ?1 t9 u0 Q5 H3 h8 j
Provide link text for the user in place of [LINK_TEXT].
9 X7 i; d0 W d+ M. s! N- TThe [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]./ D! L7 t) i0 X0 U, u6 z
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* |/ K; C3 P$ TThe format for a banner link will be:
% @) P/ W8 L9 a; }/ U# d* Q9 v<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" >2 \. e5 E% w x) b9 ^0 n6 c
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].$ B r0 S" z9 ]
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].( H% X$ ?" ?5 g9 }9 E. o% n- r# B
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].
% q, I5 Y* Z0 h4 N. w" vThe [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]. |
|