Collapse the table of content
Expand the table of content

AdExtension Data Object


Defines the base object of an ad extension.

Do not try to instantiate an AdExtension. You can create one or more following objects that derive from it.

<xs:complexType name="AdExtension">
    <xs:element minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q1:ArrayOfKeyValuePairOfstringstring" xmlns:q1="" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Status" nillable="true" type="tns:AdExtensionStatus" />
    <xs:element name="Type" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Version" nillable="true" type="xs:int" />

ElementDescriptionData TypeAddUpdate
ForwardCompatibilityMapThe list of key and value strings for forward compatibility. This element can be used to avoid otherwise breaking changes when new elements are added in future releases.

There are currently no forward compatibility changes for the AdExtension object.
KeyValuePairOfstringstring arrayRead-onlyRead-only
IdThe unique Bing Ads identifier of the ad extension.longRead-onlyRequired and Read-only
StatusThe status of the ad extension. The value will always be Active because the Campaign Management service does not return deleted ad extensions.AdExtensionStatusRead-onlyRead-only
TypeThe type of ad extension. For more information, see Remarks.stringRead-onlyRead-only
VersionThe number of times the contents of the ad extension has been updated. The version is set to 1 when you add the extension and is incremented each time it’s revised.intRead-onlyRead-only

If you generate the SOAP manually, use the type attribute of the <AdExtension> node as shown in the following example to specify the type of ad extension.

<AdExtension i:type="SiteLinksAdExtension" xmlns:i="">
    <Id i:nil="true" />
    <Status i:nil=”true” />
      . . .

CampaignManagementService.svc v10



Community Additions

© 2016 Microsoft