|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
0 `& |, d7 ~% J( E4 c7 |6 h3 J' B" d0 G0 @" z& }8 d9 y( d: }6 w
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.9 W, o" j) C# f. Y; @2 @
9 b* g1 C8 p. T$ ^
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.
. T# j! v* d' T+ N( ~
! E7 F1 T t+ ]+ V' e- sURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):; B7 O: i% }% g, Q; g
http://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>% r* m. \0 z- ^ l7 L7 `: p0 Z; R
The token ID can be found in the affiliate interface on the RSS Resource Page.
1 m5 C1 B9 f' H3 ~2 O3 DThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed., @# l ~" r: r9 b
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.
) B! c) |9 t0 n- d3 l& OA URL with these fields populated might look like:
' Z. x: N- q( W+ ahttp://getdeeplink.linksynergy.c ... 637c015c38358d4c01a* ~2 V% v. g$ C3 G' d9 t
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
; N6 M/ |9 G+ G; M9 i
! s, Y1 N" ~8 F/ R4 P& ~+ kLinkShare will return a click link in the form:
6 b( ~7 j* M% t+ Y" ohttp://click.linksynergy.com/fs- ... pe=10&tmpid=939
7 }& ]1 z# S, E: K& O* R( c&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth
/ z2 T4 A5 R7 F; S" }- h%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0* J/ `" i' @8 b: Z T' F* c
%2526page%3D1%2526matches%3D24%2526qsort/ J, r/ |8 m+ l2 g! J4 ]
6 Y$ v( `* i) |$ e% u1 C8 k1 xThe system will give errors for the following situations:% h$ H+ s5 @8 k: L
The link is provided in an invalid format that LinkShare cannot parse.0 P1 @3 N! s3 v' U* u8 P) D2 M
The link does not include a token ID.
4 o6 f1 |* e- u3 oThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.; f+ R" N% W( k, B5 d$ @7 p
The affiliate is not joined to the merchant MID included in the link.
' g- I: V" b! n1 A% h+ qThe merchant MID included in the link is invalid.
8 c; A5 ?8 B/ H3 V9 y* b' yThe link does not include a merchant MID.) C, c4 v" t* [" U% C
The merchant does not have LinkGenerator enabled for affiliates.8 O* L! z* E* f. j2 i6 `. W* C
The link does not include a merchant URL.
5 X2 }) _- b% i: f2 fThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.
1 r" M, Q# V8 R" k; y# _Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
2 t# }+ Q# u% o$ N8 ]+ q- [& ZThe format for a text link will be:* @3 ?' e/ \6 W6 @1 ~$ W
<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" >
' t# h( E) {5 _2 c. ?1 vPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
# p6 k: V9 ^+ E- DProvide link text for the user in place of [LINK_TEXT].6 G) g2 |; _! A) ^8 r& 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].$ T8 ~. l5 j* U
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].
- L1 D" e7 t) H1 z& JThe format for a banner link will be:
. W' ]. P- D/ ]0 G5 r0 O# 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" >
2 P$ L* m3 E/ X. R TPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].2 L0 d+ i# w/ Z: \
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].4 z5 k# v8 l, J' H/ a
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].
3 p8 D- ?" d5 P0 ]) `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]. |
|