例如,一个常见的使用情形是总结账号效果
过去 30 天内按 Program 和 offer_id 细分的数据。以下是
此报告的查询:
SELECT
segments.program,
segments.offer_id,
metrics.impressions,
metrics.clicks,
metrics.ctr
FROM MerchantPerformanceView
WHERE segments.date BETWEEN '2020-11-01' AND '2020-11-30'
要发出此请求,请传递 Merchant Center 查询语言语句,如下所示
reports.search 方法。
此请求包含指向 Content API for Shopping 服务器的 HTTP POST,网址是
以下网址(将 merchantId 替换为商家 ID):
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["Free Listing Performance reporting enables merchants to monitor impressions and clicks of their products across Google surfaces like Shopping, YouTube, and Knowledge Panel."],["Utilize the Reporting API and Merchant Center Query Language to access and analyze performance data for your products and programs."],["A common use case involves summarizing account performance over a period, segmented by program and offer ID, using specific queries."],["Ensure users have the \"reporting manager\" role for data access and cross-check API data with the Google Merchant Center platform for verification."]]],["Merchants can access free listing performance data, including clicks and impressions, across Google platforms. This data is retrievable via the Reporting API using Merchant Center Query Language. Requests, sent as HTTP POSTs, allow users to filter and segment data (e.g., by program, offer ID, and date range). The `reports.search` method is used to issue queries. Access requires the *reporting manager* role. Results can be cross-checked with the Google Merchant Center platform.\n"]]