|
|
楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator+ W% C X: B' \3 T( l w
* Q% B# Q0 N6 g s8 E" g, kThe 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.- Z$ [! W! f* a/ v* C
7 O- A# ?; u8 r( O* e+ \- \8 ?$ d3 d: ?
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.. S2 y2 R0 z0 P) ~, w
3 ?. U' N3 l$ v8 iURLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
0 e t8 k/ F' s/ Q) Nhttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>/ R/ v Z& j, N! D7 [
The token ID can be found in the affiliate interface on the RSS Resource Page.
' |6 u' p) T8 L1 g3 NThe MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed.; i% Y$ B& p' q$ Z
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.6 z* h# p1 X7 A2 H
A URL with these fields populated might look like:9 [# G' Z4 k# y& z/ U4 W
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a
: O/ R7 N, B( C3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes+ m, A' Y5 s# `7 R- v
9 L4 O! A6 H4 k1 H7 mLinkShare will return a click link in the form:
5 Z0 v4 M" n ?8 K, ?2 Y) s" \http://click.linksynergy.com/fs- ... pe=10&tmpid=939
1 o# o0 S9 `) W, x! d&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth7 t7 Y5 g& X/ e2 H! x4 Z3 w
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0% W9 }' C2 r% f" g! s
%2526page%3D1%2526matches%3D24%2526qsort
7 t; x! N7 e5 A) _+ c6 B7 E1 U- m Y0 l1 s
The system will give errors for the following situations:- y1 s) W9 ^2 d( x
The link is provided in an invalid format that LinkShare cannot parse.0 W7 c9 o& G( H5 i2 s
The link does not include a token ID.
- t3 f/ j5 d4 M6 t) |The link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.& n0 G$ T z* Y% g
The affiliate is not joined to the merchant MID included in the link., H3 G4 O, f: |# j' e
The merchant MID included in the link is invalid.: G6 g1 {9 f& D
The link does not include a merchant MID.& J& x' |$ z C8 b0 g4 n8 d
The merchant does not have LinkGenerator enabled for affiliates.5 X) B5 c( V5 l$ G* b# S& s4 h$ W
The link does not include a merchant URL.- y5 ^9 l/ H' T! [9 Z
The affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.! G" t' a3 s6 _6 e0 ^+ ^" Y0 ~
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
' d* a' ]* v2 ~; XThe format for a text link will be:6 I1 ]9 d& [! H
<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" >
$ F6 c/ c; m ^2 i& c0 B) u" ]3 DPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].
/ C- F, P2 d& A0 K: bProvide link text for the user in place of [LINK_TEXT].) P6 }0 L/ t% l7 k0 f
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].8 o3 `. m! e: x2 [
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].& R4 Z/ o0 Q5 H& d, A
The format for a banner link will be:
$ n7 @: |/ G, z- M<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 {6 C; S: ]+ c5 G. v( O3 r
Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].# ? F9 E) f7 S0 Q# G
Paste the URL of the image on the merchant's site in place of [IMAGE_URL]. z8 k# N/ O" Z& [! F% [
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].
8 K2 U0 p- Q2 L# gThe [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]. |
|