问题严重程度和 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 来甄别各种问题。