TopicConstant

  • Topics allow targeting or excluding placements on the Google Display Network based on category.

  • Topic constant resource names follow the format topicConstants/{topic_id}.

  • The path[] field provides the category hierarchy for targeting or exclusion.

  • The id field represents the unique ID of the topic.

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.