קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ב-Content API for Shopping יש מכסות ומגבלות מחמירות על תכונות מסוימות.
כל המכסות והמגבלות עשויות להשתנות, להצטמצם או להיעלם בכל שלב, ללא הודעה מוקדמת.
מדיניות המכסות
בממוצע, מומלץ לא לעדכן את המוצרים יותר מפעמיים ביום ואת חשבונות המשנה יותר מפעם ביום.
מכסות להפעלת שיטות
Content API for Shopping מתאים באופן אוטומטי את המכסות של products ושל accounts בהתאם לשימוש שלכם. השימוש ב-accounts מבוסס על המגבלה של חשבונות המשנה.
כך אנחנו עוקבים אחרי השימוש במכסות:
המכסות הן לכל שיטה. לדוגמה, לשיטה get יש מכסה נפרדת מהשיטה update.
שיטות patch נספרות במכסות get ו-update.
כל קריאה ל-method בתוך custombatch נספרת בנפרד במכסת של ה-method הזה.
השיחות נספרות במכסת החשבון שבו אתם מבצעים את האימות בזמן השיחה. לדוגמה, אם מבצעים אימות כחשבון מתקדם, הקריאות נספרות במכסת הקריאות של החשבון המתקדם. לעומת זאת, אם מבצעים אימות כאחד מהחשבונות המשניים, הקריאות נספרות במכסת הקריאות של החשבון המשני.
בדיקת המכסות
כדי לבדוק את המכסה הנוכחית ואת השימוש הנוכחי בחשבון, צריך להריץ את הפקודה quotas.list עם הערך של merchantId בחשבון.
מומלץ לבדוק את המכסות שלכם מדי פעם כדי לוודא שיש לכם מספיק מכסות להטמעה.
המכסה האוטומטית חלה רק על השירותים products ו-accounts. אם אתם צריכים הגדלה של המכסה בשירות אחר, אם אתם מגיעים למכסה היומית בשירותים products או accounts או אם אתם צריכים הגדלה זמנית של המכסה ב-accounts או במוצרים services, צרו איתנו קשר עם הפרטים הבאים:
המזהה שלכם ב-Merchant Center.
באילו שיטות הגעתם למגבלות המכסות.
הערכה של מספר הקריאות ליום שדרושות לכם בשיטות האלה.
הסיבה שבגללה אתם צריכים להגדיל את המכסה.
שגיאות
אם תחרגו מהמכסות של Content API for Shopping, יופיעו השגיאות הבאות:
לדקה: quota/request_rate_too_high
ליום: quota/daily_limit_exceeded
במאמר בדיקת המכסות מוסבר איך להציג את המכסות ואת השימוש, ואיך לבקש הגדלה של המכסה ליום או לדקה.
too_many_subaccounts: Maximum number of sub-accounts reached
מגבלות על ייצוג משאבים
המגבלות הבאות מתארות הגבלות משמעותיות על ערכי מחרוזות ושדות מערך מסוימים בתוך ייצוגי המשאבים שבהם נעשה שימוש ב-Content API. המגבלות האלה זהות גם ב-Content API וגם בתכונה התואמת ב-Merchant Center. יכול להיות שהרשימה הזו של המגבלות לא מלאה, ואי אפשר להרחיב את המגבלות האלה.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe Content API for Shopping has quotas and limits that can change without notice, with product and sub-account updates recommended no more than twice and once per day, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe API adjusts \u003ccode\u003eproducts\u003c/code\u003e and \u003ccode\u003eaccounts\u003c/code\u003e quotas dynamically, tracking usage per method, including within \u003ccode\u003ecustombatch\u003c/code\u003e and based on the authenticated account.\u003c/p\u003e\n"],["\u003cp\u003eQuota usage can be checked with \u003ccode\u003equotas.list\u003c/code\u003e, and increases for specific services or if daily limits are reached can be requested through Google Merchant Center support.\u003c/p\u003e\n"],["\u003cp\u003eExceeding quotas results in specific errors like \u003ccode\u003equota/request_rate_too_high\u003c/code\u003e or \u003ccode\u003equota/daily_limit_exceeded\u003c/code\u003e, while resource representation limits exist for certain string and array field values.\u003c/p\u003e\n"],["\u003cp\u003eResource representation limits, which cannot be extended, apply to elements like shipping settings, affecting the number of services, groups, labels, and subtables allowed.\u003c/p\u003e\n"]]],["The Content API for Shopping has quotas and limits that can change without notice. It's advised to update products no more than twice daily and sub-accounts once. Quotas are per-method, with `patch` methods impacting both `get` and `update` quotas. The `products` and `accounts` quotas are automatically adjusted, but other services or temporary increases require contacting support. `quotas.list` checks current usage. Errors indicate `request_rate_too_high` (per minute) or `daily_limit_exceeded` (per day). Some resource limits like shipping settings exist.\n"],null,["# Quotas and limits\n\nThe Content API for Shopping imposes strict quotas and limits on some features.\nAll quotas and limits are subject to elimination, reduction, or change at any\ntime, without notice.\n| **Note:** If you need to call `datafeeds.fetchnow` more than once per day, we recommend you use the [`products`](/shopping-content/reference/rest/%0Av2.1/products) service instead to update your product data. We cannot provide a quota increase on `datafeeds.fetchnow`.\n\nQuota policy\n------------\n\nOn average, don't update your products more than twice per day, and\nyour sub-accounts more than once per day.\n\nMethod call quotas\n------------------\n\nThe Content API for Shopping automatically adjusts your\n[`products`](/shopping-content/reference/rest/v2.1/products) and\n[`accounts`](/shopping-content/reference/rest/v2.1/accounts) quotas based on\nyour usage. Your `accounts` usage is based on your sub-accounts limit.\n\nHere's how we track your quota usage:\n\n- Quotas are per-method. For example, the `get` method has a separate quota from the `update` method.\n- `patch` methods count against both your `get` and `update` quotas.\n- Each method call within a `custombatch` counts separately against that method's quota.\n- Calls count against the quota of the account you authenticate as when you make the call. For example, if you authenticate as an [advanced\n account](//support.google.com/merchants/answer/188487), calls count against your advanced account's quota, but if you authenticate as one of your sub-accounts, calls count against the sub-account's quota.\n\n| **Note:** The [`merchantsupport`](/shopping-content/reference/rest/v2.1/merchantsupport) methods always count against the quota for the account whose issues are requested. This might not be the account authenticating the request.\n\n### Check your quotas\n\nTo check the current quota and usage for an account, call\n[`quotas.list`](/shopping-content/reference/rest/v2.1/quotas/list) with the\n`merchantId` of the account.\n\nWe recommend checking your quotas periodically to ensure you have sufficient\nquota for your implementation.\n\nAutomatic quota only applies to the `products` and `accounts` services. If you\nneed an increased quota for any other service, you're hitting your daily quota\nfor the `products` or `accounts` services, or you need a temporary increase for\nthe `accounts` or products `services`,\n[contact us](https://support.google.com/merchants/contact/shopping_api_support_form)\nwith the following information:\n\n- Your Merchant Center ID.\n- Which methods you've reached your quota limits on.\n- An estimation of how many calls per day you need for those methods.\n- The reason you need a quota increase.\n\n### Errors\n\nIf you exceed the Content API for Shopping quotas, you receive the following\nerrors:\n\n- Per minute: `quota/request_rate_too_high`\n- Per day: `quota/daily_limit_exceeded`\n\n| **Note:** Calls that receive `quota/request_rate_too_high`, `quota/daily_limit_exceeded`, or authentication errors don't count towards the daily quota but any other unsuccessful calls are counted towards it.\n\nTo view your quotas and usage, and request a per-day or per-minute quota\nincrease, see [Check your quotas](#check_your_quotas).\n\nThe following errors can't be resolved by automatic quota increases, and require\nyou to [request additional quota of items, feeds or\nsub-accounts](//support.google.com/merchants/contact/additional_items):\n\n- `too_many_items: Merchant quota exceeded`\n- `too_many_subaccounts: Maximum number of sub-accounts reached`\n\nResource representation limits\n------------------------------\n\nThe following limits describe notable restrictions for certain string values and\narray fields within the resource representations used in the Content API. These\nlimits are the same for both the Content API and their corresponding feature in\nthe Merchant Center. This list of limits may not be complete, and these limits\ncannot be extended.\n\n| Resource | Field | Limit |\n|----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|\n| [shippingsettings](/shopping-content/reference/rest/v2.1/shippingsettings) | Shipping services per country (`services`). Shipping groups per shipping service (`rateGroups`). Labels per shipping group (`applicableShippingLabels`). Subtables per shipping group (`subtables`). Number of rows or columns in a single [rate table](#note2). Length of shipping labels. | 20 20 30 100 150 100 |\n\nThe number of rows or columns in a rate table affects the following array fields:\n\n- Array fields within `rowHeaders` or `columnHeaders`:\n - `prices[]`\n - `weights[]`\n - `numberOfItems[]`\n - `postalCodeGroupNames[]`\n - `locations[]`\n - `rows[]`\n - `cells[]`"]]