Hi, Thank you for reaching out to the Google Ads API support team.
Upon checking the provided information, I understand that you are encountering an MISSING_CAMPAIGN_FILTER error while retrieving the data from the shopping_product resource using the Google Ads API. This error means a filter on the campaign resource name is missing. Both the campaign and ad group must be specified in the WHERE clause. If one or other is not present, this will result in one of the following errors: MISSING_CAMPAIGN_FILTER and MISSING_AD_GROUP_FILTER. As you are including both campaign and ad_group in the 'SELECT' clause of your GAQL query you need to filter the 'WHERE' clause with campaign and ad_group resources. I would recommend you to refer to this guide for more information. Please be informed that specifying the report with a date or date range in the WHERE clause will return metrics for all products at the account level which are (regardless of whether the metrics are non-zero) for the specified time period. You cannot select segments.date, doing so would result in an UNSUPPORTED_DATE_SEGMENTATION error. I would suggest you refer to the 'Product metrics, filtered by date (Account level)' documentation for more information. Note that historical performance mapping to that campaign doesn’t appear in the shopping_product report. I have checked your Google Ads account, I could see the campaign Ids you mentioned are not present in your account even with ‘REMOVED’ status. Thanks, Google Ads API Team Feedback How was our support today? [2025-07-14 08:35:59Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01svXYh:ref" (ADR-00318780) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/_skV2000000000000000000000000000000000000000000000SZDRVZ00QnfWcISTQza_sJSnzrG9YA%40sfdc.net.