I like the Query Builder tool in the Google Ads API documentation. It interactively shows what fields are available for the SELECT statement. If you go to https://developers.google.com/google-ads/api/fields/v16/campaign_query_builder and add "segments.conversion_action" you'll see right away that only conversion related metrics are allowed in the query. clicks, impressions, ctr etc are greyed out.
Google Ads API Forum Advisor schrieb am Donnerstag, 6. Juni 2024 um 07:13:38 UTC+2: > Hi, > > The segments.conversion_action_category > <https://developers.google.com/google-ads/api/fields/v16/campaign#segments.conversion_action_category> > > is incompatible with the metrics cost, impressions and clicks in the > campaign > <https://developers.google.com/google-ads/api/fields/latest/campaign> > report. > You may try the below query to retrieve the conversion action category > 'PURCHASE' using the conversion_action > <https://developers.google.com/google-ads/api/fields/v17/conversion_action> > report. The conversion_action > <https://developers.google.com/google-ads/api/fields/v17/conversion_action> > report does not contain the campaign details. > > > SELECT conversion_action.id, conversion_action.name, metrics.all_conversions, > conversion_action.category FROM conversion_action WHERE > conversion_action.category = 'PURCHASE' > > If you would still like to retrieve the conversion (purchases) for the > campaign, provide us with the uncropped screenshot of the Google Ads > account by highlighting the metrics cost, impressions and clicks along with > the segment ''PURCHASE". > > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02tJCk2:ref" (ADR-00238183) > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/15f2f5f0-b2ee-460f-a08e-04864df3f5d1n%40googlegroups.com.