ImageMediaRepresentation Data Object - Campaign Management

Defines an image media representation with height and width.


<xs:complexType name="ImageMediaRepresentation" xmlns:xs="">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:MediaRepresentation">
        <xs:element minOccurs="0" name="Height" type="xs:int" />
        <xs:element minOccurs="0" name="Width" type="xs:int" />


Element Description Data Type
Height The height of the image in pixels.

For more information, see Remarks below.
Width The width of the image in pixels.

For more information, see Remarks below.

The ImageMediaRepresentation object has Inherited Elements.

Inherited Elements

Inherited Elements from MediaRepresentation

The ImageMediaRepresentation object derives from the MediaRepresentation object, and inherits the following elements. The descriptions below are specific to ImageMediaRepresentation, and might not apply to other objects that inherit the same elements from the MediaRepresentation object.

Element Description Data Type
Name The name of the media representation.

For ImageAdExtension media representations, the possible values are Preview, Thumbnail, and Original. For ResponsiveAd media representations, the only possible value is Original.
Type The type of the media representation.

This value is ImageMediaRepresentation when you retrieve an image media representation.
Url The media download URL. string


Bing Ads stores three representations for each image media of varying height and width.

Description Width Height
Thumbnail 120 68
Preview 160 90
Original size that you uploaded via the Bing Ads web application or the AddMedia service operation. For dimension restrictions, please see Image. For dimension restrictions, please see Image.


Service: CampaignManagementService.svc v12