TopicConstant
Stay organized with collections
Save and categorize content based on your preferences.
Use topics to target or exclude placements in the Google Display Network based on the category into which the placement falls (for example, "Pets & Animals/Pets/Dogs").
Fields |
resource_name
|
string
Output only. The resource name of the topic constant. topic constant resource names have the form: topicConstants/{topic_id}
|
path[]
|
string
Output only. The category to target or exclude. Each subsequent element in the array describes a more specific sub-category. For example, {"Pets & Animals", "Pets", "Dogs"} represents the "Pets & Animals/Pets/Dogs" category. List of available topic categories at https://developers.google.com/google-ads/api/reference/data/verticals
|
id
|
int64
Output only. The ID of the topic.
|
topic_constant_parent
|
string
Output only. Resource name of parent of the topic constant.
|
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-10-12 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-10-12 UTC."],[[["Use topic constants to target or exclude placements in the Google Display Network based on their category."],["Topic constants are identified by a resource name in the format `topicConstants/{topic_id}` and contain a hierarchical path defining the category."],["The `path` field utilizes an array to define sub-categories, allowing for granular targeting, such as \"Pets & Animals/Pets/Dogs\"."],["Available topic categories can be found in the Google Ads API documentation at the provided URL."]]],[]]