Export (0) Print
Expand All
Ad
Bid
Expand Minimize

Media Data Object

Defines the base object of media.

<xs:complexType name="Media">
  <xs:sequence>
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="MediaType" nillable="true" type="xs:string" />
    <xs:element name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element

Description

Data Type

Add

Id

The system generated identifier of the media.

long

Read-only

MediaType

This read-only element is the name of the media subclass. For example, when retrieving an Image object, the MediaType is Image.

string

Read-only

Type

The type of media to add to the library.

The accepted values for media that will be used with a LocationAdExtension Data Object are Icon and Image.

For media that will be used with a ImageAdExtension Data Object, the only supported value is Image16x9.

string

Required

Do not instantiate this object. Instead, you instantiate the Image object that derives from this object.

Requirements

CampaignManagementService.svc v9

Namespace: https://bingads.microsoft.com/CampaignManagement/v9

Community Additions

ADD
Show:
© 2015 Microsoft