Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

GoogleAdsField

A field or resource (artifact) used by GoogleAdsService.

Fields

resource_name

string

Output only. The resource name of the artifact. Artifact resource names have the form:

googleAdsFields/{name}

category

GoogleAdsFieldCategory

Output only. The category of the artifact.

selectable_with[]

string

Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.

attribute_resources[]

string

Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries.

This field is only set for artifacts whose category is RESOURCE.

metrics[]

string

Output only. This field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.

segments[]

string

Output only. This field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.

enum_values[]

string

Output only. Values the artifact can assume if it is a field of type ENUM.

This field is only set for artifacts of category SEGMENT or ATTRIBUTE.

data_type

GoogleAdsFieldDataType

Output only. This field determines the operators that can be used with the artif