BatchError-Datenobjekt – Kampagnenverwaltung

Definiert ein Batchfehlerobjekt für die Kampagnenverwaltung, das das Element innerhalb des Stapels von Elementen in der Anforderungsnachricht identifiziert, die den Vorgang fehlgeschlagen haben, und den Grund für den Fehler beschreibt.

Syntax

<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 minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q16:ArrayOfKeyValuePairOfstringstring" xmlns:q16="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <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>

Elemente

Das BatchError-Objekt hat die folgenden Elemente: Code, Details, ErrorCode, FieldPath, ForwardCompatibilityMap, Index, Message, Type.

Element Beschreibung Datentyp
Code Ein numerischer Fehlercode, der den Fehler identifiziert. int
Einzelheiten Eine Meldung, die zusätzliche Details zum Batchfehler enthält. Diese Zeichenfolge kann leer sein. Zeichenfolge
ErrorCode Eine Konstante für symbolische Zeichenfolgen, die den Fehler identifiziert. Beispielsweise "UserIsNotAuthorized". Zeichenfolge
FieldPath Der Name des Elements des Datenobjekts, in dem der Fehler aufgetreten ist. Wenn beispielsweise die TrackingUrlTemplate einer Kampagne ungültigen Text enthält, lautet der Wert dieses FieldPath-Elements TrackingUrlTemplate.

Dieser Wert kann sich ändern, daher sollten Sie keine Abhängigkeit vom aktuellen Zeichenfolgenformat eingehen.

Dieses Element wird nicht für alle Fehler unterstützt. Der Feldpfad wird für Fehler im Zusammenhang mit FinalMobileUrls-, FinalUrls-, TrackingUrlTemplate- und UrlCustomParameters-Elementen der jeweiligen Campaign-, AdGroup-, TextAd-, ProductAd-, BiddableAdGroupCriterion- und Keyword-Objekte unterstützt. Es wird auch für Fehler unterstützt, die sich auf alle Felder der CalloutAdExtension - und ReviewAdExtension-Objekte beziehen.
Zeichenfolge
ForwardCompatibilityMap Die Liste der Schlüssel- und Wertzeichenfolgen für die Vorwärtskompatibilität, um zu vermeiden, dass beim Hinzufügen neuer Elemente in der aktuellen API-Version Änderungen erforderlich sind.

Vorwärtskompatibilitätsänderungen werden hier in zukünftigen Versionen vermerkt. Für dieses Objekt gibt es derzeit keine Änderungen an der Vorwärtskompatibilität.
KeyValuePairOfstringstring array
Index Der nullbasierte Index des Elements im Stapel der Elemente in der Anforderungsnachricht, bei dem ein Fehler aufgetreten ist. int
Meldung Eine Meldung, die den Fehler beschreibt.

Weitere Informationen zur Fehlerbehebung und Fehlerbehandlung finden Sie unter Behandeln von Dienstfehlern und -ausnahmen sowie Vorgangsfehlercodes.
Zeichenfolge
Typ Für die interne Verwendung reserviert. Zeichenfolge

Anforderungen

Dienst: CampaignManagementService.svc v13
Namensraum: https://bingads.microsoft.com/CampaignManagement/v13

Verwendet von

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