ImageMediaRepresentation Data Object

 

Defines an image media representation with height and width.

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

The ImageMediaRepresentation object derives from the MediaRepresentation object. For a list of the inherited elements, see Inherited Elements below.

ElementDescriptionData TypeAddUpdate
HeightThe height of the image in pixels. For more information, see Remarks below.intNot applicableNot applicable
WidthThe width of the image in pixels. For more information, see Remarks below.intNot applicableNot applicable

The ImageMediaRepresentation object derives from the MediaRepresentation object, and inherits the following elements.

ElementDescriptionData TypeAddUpdate
NameThe name of the media representation.

For ImageMediaRepresentation, the possible values are Preview, Thumbnail, and Original.
stringNot applicableNot applicable
TypeThe type of the media representation. This value is ImageMediaRepresentation when you retrieve a image media representation.stringNot applicableNot applicable
UrlThe media download URL.stringNot applicableNot applicable

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

DescriptionWidthHeight
Thumbnail12068
Preview16090
Original size that you uploaded using the AddMedia service operation.For dimension restrictions, please see Image.For dimension restrictions, please see Image.

CampaignManagementService.svc v10

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

GetMediaMetaDataByAccountId
GetMediaMetaDataByIds
MediaMetaData

Show: