Hi everyone,

We are trying to get this report through the API:

SELECT campaign.id, campaign.name, campaign.advertising_channel_type, 
campaign.advertising_channel_sub_type, customer.currency_code, 
metrics.impressions, metrics.clicks, metrics.cost_micros, 
customer.descriptive_name, customer.id FROM campaign

And the Demand Generation campaigns are not available in the API response. 
How can i resolve this?

El martes, 21 de noviembre de 2023 a las 2:28:37 UTC-3, Google Ads API 
Forum Advisor escribió:

> Hi Team,
>
> Thank you for getting back to us.
>
> Please note that for Demand Gen and Discovery 
> <https://developers.google.com/google-ads/api/docs/discovery/overview> Target 
> CPA campaigns, the campaign-level Target CPA bid simulations (
> campaign_simulation.target_cpa_point_list.points 
> <https://developers.google.com/google-ads/api/fields/v15/campaign_simulation#campaign_simulation.target_cpa_point_list.points>)
>  
> now returns TargetCpaSimulationPoint.interactions 
> <https://developers.google.com/google-ads/api/reference/rpc/v15/TargetCpaSimulationPoint#interactions>
>  instead 
> of TargetCpaSimulationPoint.clicks 
> <https://developers.google.com/google-ads/api/reference/rpc/v15/TargetCpaSimulationPoint#clicks>.
>  
> To investigate further please 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 and the uncropped UI screenshot of the report that 
> you are trying to duplicate via the Google Ads API to better assist you. 
> Kindly note that this support channel specializes in Google Ads API 
> <https://developers.google.com/google-ads/api/docs/start> related 
> concerns and technical implementations only.
>  
> If you are using a client library and haven't enabled 
> the logging yet, I would request you to 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.
>
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02oidR6:ref"
>
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/108a1aa5-e20b-4b6d-9135-1bb7fd97fda0n%40googlegroups.com.
  • Wi... Kyle P
    • ... Alessandro P
      • ... 'Facundo Buffa' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to