Resource: UserList
Represents an Authorized Buyers user list. Authorized Buyers can create/update/list user lists. Once a user list is created in the system, Authorized Buyers can add users to the user list using the bulk uploader API. Alternatively, users can be added by hosting a tag on the advertiser's page.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "status": enum ( |
Fields | |
---|---|
name |
Output only. Name of the user list that must follow the pattern |
displayName |
Required. Display name of the user list. This must be unique across all user lists for a given account. |
description |
The description for the user list. |
status |
Output only. The status of the user list. A new user list starts out as open. |
urlRestriction |
Required. Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api The URL restriction for the user list. |
membershipDurationDays |
Required. The number of days a user's cookie stays on the user list. The field must be between 0 and 540 inclusive. |
Status
User list status
Enums | |
---|---|
STATUS_UNSPECIFIED |
Default value that should never be used. |
OPEN |
New users can be added to the user list. |
CLOSED |
New users cannot be added to the user list. |
UrlRestriction
Deprecated. This will be removed in October 2023.
For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents the URL restriction (for the URL captured by the pixel callback) for a user list.
JSON representation |
---|
{ "url": string, "restrictionType": enum ( |
Fields | |
---|---|
url |
Required. The URL to use for applying the restriction on the user list. |
restrictionType |
The restriction type for the specified URL. |
startDate |
Start date (if specified) of the URL restriction. |
endDate |
End date (if specified) of the URL restriction. End date should be later than the start date for the date range to be valid. |
RestrictionType
URL restriction type
Enums | |
---|---|
RESTRICTION_TYPE_UNSPECIFIED |
Default value that should never be used. |
CONTAINS |
The tag URL (as recorded by the pixel callback) contains the specified URL. |
EQUALS |
The tag URL (as recorded by the pixel callback) exactly matches the specified URL. |
STARTS_WITH |
The tag URL (as recorded by the pixel callback) starts with the specified URL. |
ENDS_WITH |
The tag URL (as recorded by the pixel callback) ends with the specified URL. |
DOES_NOT_EQUAL |
The tag URL (as recorded by the pixel callback) does not equal the specified URL. |
DOES_NOT_CONTAIN |
The tag URL (as recorded by the pixel callback) does not contain the specified URL. |
DOES_NOT_START_WITH |
The tag URL (as recorded by the pixel callback) does not start with the specified URL. |
DOES_NOT_END_WITH |
The tag URL (as recorded by the pixel callback) does not end with the specified URL. |
Date
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
- A full date, with non-zero year, month, and day values.
- A month and day, with a zero year (for example, an anniversary).
- A year on its own, with a zero month and a zero day.
- A year and month, with a zero day (for example, a credit card expiration date).
Related types:
google.type.TimeOfDay
google.type.DateTime
google.protobuf.Timestamp
JSON representation |
---|
{ "year": integer, "month": integer, "day": integer } |
Fields | |
---|---|
year |
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. |
month |
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. |
day |
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. |
Methods |
|
---|---|
|
Changes the status of a user list to CLOSED. |
|
Creates a new user list. |
|
Gets a user list by its name. |
|
This has been sunset as of October 2023, and will return an error response if called. |
|
Lists the user lists visible to the current user. |
|
Changes the status of a user list to OPEN. |
|
Updates the given user list. |