Campaign Management Error Data Objects

 

Bing Ads campaign management 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 campaign management 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.
EditorialApiFaultDetailDefines a fault object that operations return when one or more entity elements in your request message fail editorial review.

The following error objects may be returned within campaign management 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.

Note: May also be returned in the PartialErrors element of some operation responses, for example AddKeywords.
BatchErrorCollectionDefines an error object that contains batch error details for the top level list index and a list of batch errors corresponding to the nested list index.

Note: May be returned in the NestedPartialErrors element of some operation responses, for example AddNegativeKeywordsToEntities.
EditorialErrorDefines an error object that identifies the entity element that failed editorial review.
OperationErrorDefines an error object that contains the details of why the service operation failed.

Community Additions

ADD
Show: