共用方式為


BatchError 數據物件 - Ad Insight

定義 Ad Insight 批次錯誤物件,以識別要求訊息中專案批次內導致作業失敗的專案,並描述失敗的原因。

語法

<xs:complexType name="BatchError" 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="Index" type="xs:int" />
    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

元素

BatchError 物件具有下列元素:CodeDetailsErrorCodeIndexMessage

元素 描述 資料類型
程式碼 識別錯誤的數值錯誤碼。 int
細節 提供批次錯誤其他詳細數據的訊息。 此字串可以是空的。 string
ErrorCode 識別錯誤的符號字串常數。 例如, UserIsNotAuthorized string
索引 要求訊息中專案批次中以零起始的索引,該索引失敗。 int
消息 描述錯誤的訊息。

如需疑難解答和錯誤處理的詳細資訊,請 參閱處理服務錯誤和例外 狀況和 作業錯誤碼
string

需求

服務: AdInsightService.svc v13
命名空間: https://bingads.microsoft.com/AdInsight/v13

消費者

ApiFaultDetail
ApplyRecommendations
DismissRecommendations
GetTextAssetSuggestionsByFinalUrls
SetAutoApplyOptInStatus
TagRecommendations