|
![](//adt.ihstatic.com/static/image/common/ico_lz.png)
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator# M. b7 v* ?! f8 d
9 F) T5 Y, B# S* t3 \1 a4 oThe 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.8 l! T% q5 z, r) n% ]
1 j' k/ k4 E& D j: \6 P/ z9 |
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. n: r& i0 [* @
$ v- x8 {8 M" K7 E$ W- k
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):" s! r; x: b0 w9 P3 ]$ i
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>4 q5 N6 j5 O/ X5 ^8 M; \/ u8 I1 h) G
The token ID can be found in the affiliate interface on the RSS Resource Page.5 P' X* f3 \8 C6 _
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.1 p: T' [3 r/ t$ S4 {' H2 M
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
2 [3 ?: V" H2 A, E s+ u3 }A URL with these fields populated might look like:3 V R" F! `% c# A; L, V x$ R7 V
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
) p2 R1 ~/ ]2 y; a4 k! {3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
+ Z% H. K/ E/ p+ R5 O
7 H6 `. w# U) [" ?& E+ `LinkShare will return a click link in the form:3 d+ F$ a+ g! ~$ O1 Z
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
6 h) h( ?- O4 A+ a7 A/ V# |. F( o&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth1 n [; r" h+ [* Y9 j
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0
5 g% U. L2 U2 M& U$ f/ X%2526page%3D1%2526matches%3D24%2526qsort8 d; z$ D6 {, l: m% U) I$ R& }
) ^ }; I6 f' \& O6 d! ?
The system will give errors for the following situations:
% ]* f" @$ a$ Z3 K2 w, q# R ~7 GThe link is provided in an invalid format that LinkShare cannot parse.
+ ^3 e1 L6 M, NThe link does not include a token ID.
2 m5 h, [2 Y2 h2 G* {1 q# M* @The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled., [. ]+ t# a. i: A+ o$ B
The affiliate is not joined to the merchant MID included in the link.5 ]' e0 A0 Z7 H* i
The merchant MID included in the link is invalid.7 {) j9 ^: W: E2 D, K3 X. _
The link does not include a merchant MID.
) ]8 l4 J, B/ ]6 l4 `- e aThe merchant does not have LinkGenerator enabled for affiliates.# k- t% k! k5 r. B8 u/ f7 Y: ^
The link does not include a merchant URL.2 }7 L5 K/ M z3 N% d+ [
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
9 C& \. m2 _$ \# N4 t7 DOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.
5 O3 \2 B4 k7 w( [+ _& sThe format for a text link will be:) b: V6 @/ 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" >
- c# d2 B2 L& Y A6 M) kPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL]. m8 N4 J( V$ Z* c h- b
Provide link text for the user in place of [LINK_TEXT].
: o7 x+ }! d' O" G8 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].
; i+ n. y8 O7 c4 DThe [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].
$ q1 t' n" W/ z, s) a( iThe format for a banner link will be:. g S) d0 t8 u2 ]/ s
<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" >
k$ c3 E% u4 ]6 i3 MPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].3 t$ R9 X- D. x) s
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
9 D; x ?( r8 t9 W8 @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].
$ x- W2 w; q8 R2 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]. |
|