Method: firstPartyAndPartnerAudiences.create

  • This page details how to create a FirstPartyAndPartnerAudience using an HTTP POST request.

  • Creation of FirstPartyAndPartnerAudience is only supported for CUSTOMER_MATCH_CONTACT_INFO and CUSTOMER_MATCH_DEVICE_ID audience types.

  • The HTTP request requires the advertiserId query parameter.

  • The request and response bodies both contain instances of FirstPartyAndPartnerAudience.

  • The request requires the https://www.googleapis.com/auth/display-video authorization scope.

Creates a FirstPartyAndPartnerAudience.

Only supported for the following audienceType:

  • CUSTOMER_MATCH_CONTACT_INFO
  • CUSTOMER_MATCH_DEVICE_ID

HTTP request

POST https://displayvideo.googleapis.com/v4/firstPartyAndPartnerAudiences

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser under whom the FirstPartyAndPartnerAudience will be created.

Request body

The request body contains an instance of FirstPartyAndPartnerAudience.

Response body

If successful, the response body contains a newly created instance of FirstPartyAndPartnerAudience.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.