GoogleAdsField

A field or resource (artifact) used by GoogleAdsService.

Proto definition

Fields

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.

category

GoogleAdsFieldCategory

Output only. The category of the artifact.

data_type

GoogleAdsFieldDataType

Output only. This field determines the operators that can be used with the artifact in WHERE clauses.

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.

filterable

bool

Output only. Whether the artifact can be used in a WHERE clause in search queries.

is_repeated

bool

Output only. Whether the field artifact is repeated.

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.

name

string

Output only. The name of the artifact.

resource_name

string

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

googleAdsFields/{name}

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.

selectable

bool

Output only. Whether the artifact can be used in a SELECT clause in search queries.

selectable_with[]

string

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

sortable

bool

Output only. Whether the artifact can be used in a ORDER BY clause in search queries.

type_url

string

Output only. The URL of proto describing the artifact's data type.