כדי לתת לחשבון את התפקיד 'מנהל הדיווח', צריך להשתמש ב-
accounts.update עד
מגדירים את השדה reportingManager בתור true. תפקיד מנהל הדיווח הוא
מקביל לתפקיד 'ביצועים ותובנות' ב-Merchant Center.
השדה accounts.update מחליף את כל המשאב Account. שימוש ב-accounts.get כדי
מקבלים את המשאב המלא של Account, ואז מספקים את כל השדות
accounts.update, כדי לא לאבד מידע.
שאילתה לדוגמה
השאילתה הבאה מאחזרת את impressions, clicks ו-ctr של כל
מוצרים בחשבון שלכם במהלך תקופה ספציפית של 30 יום. כדי לשלוח את הבקשה,
להעביר את ההצהרה הבאה של 'שפת השאילתות של Merchant Center' אל
שיטת reports.search:
SELECT
metrics.impressions,
metrics.clicks,
metrics.ctr
FROM MerchantPerformanceView
WHERE segments.date BETWEEN '2020-12-01' AND '2020-12-30'
לוחצים על Run כדי לנסות את הדוגמה ב-API Explorer. אחרי שלוחצים על
מפעילים, מעדכנים את ה-placeholder של מספר המוכר למספר המזהה שלכם ב-Merchant Center
כתובת ה-URL של הבקשה. אפשר לשנות את השאילתה. השאילתה המלאה חייבת להישאר בשורה אחת כדי
לעבוד עם API Explorer.
אפשר גם לפלח את
המדדים בשאילתה כדי לקבל דוחות ביצועים מפורטים יותר.
במדריך המוצרים מוסבר איך עושים זאת
כדי לאחזר ולסנן מוצרים באמצעות השירות Reports.
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2024-09-20 (שעון UTC)."],[[["The `Reports` service allows you to retrieve performance metrics, such as impressions, clicks, and click-through rate (CTR), for your account."],["To access this service, you must have the Reporting manager role (equivalent to the Performance and insights role in Merchant Center), which can be assigned using the `accounts.update` method."],["A comprehensive list of available metrics can be found in the `metrics` documentation, and you can use Merchant Center Query Language to create customized reports."],["For more detailed analysis, you can segment your metrics and further explore report functionalities through the provided guides on segmentation and products."]]],[]]