Muokkaa

Jaa


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="Text" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

The MediaMetaData object has the following elements: Id, MediaType, Representations, Text, Type.

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
Text The media text. string
Type The type of media in the library.

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

Requirements

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

Used By

GetMediaMetaDataByAccountId
GetMediaMetaDataByIds