Skip to end of metadata
Go to start of metadata

Ad Server Service

This read-only service allows you to view information about ad servers that can deliver third-party creatives or that can be called for data collection purposes during the delivery of Xandr-hosted or third-party creatives.

REST API

View all ad servers:
GET https://api.appnexus.com/adserver

View information about a specific ad server:
GET https://api.appnexus.com/adserver?id=ADSERVER_ID

JSON Fields

Field

Type

Description

id

int

The internal ID associated with the ad server.

name

string

The name of the ad server.

description

string

The description of the ad server.

declare_to_adx

boolean

If true, the ad server is identified when bidding on Google Ad Exchange inventory. Identification is required to be in full compliance with Google Ad Exchange creative policies (https://support.google.com/adwordspolicy/answer/94230?hl=en&rd=1).

last_modified

timestamp

The date and time (in the form YYYY-MM-DD HH:MM:SS) when the ad server configuration was last updated in our system.

hostnamesarray of objectsA list of host names that can be associated with the ad server. This field can be edited only by an administrator.

Example

View all ad servers (output is truncated)
View information about ad server 5