BatchError データ オブジェクト - 一括
操作が失敗する原因となった要求メッセージ内の項目のバッチ内の項目を識別する一括バッチ エラー オブジェクトを定義し、エラーの理由を説明します。
構文
<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="FieldPath" nillable="true" type="xs:string" />
<xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System.Collections.Generic" minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q3:ArrayOfKeyValuePairOfstringstring" />
<xs:element minOccurs="0" name="Index" type="xs:int" />
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
要素
BatchError オブジェクトには、Code、Details、ErrorCode、FieldPath、ForwardCompatibilityMap、Index、Message、Type という要素があります。
要素 | 説明 | データ型 |
---|---|---|
コード | エラーを識別する数値エラー コード。 | int |
詳細 | バッチ エラーに関する追加の詳細を示すメッセージ。 この文字列は空にすることができます。 | string |
ErrorCode | エラーを識別するシンボリック文字列定数。 たとえば、 UserIsNotAuthorized です。 | string |
FieldPath | 将来使用するために予約されています。 | string |
ForwardCompatibilityMap | 現在の API バージョンで新しい要素が追加されたときに変更が中断されないように、前方互換性のためのキー文字列と値文字列の一覧。 | KeyValuePairOfstring 配列 |
索引 | 失敗した要求メッセージ内の項目のバッチ内の項目の 0 から始まるインデックス。 | int |
メッセージ | エラーを説明するメッセージ。 トラブルシューティングとエラー処理の詳細については、「サービス エラーと例外と操作エラー コードの処理」を参照してください。 |
string |
型 | 将来使用するために予約されています。 | string |
要件
サービス: BulkService.svc v13
名前 空間: https://bingads.microsoft.com/CampaignManagement/v13