OperationError Data Object - Ad Insight

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

Syntax

<xs:complexType name="OperationError" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Code" type="xs:int" />
    <xs:element minOccurs="0" name="Details" 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

The OperationError object has the following elements: Code, Details, ErrorCode, Message.

Element Description Data Type
Code A numeric error code that identifies the error. int
Details A message that provides 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.

For more information about troubleshooting and error handling, see Handling Service Errors and Exceptions and Operation Error Codes.
string

Requirements

Service: AdInsightService.svc v13
Namespace: https://bingads.microsoft.com/AdInsight/v13

Used By

ApiFaultDetail