In the Reporting API, you can retrieve performance data (metrics) for your account.
Using
reports.search
,
you can retrieve metrics such as clicks
and impressions
. Consult the
metrics
documentation
for the complete list of available metrics.
The following sample query retrieves the impressions
, clicks
, and ctr
for
all products in your account during a specific 30-day period:
SELECT
metrics.impressions,
metrics.clicks,
metrics.ctr
FROM MerchantPerformanceView
WHERE segments.date BETWEEN '2020-12-01' AND '2020-12-30'
You can also segment the metrics in the query for more granular performance reports.