Google Ads API is returning to beta status. Please read our blog post for more details.

asset

The asset referenced in the query.
Attributed resources
customer

Fields from the above resources may be selected along with this resource in your SELECT and WHERE clauses. These fields will not segment metrics in your SELECT clause.

Fields/Segments/Metrics

This page shows all metrics and segments that can be put in the same SELECT clause as the fields of asset. However, when you specify asset in the FROM clause, some metrics and segments cannot be used. Use the following filter to show only the fields that can be used when asset is specified in the FROM clause.

Is asset specified in the FROM clause of your query?

info_outline  Resource fields
id
image_asset.file_size
image_asset.full_size.height_pixels
image_asset.full_size.url
image_asset.full_size.width_pixels
image_asset.mime_type
name
resource_name
text_asset.text
type
youtube_video_asset.youtube_video_id
layers  Segments
conversion_action
conversion_action_category
conversion_action_name
conversion_adjustment
conversion_lag_bucket
conversion_or_adjustment_lag_bucket
external_conversion_source
show_chart  Metrics
interaction_event_types

asset.id

Field descriptionThe ID of the asset.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.image_asset.file_size

Field descriptionFile size of the image asset in bytes.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.image_asset.full_size.height_pixels

Field descriptionHeight of the image.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.image_asset.full_size.url

Field descriptionA URL that returns the image with this height and width.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.image_asset.full_size.width_pixels

Field descriptionWidth of the image.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.image_asset.mime_type

Field descriptionMIME type of the image asset.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v2.enums.MimeTypeEnum.MimeType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.name

Field descriptionOptional name of the asset.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.resource_name

Field descriptionThe resource name of the asset. Asset resource names have the form: `customers/{customer_id}/assets/{asset_id}`
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

asset.text_asset.text

Field descriptionText content of the text asset.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.type

Field descriptionType of the asset.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v2.enums.AssetTypeEnum.AssetType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

asset.youtube_video_asset.youtube_video_id

Field descriptionYouTube video id. This is the 11 character string value used in the YouTube video URL.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_action

Field descriptionResource name of the conversion action.
CategorySEGMENT
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_action_category

Field descriptionConversion action category.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v2.enums.ConversionActionCategoryEnum.ConversionActionCategory
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_action_name

Field descriptionConversion action name.
CategorySEGMENT
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_adjustment

Field descriptionThis segments your conversion columns by the original conversion and conversion value vs. the delta if conversions were adjusted. False row has the data as originally stated; While true row has the delta between data now and the data as originally stated. Summing the two together results post-adjustment data.
CategorySEGMENT
Data TypeBOOLEAN
Type URLgoogle.protobuf.BoolValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_lag_bucket

Field descriptionAn enum value representing the number of days between the impression and the conversion.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v2.enums.ConversionLagBucketEnum.ConversionLagBucket
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.conversion_or_adjustment_lag_bucket

Field descriptionAn enum value representing the number of days between the impression and the conversion or between the impression and adjustments to the conversion.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v2.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.external_conversion_source

Field descriptionExternal conversion source.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v2.enums.ExternalConversionSourceEnum.ExternalConversionSource
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

metrics.interaction_event_types

Field descriptionThe types of payable and free interactions.
CategoryMETRIC
Data TypeENUM
Type URLgoogle.ads.googleads.v2.enums.InteractionEventTypeEnum.InteractionEventType
FilterableTrue
SelectableTrue
SortableFalse
RepeatedTrue