共用方式為


編輯錯誤資料物件 - 行銷活動管理

定義錯誤對象,識別實體失敗的編輯檢閱失敗的原因之一。

語法

<xs:complexType name="EditorialError" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:BatchError">
      <xs:sequence>
        <xs:element minOccurs="0" name="Appealable" nillable="true" type="xs:boolean" />
        <xs:element minOccurs="0" name="DisapprovedText" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Location" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="PublisherCountry" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ReasonCode" type="xs:int" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

元素

並排顯示 Error 物件具有下列元素: [可傳訊]、 [DisapprovedText]、 [位置]、 [PublisherCountry]、[ ReasonCode]

元素 描述 資料類型
上訴 保留供日後使用。 布爾
DisapprovedText 導致不核准實體的文字。

對於文字長度違規,此元素會指定指定文字超過最大值的字元數。
string
位置 導致不核准實體之實體的項目或屬性。 string
PublisherCountry 標幟編輯問題的對應國家或地區。 string
ReasonCode 識別錯誤的數值代碼。 如需詳細資訊,請參閱 編輯原因代碼 int

[ 編輯]Error 物件具有 Inherited Elements

繼承的專案

從 BatchError 繼承的專案

編輯 物件衍生自 BatchError 物件,並繼承下列元素: CodeDetailsErrorCodeFieldPathForwardCompatibilityMapIndexMessageType。 下列描述專屬於編輯 ,而且可能不適用於從 BatchError 物件繼承相同元素的其他物件。

元素 描述 資料類型
程式碼 識別錯誤的數值錯誤碼。 int
詳細資料 提供批次錯誤其他詳細數據的訊息。 此字串可以是空的。 string
ErrorCode 識別錯誤的符號字串常數。 例如,UserIsNotAuthorized。 string
FieldPath 發生錯誤之資料物件元素的名稱。 例如,如果 CampaignTrackingUrlTemplate 包含無效的文字,則此 FieldPath 元素的值為 TrackingUrlTemplate。

此值可能會變更,因此您不應該相依於目前的字串格式。

此項目不支援所有錯誤。 與個別 CampaignAdGroupTextAdProductAdBiddableAdGroupCriterionKeyword 物件的 FinalMobileUrlsFinalUrlsTrackingUrlTemplateUrlCustomParameters 元素相關的錯誤支援字段路徑。 此外,也支援 與 CalloutAdExtensionReviewAdExtension 物件的所有欄位相關的錯誤。
string
ForwardCompatibilityMap 用於向前相容性的索引鍵和值字串清單,以避免在目前 API 版本中新增新元素時中斷變更。

未來的版本中將會記下向前相容性變更。 此資料物件目前沒有向前相容性變更。
KeyValuePairOfstringstring 陣
索引 要求訊息中專案批次中以零起始的索引,該索引失敗。 int
郵件 描述錯誤的訊息。

如需疑難解答和錯誤處理的詳細資訊,請 參閱處理服務錯誤和例外 狀況和 作業錯誤碼
string
類型 保留給內部使用。 string

需求

服務: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

消費者

編輯ApiFaultDetail