AI-generated Key Takeaways
-
A custom audience is a list of users categorized by interest.
-
The unique key for a custom audience is its name, and duplicate names will result in a
CustomAudienceError.NAME_ALREADY_USED. -
Key fields of a custom audience include
resource_name,id,status,name,type,description, andmembers. -
The
namefield is required for creating a custom audience and must be unique per customer. -
Custom audience
memberscan be added during creation or overridden during an update operation.
A custom audience. This is a list of users by interest. The unique key of a custom audience consists of the following fields: name. Violating the unique key constraint produces error: CustomAudienceError.NAME_ALREADY_USED
| Fields | |
|---|---|
|
Immutable. The resource name of the custom audience. Custom audience resource names have the form:
|
|
Output only. ID of the custom audience. |
|
Output only. Status of this custom audience. Indicates whether the custom audience is enabled or removed. |
|
Name of the custom audience. It should be unique for all custom audiences created by a customer. This field is required for creating operations. |
|
Type of the custom audience. ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom audience but kept for existing audiences) |
|
Description of this custom audience. |
|
List of custom audience members that this custom audience is composed of. Members can be added during CustomAudience creation. If members are presented in UPDATE operation, existing members will be overridden. |