- Resource: FirstAndThirdPartyAudience
- FirstAndThirdPartyAudienceType
- AudienceType
- AudienceSource
- ContactInfoList
- ContactInfo
- Consent
- ConsentStatus
- MobileDeviceIdList
- Methods
Resource: FirstAndThirdPartyAudience
Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
JSON representation |
---|
{ "name": string, "firstAndThirdPartyAudienceId": string, "displayName": string, "description": string, "firstAndThirdPartyAudienceType": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the first and third party audience. |
firstAndThirdPartyAudienceId |
Output only. The unique ID of the first and third party audience. Assigned by the system. |
displayName |
The display name of the first and third party audience. |
description |
The user-provided description of the audience. Only applicable to first party audiences. |
firstAndThirdPartyAudienceType |
Whether the audience is a first or third party audience. |
audienceType |
The type of the audience. |
audienceSource |
Output only. The source of the audience. |
membershipDurationDays |
The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following
|
displayAudienceSize |
Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request. |
activeDisplayAudienceSize |
Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request. |
youtubeAudienceSize |
Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. |
gmailAudienceSize |
Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. |
displayMobileAppAudienceSize |
Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. |
displayMobileWebAudienceSize |
Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. |
displayDesktopAudienceSize |
Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request. |
appId |
The appId matches with the type of the mobileDeviceIds being uploaded. Only applicable to |
Union field members . The initial members of the Customer Match audience. members can be only one of the following: |
|
contactInfoList |
Input only. A list of contact information to define the initial audience members. Only applicable to |
mobileDeviceIdList |
Input only. A list of mobile device IDs to define the initial audience members. Only applicable to |
FirstAndThirdPartyAudienceType
Possible types of a first and third party audience resource.
Enums | |
---|---|
FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED |
Default value when type is not specified or is unknown. |
FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY |
Audience that is created via usage of client data. |
FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY |
Audience that is provided by Third Party data providers. |
AudienceType
Possible types of audiences.
Enums | |
---|---|
AUDIENCE_TYPE_UNSPECIFIED |
Default value when type is not specified or is unknown. |
CUSTOMER_MATCH_CONTACT_INFO |
Audience was generated through matching customers to known contact information. |
CUSTOMER_MATCH_DEVICE_ID |
Audience was generated through matching customers to known Mobile device IDs. |
CUSTOMER_MATCH_USER_ID |
Audience was generated through matching customers to known User IDs. |
ACTIVITY_BASED |
Audience was created based on campaign activity. |
FREQUENCY_CAP |
Audience was created based on excluding the number of impressions they were served. |
TAG_BASED |
Audience was created based on custom variables attached to pixel. |
YOUTUBE_USERS |
Audience was created based on past interactions with videos, YouTube ads, or YouTube channel. |
LICENSED |
Subtype of third party audience type. |
AudienceSource
Possible audience sources.
Enums | |
---|---|
AUDIENCE_SOURCE_UNSPECIFIED |
Default value when audience source is not specified or is unknown. |
DISPLAY_VIDEO_360 |
Originated from Display & Video 360. |
CAMPAIGN_MANAGER |
Originated from Campaign Manager 360. |
AD_MANAGER |
Originated from Google Ad Manager. |
SEARCH_ADS_360 |
Originated from Search Ads 360. |
YOUTUBE |
Originated from Youtube. |
ADS_DATA_HUB |
Originated from Ads Data Hub. |
ContactInfoList
Wrapper message for a list of contact information defining Customer Match audience members.
JSON representation |
---|
{ "contactInfos": [ { object ( |
Fields | |
---|---|
contactInfos[] |
A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contactInfos mustn't be greater than 500,000. |
consent |
Input only. The consent setting for the users in Leaving this field unset indicates that consent is not specified. If |
ContactInfo
Contact information defining a Customer Match audience member.
JSON representation |
---|
{ "hashedEmails": [ string ], "hashedPhoneNumbers": [ string ], "zipCodes": [ string ], "hashedFirstName": string, "hashedLastName": string, "countryCode": string } |
Fields | |
---|---|
hashedEmails[] |
A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. |
hashedPhoneNumbers[] |
A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the E.164 format and include the country calling code. |
zipCodes[] |
A list of zip codes of the member. Must also be set with the following fields: |
hashedFirstName |
SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: |
hashedLastName |
SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: |
countryCode |
Country code of the member. Must also be set with the following fields: |
Consent
User consent status.
JSON representation |
---|
{ "adUserData": enum ( |
Fields | |
---|---|
adUserData |
Represents consent for ad user data. |
adPersonalization |
Represents consent for ad personalization. |
ConsentStatus
Consent status.
Enums | |
---|---|
CONSENT_STATUS_UNSPECIFIED |
Type value is not specified or is unknown in this version. |
CONSENT_STATUS_GRANTED |
Consent is granted. |
CONSENT_STATUS_DENIED |
Consent is denied. |
MobileDeviceIdList
Wrapper message for a list of mobile device IDs defining Customer Match audience members.
JSON representation |
---|
{
"mobileDeviceIds": [
string
],
"consent": {
object ( |
Fields | |
---|---|
mobileDeviceIds[] |
A list of mobile device IDs defining Customer Match audience members. The size of mobileDeviceIds mustn't be greater than 500,000. |
consent |
Input only. The consent setting for the users in Leaving this field unset indicates that consent is not specified. If |
Methods |
|
---|---|
|
Creates a FirstAndThirdPartyAudience. |
|
Updates the member list of a Customer Match audience. |
|
Gets a first and third party audience. |
|
Lists first and third party audiences. |
|
Updates an existing FirstAndThirdPartyAudience. |