media_file

media_file

Field descriptionThe media file referenced in the query.
CategoryRESOURCE
Data Type MESSAGE
Type URLcom.google.ads.googleads.v1.resources.MediaFile
FilterableFalse
SelectableFalse
SortableFalse
RepeatedFalse
Selectable With
Attribute Resources

media_file.audio.ad_duration_millis

Field descriptionThe duration of the Audio in milliseconds.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.file_size

Field descriptionThe size of the media file in bytes.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.id

Field descriptionThe ID of the media file.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.mime_type

Field descriptionThe mime type of the media file.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v1.enums.MimeTypeEnum.MimeType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.name

Field descriptionThe name of the media file. The name can be used by clients to help identify previously uploaded media.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.resource_name

Field descriptionThe resource name of the media file. Media file resource names have the form: `customers/{customer_id}/mediaFiles/{media_file_id}`
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

media_file.source_url

Field descriptionThe URL of where the original media file was downloaded from (or a file name).
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.type

Field descriptionType of the media file.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v1.enums.MediaTypeEnum.MediaType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.video.ad_duration_millis

Field descriptionThe duration of the Video in milliseconds.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.video.advertising_id_code

Field descriptionThe Advertising Digital Identification code for this video, as defined by the American Association of Advertising Agencies, used mainly for television commercials.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.video.isci_code

Field descriptionThe Industry Standard Commercial Identifier code for this video, used mainly for television commercials.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

media_file.video.youtube_video_id

Field descriptionThe YouTube video ID (as seen in YouTube URLs).
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

Send feedback about...

Google Ads API
Google Ads API
Need help? Visit our support page.