REST Resource: networks.programmaticBuyers

  • The ProgrammaticBuyer resource represents a programmatic buyer and has fields like name, buyerAccountId, and displayName.

  • The resource provides methods to retrieve a single ProgrammaticBuyer object using get or a list of ProgrammaticBuyer objects using list.

  • Key attributes of a ProgrammaticBuyer include whether they are an agency, if they are enabled for preferred deals, and if they are enabled for programmatic guaranteed deals.

Resource: ProgrammaticBuyer

Represents a programmatic buyer.

JSON representation
{
  "name": string,
  "buyerAccountId": string,
  "displayName": string,
  "parentAccountId": string,
  "partnerClientId": string,
  "agency": boolean,
  "preferredDealsEnabled": boolean,
  "programmaticGuaranteedEnabled": boolean
}
Fields
name

string

Identifier. The resource name of the ProgrammaticBuyer. Format: networks/{networkCode}/programmaticBuyers/{buyerAccountId}

buyerAccountId

string (int64 format)

Output only. The buyer account ID of the buyer.

displayName

string

Output only. The display name of the buyer.

parentAccountId

string (int64 format)

Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.

partnerClientId

string

Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.

agency

boolean

Output only. Whether the buyer is an advertising agency.

preferredDealsEnabled

boolean

Output only. Whether the buyer is enabled for preferred deals.

programmaticGuaranteedEnabled

boolean

Output only. Whether the buyer is enabled for programmatic guaranteed deals.

Methods

get

API to retrieve a ProgrammaticBuyer object.

list

API to retrieve a list of ProgrammaticBuyer objects.