Have questions? Contact Us

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

live chat with us

Testimonials

  • I have been a long time customer of yours and appreciate your fantastic service.

    Sam

  • Thank you for following up. You have superb customer service.

    Jesse Mack
    Ironsolutions

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 Mon, 16 Nov 2009 00:07:21 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
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
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
PrintWas this information helpful? Yes / No

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 Sun,..."
  • Publisher i
    "Documentation for API methods to manage a publisher account. API Version1.2.5 (build 280809). Documentation was last modified on Mon, 16..."
  • Ad i
    "Documentation for API methods to manage one or multiple ads. API Version1.2.5 (build 280809). Documentation was last modified on Mon,..."
  • Group i
    "Documentation for API methods to manage one or multiple groups. API Version1.2.5 (build 280809). Documentation was last modified on Sun,..."