Method: firstAndThirdPartyAudiences.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a FirstAndThirdPartyAudience.
Only supported for the following audienceType
:
CUSTOMER_MATCH_CONTACT_INFO
CUSTOMER_MATCH_DEVICE_ID
HTTP request
POST https://displayvideo.googleapis.com/v1beta2/firstAndThirdPartyAudiences
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
advertiserId |
string (int64 format)
Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created.
|
Request body
The request body contains an instance of FirstAndThirdPartyAudience
.
Response body
If successful, the response body contains a newly created instance of FirstAndThirdPartyAudience
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eCreates a FirstAndThirdPartyAudience with an audienceType of either \u003ccode\u003eCUSTOMER_MATCH_CONTACT_INFO\u003c/code\u003e or \u003ccode\u003eCUSTOMER_MATCH_DEVICE_ID\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSends a POST request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v1beta2/firstAndThirdPartyAudiences\u003c/code\u003e to create the audience.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the advertiser ID in the query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a FirstAndThirdPartyAudience object.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: firstAndThirdPartyAudiences.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nCreates a FirstAndThirdPartyAudience.\n\nOnly supported for the following [audienceType](/display-video/api/v1beta2/reference/rest/v1beta2/firstAndThirdPartyAudiences#FirstAndThirdPartyAudience.FIELDS.audience_type):\n\n- `CUSTOMER_MATCH_CONTACT_INFO`\n- `CUSTOMER_MATCH_DEVICE_ID`\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v1beta2/firstAndThirdPartyAudiences`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created. |\n\n### Request body\n\nThe request body contains an instance of [FirstAndThirdPartyAudience](/display-video/api/v1beta2/reference/rest/v1beta2/firstAndThirdPartyAudiences#FirstAndThirdPartyAudience).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [FirstAndThirdPartyAudience](/display-video/api/v1beta2/reference/rest/v1beta2/firstAndThirdPartyAudiences#FirstAndThirdPartyAudience).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]