Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines an image media representation with height and width.
Syntax
<xs:complexType name="ImageMediaRepresentation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexContent mixed="false">
<xs:extension base="tns:MediaRepresentation">
<xs:sequence>
<xs:element minOccurs="0" name="Height" type="xs:int" />
<xs:element minOccurs="0" name="Width" type="xs:int" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Elements
The ImageMediaRepresentation object has the following elements: Height, Width.
Element | Description | Data Type |
---|---|---|
Height | The height of the image in pixels. For more information, see Remarks below. |
int |
Width | The width of the image in pixels. For more information, see Remarks below. |
int |
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: Name, Type, Url. 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. |
string |
Type | The type of the media representation. This value is ImageMediaRepresentation when you retrieve an image media representation. |
string |
Url | The media download URL. | string |
Remarks
Microsoft Advertising 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 Microsoft Advertising web application or the AddMedia service operation. | For dimension restrictions, please see Image. | For dimension restrictions, please see Image. |
Requirements
Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13