問題嚴重性和 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[].servability
是 unaffected
類似 ambiguous_gtin
的錯誤,產品不會因此無法放送。
不過,如果 itemLevelIssues[].servability
是 disapproved
類似 mobile_landing_page_crawling_not_allowed
的錯誤,這就是更嚴重的錯誤,因為必須修正錯誤,產品才能放送。
在我們的accountstatuses
範例中,accountLevelIssues[].severity
Merchant Center 的「診斷」專區定義了問題優先順序,以及不同優先順序的確切意義。
首先,請查看報表:

你從 Content API for Shopping 取得的所有資訊,與「診斷」專區中顯示的資訊有何關聯?哪些項目是需要盡快修正的問題,哪些項目則可視情況處理,但並非必要?如果未解決哪些問題,產品將無法在廣告中放送?
如這些範例所示,「診斷」專區會提供帳戶和帳戶中產品的問題嚴重程度資訊,而 Content API (透過 Accountstatuses
服務) 則只會提供 accountLevel
問題的嚴重程度資訊。
每個來源都會根據問題的嚴重程度,將問題分成三類。瞭解如何判斷狀態相關服務傳回的問題嚴重程度,有助於快速找出最需要解決的問題,以及可以安全忽略的問題。
安排待處理問題的優先順序
在「診斷」專區中,問題優先順序會以三種嚴重程度描述問題:錯誤、警告和通知。在上述這類報表表格中,這些層級會以圖片表示,顯示在第一欄:
代表錯誤、
代表警告,而
代表通知。
錯誤導致帳戶遭停權或商品遭拒登。請盡快解決這些問題,確保商品能再度顯示在搜尋結果中。
警告可能會降低廣告成效,如果不解決問題,日後可能導致商品暫停刊登或帳戶遭到停權。
通知會顯示建議的最佳化做法,有助於提升資料品質。建議您解決這些問題,但並非必要步驟。
不過,我們不需要前往 Merchant Center 就能找出哪些錯誤是哪些。
在 Content API 中,accountstatuses
資源物件的 accountLevelIssues[].severity
欄位會提供相同的問題嚴重程度資訊。這些欄位可包含下列其中一個值:critical
、error
和 suggestion
。
這些值與「診斷」分頁中的問題優先順序一一對應:
資料品質問題嚴重程度 (API) |
安排待處理問題的優先順序 |
critical |
錯誤 ( ) |
error |
警告 ( ) |
suggestion |
通知 ( ) |
因此在我們的accountstatuses
範例中,missing_ad_words_link
問題會告知您需要連結 Google Ads 帳戶才能放送廣告,但不會影響產品在 Merchant Center 資料庫中的核准狀態。另一方面,editorial_and_professional_standards_destination_url_down_policy
是更嚴重的錯誤,會導致帳戶遭到停權。如果參與 Buy on Google、Google 服務或已連結 Google Ads 帳戶,critical
錯誤會立即停止在 Buy on Google、Google 服務和購物廣告計畫中放送產品。
有了這些資訊,您現在可以編寫警報軟體,立即提醒您注意重要問題,同時收集較不嚴重的問題以供日後修正,不必前往 Merchant Center 辨別問題的嚴重程度。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-13 (世界標準時間)。
[null,null,["上次更新時間:2025-08-13 (世界標準時間)。"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and offers improved integration capabilities.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003eaccountstatuses.get\u003c/code\u003e and \u003ccode\u003eproductstatuses.list\u003c/code\u003e to retrieve account and product-level issue data respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eaccountLevelIssues[].severity\u003c/code\u003e and \u003ccode\u003eitemLevelIssues[].servability\u003c/code\u003e fields indicate the severity of issues, ranging from critical errors to mere suggestions.\u003c/p\u003e\n"],["\u003cp\u003eIssue severity in the API corresponds to the Diagnostics section in Merchant Center, aiding in prioritization of fixes.\u003c/p\u003e\n"],["\u003cp\u003eCritical errors (\u003ccode\u003ecritical\u003c/code\u003e severity) result in account suspension and require immediate attention to resume product serving.\u003c/p\u003e\n"]]],["The core content explains how to use the Content API to identify and prioritize issues affecting products and accounts. It uses `accountstatuses.get` and `Productstatuses.list` to retrieve issues. Account-level issues have severities: `critical` (account suspension), `error` (future issues), and `suggestion` (optimizations). Item-level issues indicate if products are `disapproved` or `unaffected`, which corresponds to issues that stop the product from being available. These severities in the API directly correlate with the error, warning, and notification system in the Merchant Center's Diagnostics section.\n"],null,["# Issue severity and Merchant Center Diagnostics\n\nSuppose you want to get information on the products currently available in your\naccount. In particular, you're interested in knowing whether any of your\nproducts have issues that need addressing. You know how to get this information\nfrom the Merchant Center, but you'd rather set up an automatic alerting system\nusing the Content API. In this guide, we'll go through how the issue severity\ninformation in the Content API maps to the issue prioritization seen in the\nDiagnostics reports in the Merchant Center.\n\nExample with Content API\n------------------------\n\nTo get the issues affecting your products, you can run\n[`accountstatuses.get`](/shopping-content/reference/rest/v2.1/accountstatuses/get)\nfor your account. Here's a cut down example of the resource you get back: \n\n {\n \"kind\": \"content#accountStatus\",\n \"accountId\": \"...\",\n \"accountLevelIssues\": [\n {\n \"id\": \"editorial_and_professional_standards_destination_url_down_policy\",\n \"title\": \"Account suspended due to policy violation: landing page not working\",\n \"country\": \"US\",\n \"severity\": \"critical\",\n \"documentation\": \"https://support.google.com/merchants/answer/6150244#wycd-usefulness\"\n },\n {\n \"id\": \"missing_ad_words_link\",\n \"title\": \"No Google Ads account linked\",\n \"severity\": \"error\",\n \"documentation\": \"https://support.google.com/merchants/answer/6159060\"\n }\n ],\n \"products\": [\n {\n \"channel\": \"online\",\n \"destination\": \"Shopping\",\n \"country\": \"US\",\n \"statistics\": {\n \"active\": \"0\",\n \"pending\": \"0\",\n \"disapproved\": \"5\",\n \"expiring\": \"0\"\n },\n \"itemLevelIssues\": [\n {\n \"code\": \"image_link_broken\",\n \"servability\": \"disapproved\",\n \"resolution\": \"merchant_action\",\n \"attributeName\": \"image link\",\n \"description\": \"Invalid image [image link]\",\n \"detail\": \"Ensure the image is accessible and uses an accepted image format (JPEG, PNG, GIF)\",\n \"documentation\": \"https://support.google.com/merchants/answer/6098289\",\n \"numItems\": \"2\"\n },\n {\n \"code\": \"landing_page_error\",\n \"servability\": \"disapproved\",\n \"resolution\": \"merchant_action\",\n \"attributeName\": \"link\",\n \"description\": \"Unavailable desktop landing page\",\n \"detail\": \"Update your website or landing page URL to enable access from desktop devices\",\n \"documentation\": \"https://support.google.com/merchants/answer/6098155\",\n \"numItems\": \"5\"\n }\n ]\n },\n ...\n }\n\nUnder `accountLevelIssues[].severity`, you see the severity of Merchant Center\naccount errors. `Critical` errors will cause an account suspension, which will\nstop you from serving your products.\n\nUnder `itemLevelIssues`, you can see the product errors that can lead to product\ndisapprovals. Note that `itemLevelIssues[].numItems` lets you know that 2 items\nin your account are affected by a broken image link, and 5 items have a\nlanding page error.\n\nUnder `itemLevelIssues[].servability`, you can see whether the error causes the\naffected products to be disapproved. Note that both the broken image link and\nthe landing page error cause products to be disapproved.\n\nTo find all the affected products, you call\n[`Productstatuses.list`](/shopping-content/reference/rest/v2.1/productstatuses/list)\nto get a complete list of issues on a per-product basis. It returns\nentries like the following: \n\n {\n \"kind\": \"content#productstatusesListResponse\",\n ...\n \"resources\": [\n {\n \"kind\": \"content#productStatus\",\n \"productId\": \"online:en:US:online-en-US-GGL614\",\n ...\n \"itemLevelIssues\": [\n {\n \"code\": \"mobile_landing_page_crawling_not_allowed\",\n \"servability\": \"disapproved\",\n \"resolution\": \"merchant_action\",\n \"attributeName\": \"link\",\n \"destination\": \"Shopping\",\n \"description\": \"Mobile page not crawlable due to robots.txt\",\n \"detail\": \"Update your robots.txt file to allow user-agents \\\"Googlebot\\\" and \\\"Googlebot-Image\\\" to crawl your site\",\n \"documentation\": \"https://support.google.com/merchants/answer/6098296\"\n },\n {\n \"code\": \"pending_initial_policy_review\",\n \"servability\": \"disapproved\",\n \"resolution\": \"pending_processing\",\n \"destination\": \"Shopping\",\n \"description\": \"Pending initial review\",\n \"documentation\": \"https://support.google.com/merchants/answer/2948694\"\n },\n {\n \"code\": \"ambiguous_gtin\",\n \"servability\": \"unaffected\",\n \"resolution\": \"merchant_action\",\n \"attributeName\": \"gtin\",\n \"destination\": \"Shopping\",\n \"description\": \"Ambiguous value [gtin]\",\n \"detail\": \"Use the full GTIN. Include leading zeroes, and use the full UPC, EAN, JAN, ISBN-13, or ITF-14.\",\n \"documentation\": \"https://support.google.com/merchants/answer/7000891\"\n }\n ],\n ...\n },\n ...\n ]\n }\n\nNow you have information about the issues for all the products in your account,\nbut it's unclear how important it is to fix these issues.\n\nIn our `productstatuses` example, you can use `itemLevelIssues[].servability`\nto discover whether an error disables your ability to serve the product in\nBuy on Google, Shopping Ads, or Surfaces across Google.\n\nIf `itemLevelIssues[].servability` is `unaffected` like the\n`ambiguous_gtin` error, the error will not prevent your product from\nserving.\n\nHowever, if `itemLevelIssues[].servability` is `disapproved` like the\n`mobile_landing_page_crawling_not_allowed` error, this is a much more\nserious error since you cannot serve your product until the error is fixed.\n\nIn our `accountstatuses` example, under `accountLevelIssues[].severity`, the\n[Diagnostics section](https://support.google.com/merchants/answer/1680021)\nin [Merchant Center](https://merchants.google.com/) defines issue prioritization\nand precisely what the different priorities mean.\n\nFirst, take a look at the report:\n\nHow does all the information you're getting from\nthe Content API for Shopping correlate with what you see\nin the Diagnostics section? Which entries are issues you need to fix ASAP, and\nwhich ones would be nice to tackle, but are not essential to fix? Which issues\nwill stop your products from serving in your ads if unaddressed?\n\nAs shown in these examples, the Diagnostics section provides severity information\nabout issues for the account and products on that account, while the Content API\n(via the `Accountstatuses` service) provides severity information\nsolely for `accountLevel` issues.\n\nEach source divides issues into three categories based\non the severity of the issue. Understanding how to judge the severity of issues\nreturned from the status-related services can help quickly pinpoint which issues\nare the most important to address, and which issues can be safely ignored.\n\nIssue prioritization\n--------------------\n\nIn the Diagnostics section, the issue prioritization describes the issue\nseverity as one of three levels: errors, warnings, and notifications. In\nreport tables like the one above, these levels are represented by images that\nappear in the first\ncolumn:\nfor\nerrors,\nfor\nwarnings,\nand\nfor notifications.\n\n- Errors have caused either an account suspension or an item disapproval. They\n should be resolved as soon as possible to ensure items are eligible to appear\n in results again.\n\n- Warnings could negatively impact the performance of your ads and will likely\n lead to item or account suspensions in the future unless the issue is\n resolved.\n\n- Notifications are suggested optimizations to increase data quality. Resolving\n these issues is recommended, but not required.\n\nWe need not visit Merchant Center to find out which errors are which, though.\nIn the Content API, the `accountLevelIssues[].severity` field in the\n`accountstatuses` resource objects provides the same\nissue severity information. These fields can contain one of three values:\n`critical`, `error`, and `suggestion`.\n\nThese values have a one-to-one correspondence with the issue prioritization\non the Diagnostics tab:\n\n| Data Quality Issue Severity (API) | Issue Prioritization |\n|-----------------------------------|----------------------|\n| `critical` | Error () |\n| `error` | Warning () |\n| `suggestion` | Notification () |\n\nSo in our `accountstatuses` example, the `missing_ad_words_link` issue lets you\nknow that you need to link a Google Ads account to serve ads, but it won't\naffect the product's approval in your Merchant Center database.\nOn the other hand, the\n`editorial_and_professional_standards_destination_url_down_policy` is a\nmore severe error that suspends your account. If you are participating\nin Buy on Google, Surfaces across Google, or if you had a linked Google Ads\naccount, a `critical` error stops your products from serving in the\nBuy on Google, Surfaces across Google, and Shopping Ads programs immediately.\n\nArmed with this information, you can now write alerting software that will\nbring important issues to your attention immediately while collecting less\nserious issues for eventual fixing, without having to visit Merchant Center to\ndiscern which is which."]]