CallAdExtension Data Object - Campaign Management
Defines an object that specifies a click-to-call phone number to include in a text ad.
You can associate a call ad extension with campaigns in the account. Each entity (campaign) can be associated with one call ad extension.
Syntax
<xs:complexType name="CallAdExtension" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexContent mixed="false">
<xs:extension base="tns:AdExtension">
<xs:sequence>
<xs:element minOccurs="0" name="CountryCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="IsCallOnly" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="IsCallTrackingEnabled" nillable="true" type="xs:boolean" />
<xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="RequireTollFreeTrackingNumber" nillable="true" type="xs:boolean" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Elements
The CallAdExtension object has the following elements: CountryCode, IsCallOnly, IsCallTrackingEnabled, PhoneNumber, RequireTollFreeTrackingNumber.
The CallAdExtension object has Inherited Elements.
Inherited Elements
Inherited Elements from AdExtension
The CallAdExtension object derives from the AdExtension object, and inherits the following elements: DevicePreference, ForwardCompatibilityMap, Id, Scheduling, Status, Type, Version. The descriptions below are specific to CallAdExtension, and might not apply to other objects that inherit the same elements from the AdExtension object.
Element | Description | Data Type |
---|---|---|
DevicePreference | Not supported for this ad extension type. | long |
ForwardCompatibilityMap | The list of key and value strings for forward compatibility to avoid otherwise breaking changes when new elements are added in the current API version. There are currently no forward compatibility changes for the AdExtension object. Add: Read-only Update: Read-only |
KeyValuePairOfstringstring array |
Id | The unique Microsoft Advertising identifier of the ad extension. Add: Read-only Update: Read-only and Required |
long |
Scheduling | Determines the calendar day and time ranges when the ad extension is eligible to be shown in ads. Add: Optional Update: Optional. If you set this element null, any existing scheduling set for the ad extension will remain unchanged. If you set this to any non-null Schedule object, you are effectively replacing existing scheduling settings for the ad extension. To remove all scheduling set this element to an empty Schedule object. |
Schedule |
Status | The status of the ad extension. The value will always be Active because the Campaign Management service does not return deleted ad extensions. Add: Read-only Update: Read-only |
AdExtensionStatus |
Type | The type of the ad extension. This value is CallAdExtension when you retrieve a call ad extension. Add: Read-only Update: Read-only For more information about ad extension types, see the Ad Extension Data Object Remarks. |
string |
Version | Tracks the number of times the ad extension has been updated. The version is set to 1 when the ad extension is created, and increments by one after each update. Add: Not allowed Update: Not allowed |
int |
Requirements
Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13