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 2025-08-07 UTC.
[null,null,["Last updated 2025-08-07 UTC."],[],[],null,["# TopicConstant\n\nUse 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\").\n\n| Fields ||\n|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `resource_name` | `string` Output only. The resource name of the topic constant. topic constant resource names have the form: `topicConstants/{topic_id}` |\n| ### `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 \u003chttps://developers.google.com/google-ads/api/reference/data/verticals\u003e |\n| ### `id` | `int64` Output only. The ID of the topic. |\n| ### `topic_constant_parent` | `string` Output only. Resource name of parent of the topic constant. |"]]