REST Resource: networks

  • The Network resource represents a collection of ad inventory, settings, and users, identified by a unique network code.

  • Networks have properties like display name, time zone, currency, and a link to the root ad unit.

  • You can retrieve information about a specific network or list all networks accessible to the current user via the provided API methods.

  • Networks can be designated as test networks for experimentation purposes.

Resource: Network

The Network resource.

JSON representation
{
  "name": string,
  "displayName": string,
  "networkCode": string,
  "propertyCode": string,
  "timeZone": string,
  "currencyCode": string,
  "secondaryCurrencyCodes": [
    string
  ],
  "effectiveRootAdUnit": string,
  "testNetwork": boolean,
  "networkId": string
}
Fields
name

string

Identifier. The resource name of the Network. Format: networks/{networkCode}

displayName

string

Optional. Display name for Network.

networkCode

string

Output only. Network Code.

propertyCode

string

Output only. Property code.

timeZone

string

Output only. Time zone associated with the delivery of orders and reporting.

currencyCode

string

Output only. Primary currency code, in ISO-4217 format.

secondaryCurrencyCodes[]

string

Optional. Currency codes that can be used as an alternative to the primary currency code for trafficking Line Items.

effectiveRootAdUnit

string

Output only. Top most Ad Unit to which descendant Ad Units can be added. Format: networks/{networkCode}/adUnits/{adUnit}

testNetwork

boolean

Output only. Whether this is a test network.

networkId

string (int64 format)

Output only. Network ID.

Methods

get

API to retrieve a Network object.

list

API to retrieve all the networks the current user has access to.