AdApiError Data Object - Campaign Management

Defines an error object that contains the details that explain why the service operation failed.

Syntax

<xs:complexType name="AdApiError" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Code" type="xs:int" />
    <xs:element minOccurs="0" name="Detail" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element Description Data Type
Code A numeric error code that identifies the error. int
Detail A message that contains additional details about the error. This string can be empty. string
ErrorCode A symbolic string constant that identifies the error. For example, UserIsNotAuthorized. string
Message A message that describes the error. string

Requirements

Service: CampaignManagementService.svc v11
Namespace: https://adapi.microsoft.com

Used By

AdApiFaultDetail