אתם יכולים להשתמש ב-Merchant Reports API כדי לקבל מידע על המוצרים שלכם, על הביצועים שלהם ועל הסביבה התחרותית שלהם ב-Google, באמצעות תצוגת הנתונים שהוא מציע.
אתם יכולים להשתמש ב-Merchant Reports API כדי:
- מדידת הביצועים של המוצרים:
ב-Merchant API, השדה
MerchantPerformanceViewנקרא עכשיוproduct_performance_view. - לסנן את המוצרים לפי שדות ספציפיים:
ב-Merchant API, אתם יכולים לסנן לפי כל השדות הזמינים, חוץ מהשדה
item_issues. - שיפור תמחור המוצרים:
ב-Merchant API, שדות המטבע והסכום במיקרו-יחידות מוזגו לשדה אחד מסוג
Price. - להבין את השוק: בעזרת Merchant API אתם יכולים לקבל נתונים על המוצרים והמותגים הכי נמכרים, על מחירים תחרותיים, הצעות למחירי מבצע ומידע על המרחב התחרותי בתעשייה שלכם.
- המרחב התחרותי שבו אתם פועלים: אתם יכולים לקבל דוח שיעזור לכם להבין את המרחב התחרותי שבו אתם פועלים ברמת קטגוריית המוצרים, וליצור קמפיינים לשיפור החשיפה שלכם.
כאן מוסבר איך לשלב את Merchant Reports API עם ההטמעה הקיימת של Content API for Shopping.
בקשות
השתמשו בפורמט הבא של כתובת ה-URL לבקשה ב-Merchant Reports API:
POST https://merchantapi.googleapis.com/reports/v1/{PARENT}/reports:search
הנה השוואה לדוגמה בין Content API for Shopping לבין Merchant Reports API לבקשות מסוג search:
| Content API | Merchant API | |
| כתובת URL | https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/reports/search | https://merchantapi.googleapis.com/reports/v1/{PARENT}/reports:search |
| מזהים | {MERCHANT_ID}
|
{PARENT}
|
Methods
כדי לשלוח שאילתה ל-Merchant Reports API, צריך להפעיל את השיטה ReportService.Search.
צפיות
ב-Merchant API, שמות הטבלאות משתנים מ-CamelCase ל-snake_case.
המוצר MerchantPerformanceView נקרא עכשיו product_performance_view.
הטבלה הבאה מציגה את המיפוי בין שמות הטבלאות ב-Content API for Shopping לבין Merchant API:
| Content API | Merchant API |
MerchantPerformanceView
|
product_performance_view
|
ProductView
|
product_view
|
PriceCompetitivenesProductView
|
price_competitiveness_product_view
|
PriceInsightsProductView
|
price_insights_product_view
|
BestSellersBrandView
|
best_sellers_brand_view
|
BestSellersProductClusterView
|
best_sellers_product_cluster_view
|
CompetitiveVisibilityCompetitorView
|
competitive_visibility_competitor_view
|
CompetitiveVisibilityTopMerchantView
|
competitive_visibility_top_merchant_view
|
CompetitiveVisibilityBenchmarkView
|
competitive_visibility_benchmark_view
|
ב-Merchant API, כבר לא צריך לציין קידומת של שדה, למשל segments.offer_id. במקום זאת, פשוט משתמשים בשם השדה, offer_id.
הנה דוגמה להשוואה בין שאילתות ב-Content API for Shopping וב-Merchant API:
| Content API | Merchant API |
SELECT
segments.offer_id,
metrics.clicks
FROM MerchantPerformanceView
WHERE segments.date DURING LAST_7_DAYS
|
SELECT
offer_id,
clicks
FROM product_performance_view
WHERE date DURING LAST_7_DAYS
|
דוגמה לתשובה:
| Content API | Merchant API |
{
"segments":{
"offerId":"abc"
},
"metrics":{
"clicks":"123"
}
} |
{
"productPerformanceView" : {
"offerId": "abc",
"clicks": "123"
}
} |
אפשר להשתמש בשם הטבלה כתחילית של שדה. לדוגמה, גם offer_id וגם product_performance_view.offer_id מתקבלים בשאילתה של Merchant API.
ביצועים
אלה השינויים בתצוגת הביצועים ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
segments.program: מחרוזת
|
marketing_method: מחרוזת
|
הפלח program מוחלף בשדה marketing_method חדש. פרטים נוספים זמינים בקטע ערכים חדשים של marketing method.
|
metrics.ctr: דאבל
|
clickThroughRate: דאבל
|
השם של המדד ctr השתנה ל-clickThroughRate
|
metrics.conversionValueMicros: מספר שלם
segments.currencyCode: מחרוזת
|
conversionValue: {
|
שדות המטבע והסכום במיקרו-יחידות של מטבע מוזגו לשדה אחד מסוג Price
|
metrics.orders,
|
לא נתמך | המדדים של "קונים ב-Google" לא נתמכים ב-Merchant Reports API |
ערכים חדשים של שיטות שיווק
המיפוי בין הערכים של segments.program ל-marketing_method:
| Content API | Merchant API |
SHOPPING_ADS
|
ADS
|
FREE_PRODUCT_LISTING
|
ORGANIC
|
FREE_LOCAL_PRODUCT_LISTING
|
ORGANIC
|
BUY_ON_GOOGLE_LISTING
|
לא נתמך |
מוצר
אלה השינויים בתצוגת המוצרים ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
productView.id: מחרוזת
|
id: מחרוזת
|
פורמט השדה משתנה מ-channel:language:targetCountry:offerId ל-channel~language~feedLabel~offerId
|
productView.priceMicros: מספר שלם
productView.currencyCode: מחרוזת
|
price: {
|
השדות של סכום במיקרו-מטבע ושל מטבע מוזגו לשדה אחד מסוג Price
|
productView.aggregated_destination_status: מחרוזת
|
aggregated_reporting_context_status: מחרוזת
|
השם של השדה aggregated_destination_status השתנה ל-aggregated_reporting_context_status, הערכים לא השתנו
|
productView.item_issues: [
|
item_issues: [
|
ההגדרה של ItemIssue השתנתה
|
| לא נתמך | feedLabel: מחרוזת
|
השדה feedLabel נוסף
|
מדדי מחירים
אלה השינויים בתצוגה של מדדי המחירים ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
productView.id: מחרוזת
|
id: מחרוזת
|
פורמט השדה משתנה מ-channel:language:targetCountry:offerId ל-channel~language~feedLabel~offerId
|
productView.priceMicros: מספר שלם
productView.currencyCode: מחרוזת
|
price: {
|
השדות של סכום במיקרו-מטבע ושל מטבע מוזגו לשדה אחד מסוג Price
|
priceInsights.suggestedPriceMicros: מספר שלם
priceInsights.suggestedPriceCurrencyCode: מחרוזת
|
suggestedPrice: {
|
השדות של סכום במיקרו-מטבע ושל מטבע מוזגו לשדה אחד מסוג Price
|
priceInsights.predictedGrossProfitChangeFraction: double
priceInsights.predictedMonthlyGrossProfitChangeMicros: integer
priceInsights.predictedMonthlyGrossProfitChangeCurrencyCode: string
|
לא נתמך | שדות שקשורים לשינוי ברווח ברוטו לא נתמכים ב-Merchant Reports API |
השוואת מחירים ביחס לשוק
אלה השינויים בתצוגה של השוואת המחירים ביחס לשוק ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
productView.id: מחרוזת
|
id: מחרוזת
|
פורמט השדה משתנה מ-channel:language:targetCountry:offerId ל-channel~language~feedLabel~offerId
|
productView.priceMicros: מספר שלם
productView.currencyCode: מחרוזת
|
price: {
|
שדות המטבע והסכום במיקרו-יחידות מוזגו לשדה אחד מסוג Price
|
priceCompetitiveness.countryCode: מחרוזת
|
reportCountryCode: מחרוזת
|
השם של השדה countryCode השתנה לשם reportCountryCode
|
priceCompetitiveness.benchmarkPriceMicros: מספר שלם
priceCompetitiveness.benchmarkPriceCurrencyCode: מחרוזת
|
benchmarkPrice: {
|
השדות של סכום במיקרו-מטבע ושל מטבע מוזגו לשדה אחד מסוג Price
|
המוצרים הכי נמכרים
אלה השינויים שבוצעו בתצוגות של המוצרים הכי נמכרים ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
bestSellers.countryCode: מחרוזת
|
reportCountryCode: מחרוזת
|
השם של השדה countryCode השתנה לשם reportCountryCode
|
bestSellers.categoryId: int
|
reportCategoryId: int
|
השם של השדה categoryId השתנה לשם reportCategoryId
|
חשיפה תחרותית
אלה השינויים בתצוגות של החשיפה בהשוואה למתחרים ב-Merchant Reports API:
| Content API | Merchant API | תיאור |
competitiveVisibility.countryCode: מחרוזת
|
reportCountryCode: מחרוזת
|
השם של השדה countryCode השתנה לשם reportCountryCode
|
competitiveVisibility.categoryId: מספר שלם
|
reportCategoryId: מספר שלם
|
השם של השדה categoryId השתנה לשם reportCategoryId
|