Hi, I added a filter for conversion_action_category into our campaigns data query:
SELECT cpgn."id" AS campaignid , cpgn."name" AS campaignname , cpgn."cost_micros" , cpgn."clicks" AS Clicks , cpgn."interactions" AS Interactions , cpgn."conversions" AS Conversions FROM "GoogleAds.campaign" cpgn WHERE cpgn."date" >= '2024-06-03' and cpgn."date" <= '2024-06-04' and cpgn."conversion_action_category" = 'PURCHASE' But this results in the following error message. Can I do anything to prevent that? errors { error_code { query_error: PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE } message: "Cannot select the following segments because at least one unsupported metric is found in SELECT or WHERE clause: 'segments.conversion_action_category'(unsupported metrics: 'clicks', 'cost_micros', 'interactions')." } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 on the web visit https://groups.google.com/d/msgid/adwords-api/958a02b0-5e38-4685-83b8-e44cbeb4e241n%40googlegroups.com.