MediaMetaData Data Object - Campaign Management

Defines a media meta data object. The meta data includes download Urls for one or more media representations.

Syntax

<xs:complexType name="MediaMetaData" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="Id" type="xs:long" />
    <xs:element minOccurs="0" name="MediaType" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Representations" nillable="true" type="tns:ArrayOfMediaRepresentation" />
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element Description Data Type
Id The system identifier of the media meta data. long
MediaType The name of the media subclass.

For an ImageMediaRepresentation, the MediaType is Image.
string
Representations A list of ImageMediaRepresentation that each include download URLs for one or more media representations. The number of representations depends on the type of media. For image ad extensions the service will return exactly three ImageMediaRepresentation objects with varying height and width properties. For responsive ads the service will return exactly one ImageMediaRepresentation object. For more information see MediaEnabledEntityFilter. MediaRepresentation array
Type The type of media in the library.

For an ImageMediaRepresentation, the only possible value is ImageMediaRepresentation.
string

Requirements

Service: CampaignManagementService.svc v12
Namespace: https://bingads.microsoft.com/CampaignManagement/v12

Used By

GetMediaMetaDataByAccountId
GetMediaMetaDataByIds