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 to the Google Ads API support team.
>
> The PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE 
> <https://developers.google.com/google-ads/api/reference/rpc/v13/QueryErrorEnum.QueryError#prohibited_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 may see this document about segmentation 
> <https://developers.google.com/google-ads/api/docs/reporting/segmentation>
> . 
>
> However, if your issue still persists, kindly provide us with the complete 
> API logs (request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> generated at your end where the mentioned error occurred.
>
> If you are using a client library and haven't enabled logging yet, I would 
> request that you enable logging for the specific client library that you 
> are using. You can refer to the guides Java 
> <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>, 
> .Net 
> <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>,
>  
> PHP 
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>, 
> Python 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>,
>  
> Ruby 
> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> 
> or Perl 
> <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> 
> to enable logging at your end. For REST interface requests, you can enable 
> logging via the curl command by using the -i flag.
>
> You can send the details via the *Reply privately to the author option* 
> or a *direct private reply* to this email. 
> 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/ae16b5bf-76c5-4a71-aa9f-bbabf47e27bcn%40googlegroups.com.
  • Go... Stefan Zehr
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Killian Coq
        • ... Christian H.
        • ... Killian Coq
          • ... Stefan Zehr

Reply via email to