Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
TopicInfo
A topic criterion. 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 |
path[]
|
string
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.
|
topic_constant
|
string
The Topic Constant resource name.
|
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.
[null,null,["Last updated 2024-10-12 UTC."],[[["Topic criteria allow you to target or exclude placements on the Google Display Network based on their category."],["You can define categories using a path of increasingly specific sub-categories (e.g., \"Pets & Animals/Pets/Dogs\")."],["The `path[]` field is used to specify the category hierarchy, while the `topic_constant` field refers to the Topic Constant resource name."]]],["The provided content details the use of topic criteria for targeting or excluding placements on the Google Display Network. Key elements include the `path[]` field, which defines the category hierarchy with each array element representing a sub-category, e.g., \"Pets & Animals,\" \"Pets,\" \"Dogs.\" The `topic_constant` field is used to specify the Topic Constant resource name associated with a category, enabling precise targeting based on the categorized content.\n"]]