Have questions? Contact Us

live chat with us

For sale inquiries, please call
Toll Free 866.4AD.SPEED
International +1.408.454.6363

Testimonials

  • My banners are running faster and getting more clicks, since I moved to a Premium Account.

    Tom Bailey
    Aquarium Fish

  • AdSpeed has been a very reliable service.

    Samir Delgado

Help Center > Manage Your Account > AdSpeed API

Zone

Documentation for API methods to manage one or multiple zones.

API Version

1.2.5 (build 280809). Documentation was last modified on Sat, 06 Mar 2010 05:02:28 EST. Since the API methods and response format can change from one version to another, you should check this page frequently for updates.

API Methods - Zone

AS.Zones.getCounts

Returns the number of active, deleted and total zones for the publisher
Parameters
  • None
Sample Request
Sample Response

AS.Zones.getList

Returns the list of zones for this publisher
Parameters
  • perpage (Optional, default value is 10)
    The number of items per page. Maximum value is 100
  • page (Optional, default value is 1)
    The page number
Sample Request
Sample Response

AS.Zones.create

Create a new zone for this publisher. Limit 50 calls/day
Parameters
  • name (Required)
    The name of this zone
Sample Request
Sample Response

AS.Zone.getInfo

Returns the list of linked ads for this zone
Parameters
  • zone (Required)
    The zone ID
  • token (Required)
    The authentication MD5 hash generated from concatenating [Zone ID][Zone Name]
Sample Request
Sample Response

AS.Zone.getServingCode

Returns the serving code for this zone
Parameters
  • zone (Required)
    The zone ID to get serving code
  • token (Required)
    The authentication MD5 hash generated from concatenating [Zone ID][Zone Name]
  • width (Required)
    The ad width in pixels
  • height (Required)
    The ad height in pixels
  • spot (Optional, default value is )
    The ad spot (for non-duplicate, competitive and companion positioning ads)
  • num (Optional, default value is )
    The number of ads to be served per single serving code
Sample Request
Sample Response

AS.Zone.serve

Serves an ad from this zone
Parameters
  • zone (Required)
    The zone identification
  • token (Required)
    The authentication MD5 hash generated from concatenating [Zone ID][Zone Name]
  • width (Required)
    The ad width in pixels
  • height (Required)
    The ad height in pixels
  • spot (Optional, default value is )
    The ad spot (for non-duplicate, competitive and companion positioning ads)
  • num (Optional, default value is )
    The number of ads to be served per single serving code
Sample Request
Sample Response

AS.Zone.getStats

Returns the stats for this zone. Limit 50 calls/day
Parameters
  • zone (Required)
    The zone ID
  • token (Required)
    The authentication MD5 hash generated from concatenating [Zone ID][Zone Name]
  • metric (Required)
    The type of metric can be "impressions", "clicks" or "revenue"
  • period (Required)
    The breakdown period can be "hourly", "daily", or "monthly"
Sample Request
Sample Response

AS.Zone.getVisitorStats

Returns the visitor profile stats for this zone. Limit 50 calls/day
Parameters
  • zone (Required)
    The zone ID
  • token (Required)
    The authentication MD5 hash generated from concatenating [Zone ID][Zone Name]
  • metric (Required)
    The type of metric can be "countries", "continents", "areas", "regions", "languages", "timezones"
  • range (Required)
    The range can be "alltime"
Sample Request
Sample Response

Other Articles in AdSpeed API

Documentation about building applications with AdSpeed API
Search Help Center

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

Related Articles

  • Website i
    "Documentation for API methods to manage one or multiple websites. API Version1.2.5 (build 280809). Documentation was last modified on Sat,..."
  • Publisher i
    "Documentation for API methods to manage a publisher account. API Version1.2.5 (build 280809). Documentation was last modified on Sun, 07..."
  • Ad i
    "Documentation for API methods to manage one or multiple ads. API Version1.2.5 (build 280809). Documentation was last modified on Sun,..."
  • Campaign i
    "Documentation for API methods to manage one or multiple campaigns. API Version1.2.5 (build 280809). Documentation was last modified on Fri,..."