The query below is showing as valid in the query builder, but when I attempt to run it, I receive the following error message:
SELECT
shopping_product.title,
metrics.cost_micros,
metrics.conversions,
metrics.clicks,
metrics.conversions_from_interactions_rate,
segments.month
FROM
shopping_product
WHERE
segments.date BETWEEN '${adjustedStartDate}' AND '${adjustedEndDate}'
ORDER BY
metrics.cost_micros DESC
LIMIT 1000;
Failed to fetch Google Ads product metrics: Rg {
errors: [
{
error_code: [Object],
message: 'Date segmentation is not supported for shopping_product. Date segments can be used only for filtering.'
}
],
'@type': '
type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure',
request_id: 'zYtDCrbajUOjNg1SUbv2Xg'
}
Could you please advise on how I can modify the query to get product data segmented by month or suggest an alternative approach to achieve this?