ApiBatchFault 数据对象 - 客户计费

定义客户计费 API 批处理错误对象,当发生特定于 Web 服务的错误(例如请求消息包含不完整或无效数据时),操作会返回该错误。

语法

<xs:complexType name="ApiBatchFault" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:ApiFault">
      <xs:sequence>
        <xs:element minOccurs="0" name="BatchErrors" nillable="true" type="tns:ArrayOfBatchError" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

元素

ApiBatchFault 对象具有以下元素:BatchErrors

元素 说明 数据类型
BatchErrors BatchError 对象的数组,用于标识导致操作失败的请求消息中的项目批中的项。 每个对象都包含详细说明项导致失败的原因。 BatchError 数组

ApiBatchFault 对象具有 Inherited Elements

继承的元素

从 ApiFault 继承的元素

ApiBatchFault 对象派生自 ApiFault 对象,并继承以下元素:OperationErrors。 以下说明特定于 ApiBatchFault,可能不适用于从 ApiFault 对象继承相同元素的其他对象。

元素 说明 数据类型
OperationErrors OperationError 对象的数组,其中包含解释当错误与项目批中的特定项无关时服务操作失败的原因。 OperationError 数组

从 ApplicationFault 继承的元素

ApiBatchFault 对象派生自 ApplicationFault 对象,并继承以下元素:TrackingId。 以下说明特定于 ApiBatchFault,可能不适用于从 ApplicationFault 对象继承相同元素的其他对象。

元素 说明 数据类型
跟踪 ID 包含 API 调用详细信息的日志条目的标识符。 string

要求

服务: CustomerBillingService.svc v13
Namespace: https://bingads.microsoft.com/Customer/v13/Exception