Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.Media Class Reference

Represents some kind of media. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.Media:
Google.Api.Ads.AdWords.v201809.Audio Google.Api.Ads.AdWords.v201809.Image Google.Api.Ads.AdWords.v201809.MediaBundle Google.Api.Ads.AdWords.v201809.Video

Classes

class  Fields
 List of all supported fields for the Media class. More...
 
class  FilterableFields
 List of all supported filterable fields for the Media class. More...
 
class  SelectableFields
 List of all supported selectable fields for the Media class. More...
 

Properties

long mediaId [get, set]
 ID of this media object. This field can be selected using the value "MediaId". This field is required and should not be More...
 
bool mediaIdSpecified [get, set]
 
MediaMediaType type [get, set]
 Type of media object. Required when using MediaService::upload to upload a new media file. MEDIA_BUNDLE, ICON, IMAGE, and DYNAMIC_IMAGE are the supported MediaTypes to upload. This field can be selected using the value "Type". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
bool typeSpecified [get, set]
 
long referenceId [get, set]
 Media reference ID key. This field can be selected using the value "ReferenceId". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
bool referenceIdSpecified [get, set]
 
Media_Size_DimensionsMapEntry[] dimensions [get, set]
 Various dimension sizes for the media. Only applies to image media (and video media for video thumbnails). This field can be selected using the value "Dimensions". More...
 
Media_Size_StringMapEntry[] urls [get, set]
 URLs pointing to the resized media for the given sizes. Only applies to image media. This field can be selected using the value "Urls". This field is read only and will be ignored when sent to the API. More...
 
MediaLegacyMimeType mimeType [get, set]
 The mime type of the media. This field can be selected using the value "MimeType". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
bool mimeTypeSpecified [get, set]
 
string sourceUrl [get, set]
 The URL of where the original media was downloaded from (or a file name). This field can be selected using the value "SourceUrl". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
string name [get, set]
 The name of the media. The name can be used by clients to help identify previously uploaded media. This field can be selected using the value "Name". More...
 
long fileSize [get, set]
 The size of the media file in bytes. This field can be selected using the value "FileSize". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
bool fileSizeSpecified [get, set]
 
string creationTime [get, set]
 Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ. This is not updatable and not specifiable. This field can be selected using the value "CreationTime". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET. More...
 
string MediaType [get, set]
 Indicates that this instance is a subtype of Media. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. More...
 

Detailed Description

Represents some kind of media.

Property Documentation

string Google.Api.Ads.AdWords.v201809.Media.creationTime
getset

Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ. This is not updatable and not specifiable. This field can be selected using the value "CreationTime". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

Media_Size_DimensionsMapEntry [] Google.Api.Ads.AdWords.v201809.Media.dimensions
getset

Various dimension sizes for the media. Only applies to image media (and video media for video thumbnails). This field can be selected using the value "Dimensions".

long Google.Api.Ads.AdWords.v201809.Media.fileSize
getset

The size of the media file in bytes. This field can be selected using the value "FileSize". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

bool Google.Api.Ads.AdWords.v201809.Media.fileSizeSpecified
getset

true, if a value is specified for fileSize, false otherwise.

long Google.Api.Ads.AdWords.v201809.Media.mediaId
getset

ID of this media object. This field can be selected using the value "MediaId". This field is required and should not be

null when it is contained within Operators : SET, REMOVE.

bool Google.Api.Ads.AdWords.v201809.Media.mediaIdSpecified
getset

true, if a value is specified for mediaId, false otherwise.

string Google.Api.Ads.AdWords.v201809.Media.MediaType
getset

Indicates that this instance is a subtype of Media. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

MediaLegacyMimeType Google.Api.Ads.AdWords.v201809.Media.mimeType
getset

The mime type of the media. This field can be selected using the value "MimeType". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

bool Google.Api.Ads.AdWords.v201809.Media.mimeTypeSpecified
getset

true, if a value is specified for mimeType, false otherwise.

string Google.Api.Ads.AdWords.v201809.Media.name
getset

The name of the media. The name can be used by clients to help identify previously uploaded media. This field can be selected using the value "Name".

long Google.Api.Ads.AdWords.v201809.Media.referenceId
getset

Media reference ID key. This field can be selected using the value "ReferenceId". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

bool Google.Api.Ads.AdWords.v201809.Media.referenceIdSpecified
getset

true, if a value is specified for referenceId, false otherwise.

string Google.Api.Ads.AdWords.v201809.Media.sourceUrl
getset

The URL of where the original media was downloaded from (or a file name). This field can be selected using the value "SourceUrl". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

MediaMediaType Google.Api.Ads.AdWords.v201809.Media.type
getset

Type of media object. Required when using MediaService::upload to upload a new media file. MEDIA_BUNDLE, ICON, IMAGE, and DYNAMIC_IMAGE are the supported MediaTypes to upload. This field can be selected using the value "Type". This field is read only and will be ignored when sent to the API for the following Operators: REMOVE and SET.

bool Google.Api.Ads.AdWords.v201809.Media.typeSpecified
getset

true, if a value is specified for type, false otherwise.

Media_Size_StringMapEntry [] Google.Api.Ads.AdWords.v201809.Media.urls
getset

URLs pointing to the resized media for the given sizes. Only applies to image media. This field can be selected using the value "Urls". This field is read only and will be ignored when sent to the API.


The documentation for this class was generated from the following file: