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
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
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
Type URL N/A
Filterable True
Selectable True
Sortable False
Repeated True
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
Type URL N/A
Filterable True
Selectable True
Sortable False
Repeated False
topic_constant.topic_constant_parent
Field description Output only. Resource name of parent of the topic constant.
Category ATTRIBUTE
Data Type RESOURCE_NAME
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
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-09-30 UTC.
[null,null,["Last updated 2026-09-30 UTC."],[],[]]