|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
. J0 C: t0 p- f" p
, M3 D. }% P( H- E* p' q/ @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.
& v7 s5 E# [ u, S( p' Z
" I* A" Q6 b0 j( z5 xTo 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./ e3 s! |" v! c2 l+ O
: G! \0 d- q4 D5 y+ i- E3 h- B
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
7 s8 S1 ~5 R- G. ?3 J+ Phttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>
" z" P( H+ [( O: h5 b. N! c4 y% jThe token ID can be found in the affiliate interface on the RSS Resource Page.7 q2 }6 B# ]: O6 c j+ g/ v
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.
5 i: d @$ i1 r0 J A8 R1 O. S9 aThe URL is the landing page on the merchant's site. Special characters do not need to be encoded.
* C) F% w \5 Z1 v: [0 [8 UA URL with these fields populated might look like:& p6 U3 r& k2 c- e1 ]7 ~
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
# \3 x9 [; ?: { S: L3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
+ N2 R0 M( k, O8 }
# Q) B5 a" r+ I8 U: l$ zLinkShare will return a click link in the form:5 r. d a: [4 z% T, P: ~7 p
http://click.linksynergy.com/fs- ... pe=10&tmpid=939
8 A* ]! t! _# E! y$ S% c* c/ m&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
9 s( n! B. N* f, d( ~%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0* J0 l& ^# `( ]5 v A
%2526page%3D1%2526matches%3D24%2526qsort
9 _- C% e! @5 e" Q/ r( u- `
9 m" r7 x- j8 `/ @& q6 N+ |; i5 }The system will give errors for the following situations:- z% Q9 n+ ?1 h# F3 j$ q
The link is provided in an invalid format that LinkShare cannot parse.
1 W' M+ F% p( G: S- `" dThe link does not include a token ID.
, r! R# B+ e& _4 ?9 U1 _ ]9 sThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.( V9 k! x9 V0 {/ W9 R
The affiliate is not joined to the merchant MID included in the link. m: r3 B1 @/ I
The merchant MID included in the link is invalid.
1 s3 D) n8 [& S Y6 J) J: sThe link does not include a merchant MID./ J2 S/ H' j: P3 l$ {( u) U, f5 W
The merchant does not have LinkGenerator enabled for affiliates.
8 D( L+ o1 O% A5 s% RThe link does not include a merchant URL.: M# c1 N! j5 P& T
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.- o W* W: G7 y% c( P* y, H: v
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.; u5 ~: E- ?; X k0 ?2 m5 _
The format for a text link will be:$ W R7 m8 [2 o) r6 \' C3 J2 Y
<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" >; _) R9 o" l7 |0 q! n1 j' f. C+ }
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].9 y; ]% K( f( L, d; \4 Q+ g. ?( Q
Provide link text for the user in place of [LINK_TEXT].
6 P- [$ @3 l* U2 {3 c! m# h7 M% FThe [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].
. u9 e# K4 C0 X5 F' j) 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].* R8 X2 S; Z J, J: P
The format for a banner link will be:
, y) |& n9 _$ |+ n8 {) _3 C<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" >3 m+ K! S+ z* B8 s( O1 f8 v
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
. c) b1 Y9 N9 @+ PPaste the URL of the image on the merchant's site in place of [IMAGE_URL].( S/ f) _2 D8 b1 Q( \
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].
' N9 w& c+ m/ t/ t) v# RThe [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]. |
|