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 artifact in WHERE clauses.

name

string

Output only. The name of the artifact.

selectable

bool

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

filterable

bool

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

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.

is_repeated

bool

Output only. Whether the field artifact is repeated.