|
|

楼主 |
发表于 2013-1-17 10:54:21
|
显示全部楼层
Automated LinkGenerator
. J |+ J) X/ e, a3 r; \) h
7 u7 x/ k3 Z1 w+ FThe 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.7 b8 M+ B s |
8 I0 H+ ^; O/ Y8 V1 l5 \' BTo 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.
: ?$ _$ s" W7 u2 C2 j( H( j" {9 b5 w+ }; T8 i. L; H- k# P/ I, ?, c5 t
URLs are sent to LinkShare in this format (with the token, mid, and murl parameters in this order):
5 }" z0 F: ^7 |3 m. G- d; g* b* U5 Thttp://getdeeplink.linksynergy.com/createcustomlink.shtml?token=<token-ID>&mid=<MID>&murl=<URL-from-merchant>9 H4 P7 s. l2 z; r z1 Y9 b6 T
The token ID can be found in the affiliate interface on the RSS Resource Page.0 K/ s0 _. C! C5 n( d5 ?2 L
The MID is a unique identifier for the merchant. It can be obtained from the Web Services--Merchant Links Feed. v! ?" D9 f* m5 V* B: `; t4 b
The URL is the landing page on the merchant's site. Special characters do not need to be encoded.2 m M% m% |* ?+ e
A URL with these fields populated might look like:: X5 o& }. x4 S7 [
http://getdeeplink.linksynergy.c ... 637c015c38358d4c01a# B, a2 Q7 a( n: p2 k
3f48876d62ff7409bed1&mid=560&murl=http://www.merchant.com/productpage?prodid=1224231&buylink=yes
. [+ e$ [7 @) H# H$ E3 V" w! A7 S4 k& r# }: X; Z
LinkShare will return a click link in the form:
+ |2 [) H' \4 j! S+ y2 B+ [" ohttp://click.linksynergy.com/fs- ... pe=10&tmpid=9396 \$ a, N3 F W' ]& J
&RD_PARM1=http%3A%2F%2Fwww.merchantname.com%2Fsearch%2Fdetail.cfm%3Fchunk%3D25%2526mtype%3D%2526wauth- G G3 r r, [ s7 K( x
%3Da%2520name%2526qwork%3D2875272%2526S%3DR%2526bid%3D8713366401%2526pbest%3D2%252E95%2526pqtynew%3D0" A, R! e- f& W# c# l
%2526page%3D1%2526matches%3D24%2526qsort
" u8 A1 H8 T* ~+ X- u4 m. N2 Q* A
, B d( B, r# A. |1 ]; D& q$ MThe system will give errors for the following situations:
2 U- v. Z, O' z% W2 j9 m; SThe link is provided in an invalid format that LinkShare cannot parse.4 J6 {2 ~: L% u
The link does not include a token ID.
# Y Q/ E& _" ?, d: Y' mThe link includes an invalid token ID, for example if the affiliate no longer has Automated LinkGenerator enabled.6 f+ i8 V# C& u4 M$ g' H
The affiliate is not joined to the merchant MID included in the link.
5 p3 N+ Y0 t+ `The merchant MID included in the link is invalid.
1 C2 ]/ L# N. S6 K7 JThe link does not include a merchant MID.: f) b3 [# M: B ]$ O" Q
The merchant does not have LinkGenerator enabled for affiliates.
w. @; g& j: e1 o0 L1 O) A6 [* [The link does not include a merchant URL.
1 I+ a* A9 K: IThe affiliate has exceeded its hourly limit for using the Automated LinkGenerator tool.- y5 |/ [2 y5 @& l! u; {
Once LinkShare has returned a click link, it can easily be placed on your affiliate site.
' S# H! w( g6 O/ `( YThe format for a text link will be:6 _7 }* X/ i4 s2 ?' F. @
<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" >
3 M6 S+ ?1 x1 c* Z5 sPaste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].3 I3 z( p# e0 J* J* q
Provide link text for the user in place of [LINK_TEXT].6 O! k6 n" M j8 A- k9 k; _
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].6 h" Y6 H/ r; L: v4 D& G& _
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].0 c5 Y: b) q$ }2 [4 ]& g' n
The format for a banner link will be:+ T1 u7 L( w' S; U+ U5 i
<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" >
- x( j/ V) S5 K1 J7 I b" [ ]Paste the exact return value from the Automated LinkGenerator tool in place of [CLICK_URL].) l" `9 s& S4 e: E9 ]# p" e
Paste the URL of the image on the merchant's site in place of [IMAGE_URL].
4 W- x4 [* e! v; _# C3 c* XThe [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].
# T% K2 n. e; ~9 aThe [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]. |
|