ה-Content API מאפשר לבצע אינטראקציה פרוגרמטית עם Google Merchant Center, ולכן השלב הראשון בשימוש ב-Content API הוא הגדרה ובדיקה של חשבון Merchant Center.
בקטע Credentials, בוחרים באפשרות Google OAuth 2.0 ובאפשרות API key.
לוחצים על Execute.
אם תתבקשו לעשות זאת, נכנסים לחשבון Google שמשויך לחשבון Merchant Center.
אם חשבון Merchant Center מוגדר בצורה תקינה, הבקשה תתבצע בהצלחה ותוחזר קוד תגובה מסוג HTTP 200. עם זאת, מאחר שיצרתם חשבון חדש, יכול להיות שהשיטה products.list לא תחזיר מוצרים. בהמשך המדריך תוסיפו מוצר ותבצעו קריאה חוזרת ל-products.list כדי לוודא שהפעולה בוצעה בהצלחה.
[null,null,["עדכון אחרון: 2024-11-20 (שעון UTC)."],[[["The Merchant API beta is now available, offering a new and improved way to interact with Google Merchant Center."],["This API is the future of the Content API for Shopping, providing enhanced integration capabilities."],["To utilize the Merchant API, you need a Merchant Center account; detailed setup instructions are provided if you don't already have one."],["You can test your Merchant Center account and API integration using the `products.list` request with your unique Merchant Center ID."]]],["The Merchant API beta, the new version of the Content API for Shopping, is introduced. To use it, set up a Merchant Center account: sign up, verify and claim your website URL (unless using a third-party CSS), and set US tax settings. Locate your account's unique identifier. Test the setup by executing a `products.list` request via the API Explorer, entering your account ID, and authenticating with OAuth 2.0 and API key credentials. A successful setup yields a 200 HTTP response.\n"]]