The Largest Advertising Network on Twitter
Effective, Fast, Easy and Higher ROI
Login  
<<<

getAdLink

Method Description

Return the text and tracking URL of an ad for tweeting into the Twitter profile of a specified Twitter user.
If confirmed by the ConfirmLink method, Valid clicks on the ad will be credited to your RevTwt account.

Arguments

data[user]   (Required)
      Your RevTwt API user id. This is used to credit the clicks to your account.

data[key]  (Required)
      KEY for your user id

Apply for API license to get your user ID and key

data[twname]  (Required)
      The Twitter username of Twitter account to which you want to tweet the ad. You can only tweet an ad
requested for a Twitter account to that Twitter account. You will not get paid if you tweet an ad requested
for a Twitter account to a different Twitter account.

data[ad_category]   (optional)
      The category of ads you want to post on Twitter. Default is All Categories. See the list of categories at
the bottom of this page.

Response

The response is an XML file containing the ad text and the tracking link. The ad and link must be tweeted
exactly as is provided. Any change to the ad or link is a violation of the TOS that will result in the
revocation of your API license and forfeit of earnings.
Example Response:
<links>
	<link link_id="3" ad_text="I'm getting live demos and instructions from a certified fitness trainer in the 
comfort of my home." link_url="http://tinyurl.com/ldduj6" /> </links>


The ad must be tweeted exactly in the following format:

I'm getting live demos and instructions from a certified fitness trainer in the comfort of my home.
http://tinyurl.com/ldduj6

Error Code

105: Database error
106: NO ads in the category
107: Exceeded the limit of 4 ads per day per Twitter account
108: The ads category is ONLY available for Elite Twitterers
109: The Twitter account has less than 50 followers
300: Invalid Parameters, e.g., USER ID or USER KEY is empty
400: Invalid USER ID
404: Invalid USER KEY

Request URL

http://revtwt.com/api/urls/getAdLink.xml

Usage Example

curl -H "Accept: text/xml" -d data[user]=your id -d data[key]=your key -d data[twname]=example tname
http://revtwt.com/api/links/getAdLink.xml

Valid Categories

Here is the list of categories to be used in data[ad_category]:

Other
Careers/Jobs
Dating/Personals
Deals and Free Offers
Education
Electronics/Gadgets
Entertainment
Fashion and Beauty
Financial Services
Games
Health and Fitness
Make Money
Politics
Software
Sports
Travel
Twitter Related
Websites


© 2009 RevTwt.com      RevTwt is not affiliated with Twitter.                                                                                      About / FAQ / Terms / Privacy / API / Contact
Twitter Advertising and Twitter Marketing Platform( 0.00206518173218 )