- Resource: UserList
- UserListType
- FrequencyBasedListInfo
- EventMatcher
- MatchType
- FrequencyConstraint
- EventType
- RemarketingListInfo
- CrmBasedListInfo
- State
- Methods
Resource: UserList
Defines an Ads Data Hub-managed user list.
JSON representation |
---|
{ "name": string, "userListId": string, "adsDataCustomerId": string, "title": string, "description": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. Immutable. Name that uniquely identifies an Ads Data Hub user list. It has the form customers/[customerId]/userLists/[userListId] |
userListId |
Output only. Immutable. User list ID. This field is generated by the service and is used to populate the UserList. |
adsDataCustomerId |
Immutable. Linked Ads Data Hub customer ID associated with this user list. This ID must be specified as the adsDataCustomerId when running UserListQuery jobs using this user list. If absent, the parent customer will be used. This cannot be changed after the list is created. |
title |
Required. User list title, which is unique for the specified adsDataCustomerId. |
description |
Required. User list description. |
type |
Output only. UserList type values should be consistent with the userList. This value is Read Only and will accessible on get/list requests. |
createEmail |
Output only. Immutable. Email address of the user that created this user list. |
listSize |
Output only. The number of users on the user list. List size update may be delayed. |
populateTime |
Output only. Time the list was last populated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
recipientAdsDataLinks[] |
AdsDataLinks to entities that this user list is shared with. Has the form of customers/[customerId]/adsDataLinks/[resource_id] Supported entities are: - Google Ads Customer - DV360 Partner - DV360 Advertiser |
state |
Output only. State of the user list (Active/Deleted). This value is Read Only and will accessible on get/list requests. |
Union field Exactly one must be set. |
|
frequencyList |
User list for frequency capping. |
remarketingList |
Remarketing list. |
crmList |
Customer Matching user list. |
UserListType
User List kind. User list construction and usage at targeting time depends on this enum. List can not have its type switched after creation.
Enums | |
---|---|
USER_LIST_TYPE_UNSPECIFIED |
Default value: should not be used. |
REMARKETING |
Remarketing Audiences created with SQL queries on ADH. Remarketing list can be used for positive and negative targeting. |
FREQUENCY_BASED |
Frequency limited audiences. Audiences of this kind are restricted to negative targeting. |
CRM_BASED |
Customer Matching Audiences created with SQL queries on ADH. Customer Matching list can be used for positive and negative targeting. |
FrequencyBasedListInfo
Metadata for frequency-based User List.
JSON representation |
---|
{ "dv360LineitemIds": [ string ], "cmCampaignIds": [ string ], "googleAdsCampaignIds": [ string ], "eventMatchers": [ { object ( |
Fields | |
---|---|
dv360LineitemIds[] |
Ids for DV360 line items that contribute to the frequency. |
cmCampaignIds[] |
Ids for CM campaigns that contribute to the frequency. |
googleAdsCampaignIds[] |
Ids for Google Ads campaigns that contribute to the frequency. |
eventMatchers[] |
Which events contribute to the frequency. When creating frequency-based user lists, eventMatchers is preferred for specifying events contributing to the frequency. dv360LineitemIds, cmCampaignIds, and googleAdsCampaignIds are used if eventMatchers is empty. |
frequencyConstraint |
Describes when a user gets added to the list. |
slidingWindowDays |
Required. Time window size used when calculating the frequency of each event. This is measure in days |
EventMatcher
Generic event that contributes to the frequency.
JSON representation |
---|
{
"matchType": enum ( |
Fields | |
---|---|
matchType |
The type of the constraint that will be included in the frequency count. |
value |
Value of the constraint. For example, for specifying a Google Ads campaign ID = 1234, matchType would be GOOGLE_ADS_CAMPAIGN_ID and value would be '1234'. Events that have this value for the respective MatchType will be included in the frequency count. |
MatchType
Types of constraints supported for frequency count. More types may get added to this enum in future to support additional constraints. You can specify a filter on the MatchType in the DescribeValidFrequencyLimitingEventMatchersRequest to restrict the event matchers returned in the results to only those that are supported by your API. For example, setting the filter as "eventMatcher.match_type= CM_CAMPAIGN_ID OR eventMatcher.match_type=GOOGLE_ADS_CAMPAIGN_ID" will return EventMatchers only of those two types.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Default value. This value is unused. |
CM_CAMPAIGN_ID |
Constraint type representing Campaign Manager Campaign ID. |
DV360_INSERTION_ORDER_ID |
Constraint type representing DV360 Insertion Order ID. |
DV360_LINE_ITEM_ID |
Constraint type representing DV360 Line Item ID. |
GOOGLE_ADS_CAMPAIGN_ID |
Constraint type representing Google Ads Campaign ID. |
FrequencyConstraint
Specify the minimum number of events for the cap.
JSON representation |
---|
{
"eventType": enum ( |
Fields | |
---|---|
eventType |
Immutable. The type of event that will be counted against thresholdEventCount. For now we do not explicitly represent the comparison constraints assuming all are GREATER_OR_EQUAL. |
thresholdEventCount |
Required. Each user should appear in at least K events. |
EventType
Types of events that can be used to count frequency.
Enums | |
---|---|
EVENT_TYPE_UNSPECIFIED |
Default value: should not be used. |
IMPRESSIONS |
Count all impressions. |
RemarketingListInfo
Metadata for remarketing lists.
JSON representation |
---|
{ "userListQuery": string, "populatingUserListQueries": [ string ] } |
Fields | |
---|---|
userListQuery |
Immutable. The Ads Data Hub user list query resource that specifies how users are added to this audience. Has the form of: customers/[customerId]/userListQueries/[query_resource_id] |
populatingUserListQueries[] |
Output only. The Ads Data Hub user list query resources that have populated this audience. This is intended as a legacy field to support userlists that were populated by multiple queries before 1:1 userlist:query restrictions went into effect. Has the form of: customers/[customerId]/userListQueries/[query_resource_id] |
CrmBasedListInfo
Metadata for CRM based lists.
JSON representation |
---|
{ "crmBasedUserListQuery": string } |
Fields | |
---|---|
crmBasedUserListQuery |
Immutable. The Ads Data Hub CRM based query resource that specifies how users are added to this audience. Has the form of: customers/[customerId]/crmBasedUserListQueries/[query_resource_id] |
State
State of user list.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default / unset value. |
STATE_ACTIVE |
User list is still open and active. |
STATE_DELETED |
User list is marked as deleted and should not be used for targeting any more |
Methods |
|
---|---|
(deprecated) |
Adds event matchers to a frequency-based user list. |
|
Add entities to an Ads Data Hub-managed user list’s recipients. |
|
Creates an Ads Data Hub-managed user list. |
|
Delete the requested Ads Data Hub-managed user list. |
(deprecated) |
Generate memberships for the UserList. |
|
Retrieves the requested Ads Data Hub-managed user list. |
|
Lists the user lists managed by the specified Ads Data Hub customer. |
|
Updates the requested Ads Data Hub-managed user list. |
|
Removes entities from an Ads Data Hub-managed user list’s recipients. |
|
Update memberships for the UserList. |