次の方法で共有


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

操作が失敗した要求メッセージ内の項目のバッチ内の項目を識別し、エラーの理由を記述する Campaign Management バッチ エラー オブジェクトを定義します。

構文

<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:q13="http://schemas.datacontract.org/2004/07/System.Collections.Generic" minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q13: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 オブジェクトには、CodeDetailsErrorCodeFieldPathForwardCompatibilityMapIndexMessage、Type という要素があります

要素 説明 データ型
コード エラーを識別する数値エラー コード。 int
詳細 バッチ エラーに関する追加の詳細を示すメッセージ。 この文字列は空にすることができます。 string
ErrorCode エラーを識別するシンボリック文字列定数。 たとえば、UserIsNotAuthorized です。 string
FieldPath エラーが発生したデータ オブジェクトの要素の名前。 たとえば、キャンペーンTrackingUrlTemplate に無効なテキストが含まれている場合、この FieldPath 要素の値は TrackingUrlTemplate です。

この値は変更される可能性があるため、現在の文字列形式に依存しないでください。

この要素は、すべてのエラーでサポートされているわけではありません。 フィールド パスは、それぞれの CampaignAdGroupTextAdProductAdBiddableAdGroupCriterionKeyword オブジェクトの FinalMobileUrlsFinalUrlsTrackingUrlTemplateUrlCustomParameters 要素に関連するエラーに対してサポートされています。 また、CalloutAdExtension オブジェクトと ReviewAdExtension オブジェクトのすべてのフィールドに関連するエラーでもサポートされます。
string
ForwardCompatibilityMap 現在の API バージョンで新しい要素が追加されたときに変更が中断されないように、前方互換性のためのキー文字列と値文字列の一覧。

今後のリリースでは、今後の互換性の変更に関するページを参照してください。 現在、このオブジェクトの前方互換性の変更はありません。
KeyValuePairOfstring 配列
索引 失敗した要求メッセージ内の項目のバッチ内の項目の 0 から始まるインデックス。 int
メッセージ エラーを説明するメッセージ。

トラブルシューティングとエラー処理の詳細については、「サービス エラーと例外と操作エラー コードの処理」を参照してください。
string
内部使用のため予約済みです。 string

要件

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

使用ページ

AddAdGroups
AddAds
AddAssetGroups
AddAudienceGroups
AddAudiences
AddBidStrategies
AddBudgets
AddCampaignConversionGoals
AddCampaigns
AddConversionGoals
AddDataExclusions
AddExperiments
AddImportJobs
AddKeywords
AddLabels
AddListItemsToSharedList
AddSeasonalityAdjustments
AddSharedEntity
AddUetTags
AddVideos
ApiFaultDetail
AppealEditorialRejections
ApplyAssetGroupListingGroupActions
ApplyCustomerListItems
ApplyCustomerListUserData
ApplyHotelGroupActions
ApplyOfflineConversionAdjustments
ApplyOfflineConversions
ApplyOnlineConversionAdjustments
ApplyProductPartitionActions
BatchErrorCollection
DeleteAdExtensions
DeleteAdExtensionsAssociations
DeleteAdGroupCriterions
DeleteAdGroups
DeleteAds
DeleteAssetGroups
DeleteAudienceGroupAssetGroupAssociations
DeleteAudienceGroups
DeleteAudiences
DeleteBidStrategies
DeleteBudgets
DeleteCampaignConversionGoals
DeleteCampaignCriterions
DeleteCampaigns
DeleteDataExclusions
DeleteExperiments
DeleteImportJobs
DeleteKeywords
DeleteLabelAssociations
DeleteLabels
DeleteListItemsFromSharedList
DeleteMedia
DeleteSeasonalityAdjustments
DeleteSharedEntities
DeleteSharedEntityAssociations
DeleteVideos
EditorialApiFaultDetail
GetAccountProperties
GetAdExtensionsAssociations
GetAdExtensionsByIds
GetAdExtensionsEditorialReasons
GetAdGroupsByIds
GetAdsByIds
GetAssetGroupsByCampaignId
GetAssetGroupsByIds
GetAssetGroupsEditorialReasons
GetAudienceGroupAssetGroupAssociationsByAssetGroupIds
GetAudienceGroupAssetGroupAssociationsByAudienceGroupIds
GetAudienceGroupsByIds
GetAudiencesByIds
GetBidStrategiesByIds
GetBudgetsByIds
GetCampaignCriterionsByIds
GetCampaignIdsByBidStrategyIds
GetCampaignIdsByBudgetIds
GetCampaignsByIds
GetConversionGoalsByIds
GetConversionGoalsByTagIds
GetDataExclusionsByAccountId
GetDataExclusionsByIds
GetEditorialReasonsByIds
GetExperimentsByIds
GetImportEntityIdsMapping
GetImportJobsByIds
GetKeywordsByIds
GetLabelAssociationsByEntityIds
GetLabelAssociationsByLabelIds
GetLabelsByIds
GetMediaAssociations
GetMediaMetaDataByIds
GetNegativeKeywordsByEntityIds
GetNegativeSitesByAdGroupIds
GetNegativeSitesByCampaignIds
GetSeasonalityAdjustmentsByAccountId
GetSeasonalityAdjustmentsByIds
GetSharedEntityAssociationsByEntityIds
GetSharedEntityAssociationsBySharedEntityIds
GetUetTagsByIds
GetVideosByIds
SetAdExtensionsAssociations
SetAudienceGroupAssetGroupAssociations
SetLabelAssociations
SetNegativeSitesToAdGroups
SetNegativeSitesToCampaigns
SetSharedEntityAssociations
UpdateAdGroups
UpdateAds
UpdateAssetGroups
UpdateAudienceGroups
UpdateAudiences
UpdateBidStrategies
UpdateBudgets
UpdateCampaigns
UpdateConversionGoals
UpdateDataExclusions
UpdateExperiments
UpdateImportJobs
UpdateKeywords
UpdateLabels
UpdateSeasonalityAdjustments
UpdateSharedEntities
UpdateUetTags
UpdateVideos