topic_constant
Stay organized with collections
Save and categorize content based on your preferences.
Help me build a query
Proto definition
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").
topic_constant.id
Field description Output only. The ID of the topic.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with
topic_constant.path
Field description 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/data/topics
Category ATTRIBUTE
Data Type STRING
Capabilities Selectable: True Filterable: True Sortable: False Repeated: True
Selectable with The following fields and resources can be selected with this field:
Same as topic_constant.id .
topic_constant.resource_name
Field description Output only. The resource name of the topic constant.
topic constant resource names have the form:
topicConstants/{topic_id}
Category ATTRIBUTE
Data Type RESOURCE_NAME
Capabilities Selectable: True Filterable: True Sortable: False Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as topic_constant.id .
topic_constant.topic_constant_parent
Field description Output only. Resource name of parent of the topic constant.
Category ATTRIBUTE
Data Type RESOURCE_NAME
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as topic_constant.id .
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 2026-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]