AdExtension
Ad
Bid
TOC
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:sequence>
    <xs:element minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q1:ArrayOfKeyValuePairOfstringstring" xmlns:q1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <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" />
  </xs:sequence>
</xs:complexType>

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.

xml
<AdExtension i:type="SiteLinksAdExtension" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Id i:nil="true" />
    <Status i:nil=”true” />
      . . .
</AdExtension>

CampaignManagementService.svc v10

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

AdExtensionAssociationAddAdExtensionsGetAdExtensionsByIdsUpdateAdExtensions

Community Additions

ADD
Show:
© 2016 Microsoft