次の方法で共有


OperationError データ オブジェクト - キャンペーン管理

サービス操作が失敗した理由を説明する詳細を含む Campaign Management 操作エラーを定義します。

構文

<xs:complexType name="OperationError" 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="Message" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

要素

OperationError オブジェクトには、CodeDetailsErrorCodeMessage の各要素があります。

要素 説明 データ型
コード エラーを識別する数値エラー コード。 int
詳細 エラーに関する追加の詳細を示すメッセージ。 この文字列は空にすることができます。 string
ErrorCode エラーを識別するシンボリック文字列定数。 たとえば、UserIsNotAuthorized です。 string
メッセージ エラーを説明するメッセージ。

トラブルシューティングとエラー処理の詳細については、「サービス エラーと例外と操作エラー コードの処理」を参照してください。
string

要件

サービス: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

使用ページ

ApiFaultDetail
EditorialApiFaultDetail