topic_constant
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Topics are used to target or exclude placements on the Google Display Network based on their category.
The topic_constant resource provides details about these topics.
Fields like id, path, resource_name, and topic_constant_parent are available to query for topic information.
The path field provides a hierarchical representation of the topic category.
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/reference/data/verticals
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.
[[["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 2025-12-03 UTC."],[],[]]