Features | Pricing | Demo | Clients | About

Help Center > Manage Your Account > AdSpeed API

AdSpeed API Overview

AdSpeed API (Application Programming Interface) is a value-added service we provide to all clients. Publishers and advertisers can write software to automatically collect information about their zones, ads, campaigns, and reports directly from AdSpeed. Web developers are also encouraged to use the API to build applications on our platform. We reserve the right to change the API details and decline or terminate access prior or without notice.

API Key and API Secret

You need an API key and an API secret to use the API. They can be viewed under the menu Tools / Developer's API. The API key is required on all requests from your application to our system. The API secret is used to sign each request.

Making Request

Requests are made by issuing simple REST queries to our API server. There is a limit of 1000 requests per hour per API key. Certain methods might have additional restrictions and specifications.
Sample GET Request
http://api.adspeed.com/?key=YOUR_API_KEY&method=METHOD_NAME&param1=VALUE&param2=VALUE&md5=REQUEST_SIGNATURE
Sample POST Request
EndPoint_URL = 'http://api.adspeed.com/';
POST_Data = array(
  'key' = YOUR_API_KEY,
  'method' = METHOD_NAME,
  'param1' = VALUE,
  'param2' = VALUE,
  'md5' = REQUEST_SIGNATURE
);

Response

Results are sent back in XML format, which could be read by any standard XML parser. Example:
<Response version="1.0.0 (build 123456)">
    <Zones active="8" deleted="2" total="10"></Zones>
</Response>

Signing Request

Replace YOUR_KEY and YOUR_SECRET with the actual value provided in your account. Each API call must be signed with the following steps:
  1. Sort parameters in alphabetical order. Join parameters with "&" into a string
    Example:
    key=YOUR_KEY&method=AS.Ad.create&x1=y1&x2=y2
  2. Prepend your secret string to the beginning of the sorted argument string in Step 1
    Example:
    YOUR_SECRETkey=YOUR_KEY&method=AS.Ad.create&x1=y1&x2=y2
  3. Generate a MD5 hash (lower case) for the string in Step 2
    Example: 
    8bdbcd6836ac0bce045384ab4c596928
  4. Append your MD5 hash to the call as an additional parameter
    Example: 
    key=YOUR_KEY&method=AS.Ad.create&x1=y1&x2=y2&md5=8bdbcd6836ac0bce045384ab4c596928

Code Sample

We have prepared an example PHP class to access our API.

API Version

1.2.14 (build 20140122). This page was updated on Sun, 23 Mar 14 04:59:57 -0400. Since the API method and response format can change from one version to another, you should check this page for updates.

API Methods - Overview

Other Articles in AdSpeed API

Documentation about building applications with AdSpeed API
Search Help Center
There was a problem with your submission. Please correct the following items:

    Cannot find an answer for your question? Ask our Customer Care team

    Related Articles

    • Channels i
      "Documentation for API methods to manage one or multiple channels. API Version1.2.14 (build 20140122). This page was updated on Fri, ..."
    • Campaign i
      "Documentation for API methods to manage one or multiple campaigns. API Version1.2.3 (build 20140404). This page was updated on Thu, ..."
    • Website i
      "Documentation for API methods to manage one or multiple websites. API Version1.2.3 (build 20140404). This page was updated on Thu, ..."
    • Advertiser i
      "Documentation for API methods to manage one or multiple advertisers. API Version1.2.3 (build 20140404). This page was updated on Thu, ..."

    Have questions? Contact Us

    Testimonials

    • You have always been dependable and have been a very valuable asset to our business.

      Trever K
      Road And Travel Magazine

    • Thank you, Thank you, Thank you! You have performed well past the monthly fee I pay AdSpeed.

      Gary C
      2Cooleys Ozark Recreation and Tourism Media