Reporting Error Data Objects

 

Bing Ads reporting service operations may throw fault exceptions that include one or more error objects. The error objects contain the details of why the service operation failed.

The following fault objects may be thrown by the reporting service, and should be caught within your application.

Fault ObjectDescription
AdApiFaultDetailDefines a fault object that operations return when generic errors occur, such as an authentication error.
ApiFaultDetailDefines a fault object that operations return when web service-specific errors occur, such as when the request message contains incomplete or invalid data.
ApplicationFaultDefines the base object from which all fault detail objects derive.

Note: Do not catch ApplicationFault, and instead catch one or more of the derived faults such as AdApiFaultDetail.

The following error objects may be returned within reporting fault objects, and contain the details of why the service operation failed.

Error ObjectDescription
AdApiErrorDefines an error object that contains the details of why the service operation failed.
BatchErrorDefines an error object that identifies the item within the batch of items in the request message that caused the operation to fail, and the reason for the failure.
OperationErrorDefines an error object that contains the details of why the service operation failed.

Handling Service Errors and Exceptions

Show: