|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator' d$ T/ F5 o6 r( C6 u: d4 B
4 Q* R8 R9 O2 O! v S% IThe 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.! g6 }) ^" q- ~% b" {, u2 M9 a
8 K( U6 J) R7 K, J" B0 H
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.
8 T3 ? f; [3 X6 Z/ Z! F& K0 s$ q9 M' V3 q
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
) E: k8 }0 k0 N4 Qhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
" f* H- V, i6 n6 G+ VThe token ID can be found in the affiliate interface on the RSS Resource Page.
6 V2 \! _/ ?: `1 R" F0 e7 LThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.. ]( B3 x4 F7 U
The URL is the landing page on the merchant's site. Special characters do not need to be encoded., r6 s! O3 c' T9 h6 B7 h1 h* P; E
A URL with these fields populated might look like:
% N- H' g- p1 U; D3 }( Yhttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
9 X5 d9 N1 }5 P( o* F3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes: O5 Z# `8 ?8 `0 z# {& h8 w
: B" Q- M2 y1 w, w8 o
LinkShare will return a click link in the form:1 f8 b" x' Y* ?6 _) M
http://click.linksynergy.com/fs- ... pe=10&tmpid=939) ~. S* w7 z$ ~4 C; v l
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth7 y+ w; X! w5 u* L$ L, B
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0# {/ D& y: h1 x: A/ }. C
%2526page%3D1%2526matches%3D24%2526qsort$ b; t) C9 k8 ]0 Z/ u4 b) w% Y
5 s1 r: M2 u: V/ {. k# a+ z6 I0 l1 {The system will give errors for the following situations:1 }- L) [6 P# E$ O9 ?
The link is provided in an invalid format that LinkShare cannot parse.
9 e& a R' y! C" _& _2 e* IThe link does not include a token ID.8 ?1 i* f2 B& v
The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.
& n0 ?$ a' e8 m, ~# ~. TThe affiliate is not joined to the merchant MID included in the link.
0 n6 s0 x& z' kThe merchant MID included in the link is invalid.
& c7 J; A; e; ^% [* e& |, AThe link does not include a merchant MID.
/ x; Y$ X$ i$ u2 j6 l2 y+ OThe merchant does not have LinkGenerator enabled for affiliates.
" o7 J1 b$ }9 e( a2 KThe link does not include a merchant URL.( T! u0 j4 S' x- ~7 Y: o3 x* V
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
9 v8 q- ?$ g2 s4 e/ vOnce LinkShare has returned a click link, it can easily be placed on your affiliate site.- ?$ w; e/ X) [- @3 Z" ?
The format for a text link will be:
7 R% w: ~- G5 m0 V5 [- K" n! |: o<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" >
" U. m& o. D" R/ P. K, s, v/ QPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
3 R% u6 W9 @+ \Provide link text for the user in place of [LINK_TEXT].
1 O, c1 I- U7 c* H; z' 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].; ~" g B" g0 F
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].3 `5 w' v# d4 I
The format for a banner link will be:
. @: l' p) H+ T+ Z8 x3 e; p$ d4 i! Z<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" >* C2 R) M% F# C0 m1 i q9 R6 q
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
- R& U4 G8 C- N. q8 Y' _& d/ P, z" RPaste the URL of the image on the merchant's site in place of [IMAGE_URL].
6 B7 j6 L' W1 c0 X6 u, zThe [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].+ [/ M& W. q# E
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]. |
|