Re: google ads campaigns: prohibited_segment_with_metric_in_select_or_where_clause

2024-06-06 Thread Stefan Zehr
Thank you all for the replies, for us it was sufficient to just query only the conversions metric on campaign level (this is not prohibitted) and then filter by conversion_action_category <> 'PURCHASE' . We then could adjust the conversion metric in our main query (with impressions, costs,

Re: google ads campaigns: prohibited_segment_with_metric_in_select_or_where_clause

2024-06-06 Thread Killian Coq
Thank you for your answer. Is it possible to get detailed purchases at ad group level or at ad level ? Le jeudi 6 juin 2024 à 22:10:29 UTC+2, Google Ads API Forum Advisor a écrit : > Hi, > > Kindly note that retrieval of detailed purchases at the campaign level is > not yet supported in

Re: google ads campaigns: prohibited_segment_with_metric_in_select_or_where_clause

2024-06-05 Thread Christian H.
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

Re: google ads campaigns: prohibited_segment_with_metric_in_select_or_where_clause

2024-06-05 Thread Killian Coq
Hi, We are having the same issue. We can't get a specific conversion (purchases) for campaigns. Could you provide guidance on this ? Maybe provide a working exemple ? Thanks ! Le mardi 4 juin 2024 à 19:58:25 UTC+2, Google Ads API Forum Advisor a écrit : > Hi, > > Thank you for reaching out

RE: google ads campaigns: prohibited_segment_with_metric_in_select_or_where_clause

2024-06-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. The PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE is encountered because a segment may have been included together with a metric that it is incompatible with in the SELECT or WHERE clause. For more information, you

Google Ads campaigns: PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE

2024-06-04 Thread Stefan Zehr
Hi, we retrieve our campaigns data from the Google Ads API: Clicks, Costs, Impressions etc. by campaign. I want to add a filter on conversion_action_category = 'PURCHASE' to restrict the results only on purchases. But I receive the following error message. What can I do to prevent this from