firstPartyAndPartnerAudiences

GET /v4/firstPartyAndPartnerAudiences

Changed on

Lists first party and partner audiences. The order is defined by the order_by parameter.

Request

  • Base URL
    https://displayvideo.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/display-video
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/display-video

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

advertiserId, string int64

The ID of the advertiser that has access to the fetched first party and partner audiences.

filter, string

Optional. Allows filtering by first party and partner audience fields. Supported syntax: * Filter expressions for first party and partner audiences can only contain at most one restriction. * A restriction has the form of {field} {operator} {value}. * All fields must use the HAS (:) operator. Supported fields: * displayName Examples: * All first party and partner audiences for which the display name contains "Google": displayName:"Google". The length of this field should be no more than 500 characters. Reference our filter LIST requests guide for more information.

orderBy, string

Optional. Field by which to sort the list. Acceptable values are: * FirstPartyAndPartnerAudienceId (default) * displayName The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: displayName desc.

pageSize, integer

Optional. Requested page size. Must be between 1 and 5000. If unspecified, this value defaults to 5000. Returns error code INVALID_ARGUMENT if an invalid value is specified.

pageToken, string

Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to ListFirstPartyAndPartnerAudiences method. If not specified, the first page of results will be returned.

partnerId, string int64

The ID of the partner that has access to the fetched first party and partner audiences.

Response

Successful response

ListFirstPartyAndPartnerAudiencesResponse required
firstPartyAndPartnerAudiences, FirstPartyAndPartnerAudience[]

The list of first party and partner audiences. Audience size properties will not be included. This list will be absent if empty.

nextPageToken, string

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListFirstPartyAndPartnerAudiences method to retrieve the next page of results.

Changes