|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator# \ w+ O' R2 p9 O. u
6 L7 J. c3 h8 I+ v2 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.7 `5 [% K4 J4 `
) J5 s( ] 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 U+ z* J9 b2 ], U' ]
; b6 o2 P- x% y4 Y: mURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
2 g! [' A, G @7 ]' Qhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
. l5 L* ~6 n- r9 j wThe token ID can be found in the affiliate interface on the RSS Resource Page.
6 [+ X t9 |) e0 `4 W3 aThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed." [: X: x, V' O, ]/ o# F
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.2 M/ c/ j% ~2 n1 ~9 ~6 C$ O
A URL with these fields populated might look like:7 M; @) o/ S/ N, S0 y2 l# [
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
! s. P* R/ Y+ Y" t6 t3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes# U8 V d2 g& |! |
+ I. ]# s( `6 P# U# @" j; B2 VLinkShare will return a click link in the form:$ K4 K; n+ d) t+ D; L% [
http://click.linksynergy.com/fs- ... pe=10&tmpid=939# R* V1 a2 t {! \, \0 G
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
X/ t/ z& I( B$ f7 o$ a%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
' O4 B, g) g9 [: L5 p%2526page%3D1%2526matches%3D24%2526qsort; h, K) u: x5 m5 X/ {
- ]8 ^" \; S$ @) L, nThe system will give errors for the following situations:! g8 y' `5 Y, S; p8 ^' ~( r7 ?
The link is provided in an invalid format that LinkShare cannot parse.
! E0 ]2 v: x |! C5 A5 w3 SThe link does not include a token ID.5 o3 O( _* D5 J9 v' R! T5 U
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
# G. m( C5 p) N ?9 ^; MThe affiliate is not joined to the merchant MID included in the link.
5 J8 o, n5 Y4 u8 Q* x6 U' MThe merchant MID included in the link is invalid.8 X' y- ?8 j& {: _
The link does not include a merchant MID.
+ o5 ]" k$ Q. R" |$ F! C6 j/ KThe merchant does not have LinkGenerator enabled for affiliates.$ O, E4 T5 n+ R
The link does not include a merchant URL.
& i1 b8 K: F$ [" Z) sThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.! f+ A& v, F' N
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
. @3 m5 n4 w; w" C1 }! vThe format for a text link will be:$ D" K4 B2 M* q$ X7 B5 ^
<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" >
$ q% I- k# g5 f8 FPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]./ f3 Q' X# K' m4 y' m
Provide link text for the user in place of [LINK_TEXT].
e q0 H8 ~ K8 {% m4 Y, L) M' m+ cThe [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].+ @( z: `( M5 O( z0 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].9 M; f5 J( t! s
The format for a banner link will be:
: t, C5 B1 w* N9 M" Z; x<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" >
* L3 L, ^& r; g% \% P+ }Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].4 r9 L, m& ^6 S: W
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].- F% e+ K) a* G# `
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].
4 \* `. ?$ k0 v$ P7 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]. |
|