|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator5 Y, K& J4 I/ o6 B- Y
$ I' H% a: h3 WThe 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.1 J' t2 K+ V* y' X4 d A
( A! O( z3 ~$ s$ RTo 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.
& U# R3 g* \3 z0 z$ E( F6 w# J! B) E
3 q0 J5 L* E2 o4 h0 aURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
7 Y) n2 j# z7 V" \4 Bhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
, U- j8 F7 g# N: Y* C' ]; n/ VThe token ID can be found in the affiliate interface on the RSS Resource Page." X. T- L/ g+ N
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
5 u5 n# e0 x# [3 h/ U6 k/ OThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
" ]/ K9 V+ U" j. v s1 NA URL with these fields populated might look like:, F% u' E5 t8 B j: ?
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
7 k* B" K {+ n) B' D3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes1 o6 U8 P, R5 S; C' Y" L: F; g. w& D
2 Z& @3 H; w9 L4 }* S% PLinkShare will return a click link in the form:
+ d" t0 _% `* ^3 M3 jhttp://click.linksynergy.com/fs- ... pe=10&tmpid=9395 J/ {4 m( M1 n: G0 k3 s
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth# X5 R% `' U5 f. Z$ C$ f
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D01 u8 Z/ k: v5 o) M
%2526page%3D1%2526matches%3D24%2526qsort
Q3 I- u. I' ] u+ f, m
$ p4 ]: P& v9 S) G0 _; h% F: R# NThe system will give errors for the following situations:" O, { K8 Q# @7 {' d
The link is provided in an invalid format that LinkShare cannot parse.9 p1 a# q% a3 E# C; E+ z" r
The link does not include a token ID.& p k6 C1 P; j- t* _
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.: ?- ?+ l- |: Q
The affiliate is not joined to the merchant MID included in the link.
! z6 n% B( O7 ], w8 U4 s' ]) AThe merchant MID included in the link is invalid.
7 Y8 I5 p, s k# h$ A3 z# TThe link does not include a merchant MID.7 h4 E/ k4 o" v
The merchant does not have LinkGenerator enabled for affiliates.* {% P: M+ ]( i+ H g) d! d
The link does not include a merchant URL.
8 R$ a q8 ?0 E# w* JThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
* B, F7 U3 W2 d" ~# {5 rOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
5 W/ _2 ?* r& u: e, K( h& K" eThe format for a text link will be:
8 \. Y" @+ ]3 C5 U$ 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" >& c8 ]2 E$ _- O/ A
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
7 C7 L) P( B/ x q- QProvide link text for the user in place of [LINK_TEXT].
{' D" t" G! ^% H7 d2 U4 WThe [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].
' p! I0 ~) d9 G3 c8 a5 ^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].
! s6 U# B' i3 F' P5 LThe format for a banner link will be:
+ O% G; q4 [, 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" >8 @$ L- o- T1 V. z) [) K
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
+ d. k* _+ t7 I( i6 ]+ @* gPaste the URL of the image on the merchant's site in place of [IMAGE_URL]./ ]0 z* P9 D' ^$ \1 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].
6 g7 m8 B+ H& X5 ?8 NThe [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]. |
|