问题严重程度和 Merchant Center 诊断

假设您想要获取有关帐号中当前所提供商品的信息。具体而言,您想知道自己的任何商品是否存在需要解决的问题。您知道如何从 Merchant Center 获取此信息,但更希望使用 Content API 设置自动提醒系统。在本指南中,我们将介绍 Content API 中的问题严重程度信息与 Merchant Center 的“诊断”报告中显示的问题优先级的对应关系。

Content API 示例

如需获取影响您的商品的问题,您可以为自己的帐号运行 accountstatuses.get。以下是您获取的资源的精简示例:

{
 "kind": "content#accountStatus",
 "accountId": "...",
 "accountLevelIssues": [
    {
     "id": "editorial_and_professional_standards_destination_url_down_policy",
     "title": "Account suspended due to policy violation: landing page not working",
     "country": "US",
     "severity": "critical",
     "documentation": "https://support.google.com/merchants/answer/6150244#wycd-usefulness"
    },
    {
     "id": "missing_ad_words_link",
     "title": "No Google Ads account linked",
     "severity": "error",
     "documentation": "https://support.google.com/merchants/answer/6159060"
    }
   ],
   "products": [
      {
       "channel": "online",
       "destination": "Shopping",
       "country": "US",
       "statistics": {
        "active": "0",
        "pending": "0",
        "disapproved": "5",
        "expiring": "0"
       },
       "itemLevelIssues": [
        {
         "code": "image_link_broken",
         "servability": "disapproved",
         "resolution": "merchant_action",
         "attributeName": "image link",
         "description": "Invalid image [image link]",
         "detail": "Ensure the image is accessible and uses an accepted image format (JPEG, PNG, GIF)",
         "documentation": "https://support.google.com/merchants/answer/6098289",
         "numItems": "2"
        },
        {
         "code": "landing_page_error",
         "servability": "disapproved",
         "resolution": "merchant_action",
         "attributeName": "link",
         "description": "Unavailable desktop landing page",
         "detail": "Update your website or landing page URL to enable access from desktop devices",
         "documentation": "https://support.google.com/merchants/answer/6098155",
         "numItems": "5"
        }
      ]
     },
  ...
}

accountLevelIssues[].severity 下,您可以看到 Merchant Center 帐号错误的严重程度。Critical 个错误会导致账号中止,这将使您无法投放商品。

itemLevelIssues 下,您可以看到可能导致商品被拒批的商品错误。请注意,itemLevelIssues[].numItems 表示您帐号中有 2 件商品受到损坏的图片链接的影响,有 5 件商品存在着陆页错误。

itemLevelIssues[].servability 下,您可以查看该错误是否会导致受影响的商品被拒批。请注意,损坏的图片链接和着陆页错误都会导致商品被拒批。

如需查找所有受影响的商品,请调用 Productstatuses.list 以获取每个商品的完整问题列表。它会返回如下条目:

 {
  "kind": "content#productstatusesListResponse",
  ...
  "resources": [
   {
     "kind": "content#productStatus",
     "productId": "online:en:US:online-en-US-GGL614",
     ...
     "itemLevelIssues": [
       {
         "code": "mobile_landing_page_crawling_not_allowed",
         "servability": "disapproved",
         "resolution": "merchant_action",
         "attributeName": "link",
         "destination": "Shopping",
         "description": "Mobile page not crawlable due to robots.txt",
         "detail": "Update your robots.txt file to allow user-agents \"Googlebot\" and \"Googlebot-Image\" to crawl your site",
         "documentation": "https://support.google.com/merchants/answer/6098296"
       },
       {
         "code": "pending_initial_policy_review",
         "servability": "disapproved",
         "resolution": "pending_processing",
         "destination": "Shopping",
         "description": "Pending initial review",
         "documentation": "https://support.google.com/merchants/answer/2948694"
       },
       {
         "code": "ambiguous_gtin",
         "servability": "unaffected",
         "resolution": "merchant_action",
         "attributeName": "gtin",
         "destination": "Shopping",
         "description": "Ambiguous value [gtin]",
         "detail": "Use the full GTIN. Include leading zeroes, and use the full UPC, EAN, JAN, ISBN-13, or ITF-14.",
         "documentation": "https://support.google.com/merchants/answer/7000891"
       }
     ],
     ...
   },
   ...
   ]
 }

现在,您已了解帐号中所有商品存在的问题,但目前尚不清楚解决这些问题的重要性。

productstatuses 示例中,您可以使用 itemLevelIssues[].servability 来判断错误是否会导致您在“在 Google 上购买”“购物广告”或“Google 平台呈现”中展示相应商品。

如果 itemLevelIssues[].servabilityunaffected(例如 ambiguous_gtin 错误),则该错误不会阻止您的商品展示。

但是,如果 itemLevelIssues[].servabilitydisapproved(例如 mobile_landing_page_crawling_not_allowed 错误),则这是一个更严重的错误,因为您必须先修正错误,然后才能投放商品。

accountstatuses 示例的 accountLevelIssues[].severity 下,Merchant Center 中的“诊断”部分定义了问题优先级以及不同优先级的确切含义。

首先,看一下该报告:

Merchant Center 中的诊断报告

您从 Content API for Shopping 获取的所有信息与您在“诊断”部分看到的信息有何关联?哪些条目是您需要尽快解决的问题,哪些条目很适合解决但不是必须解决的问题?如果哪些问题得不到解决,哪些问题将会导致您的商品无法在广告中投放?

如这些示例所示,“诊断”部分提供有关该帐号及该帐号中商品问题的严重级别信息,而 Content API(通过 Accountstatuses 服务)仅提供有关 accountLevel 问题的严重性信息。

每个来源都会根据问题的严重程度将问题分为三类。了解如何判断从状态相关服务返回的问题的严重程度,有助于快速确定哪些问题最需要解决,以及哪些问题可以安全地忽略。

问题优先级

在“诊断”部分中,问题优先级将问题严重程度描述为以下三个级别之一:错误、警告和通知。在上述这类报表中,这些级别由显示在第一列的图片表示:错误 表示错误,警告 表示警告,通知 表示通知。

  • 这些错误导致帐号被暂停或商品被拒批。您应尽快解决这些问题,以确保商品能够再次出现在搜索结果中。

  • 警告可能会对您的广告效果产生不利影响,并且可能会导致商品日后被暂停或帐号被中止,除非问题得到解决。

  • 通知是有助于提高数据质量的建议优化建议。建议您解决这些问题,但这并非强制性要求。

不过,我们无需访问 Merchant Center 即可找出哪些错误。 在 Content API 中,accountstatuses 资源对象中的 accountLevelIssues[].severity 字段提供相同的问题严重程度信息。这些字段可以包含以下任一值:criticalerrorsuggestion

这些值与“诊断”标签页上的问题优先级一一对应:

数据质量问题严重性 (API) 问题优先级
critical 错误 (错误)
error 警告 (警告)
suggestion 通知 (通知)

因此,在我们的 accountstatuses 示例中,missing_ad_words_link 问题可让您知道需要关联 Google Ads 帐号才能投放广告,但这不会影响您的 Merchant Center 数据库中的产品获得批准。另一方面,editorial_and_professional_standards_destination_url_down_policy 是一种更严重的错误,会暂停您的帐号。如果您已参与“Google 易购”“Google 平台呈现”计划,或者已有关联的 Google Ads 帐号,则 critical 错误会导致您的商品立即无法在“Google 易购”“Google 平台呈现”和“购物广告”计划中投放。

利用这些信息,您现在可以编写提醒软件,该软件会立即让您关注重要问题,同时收集不太严重的问题以进行最终修复,而无需访问 Merchant Center 来辨别具体问题。