Google Ads API performance max campaigns V22.1.0 cost not retrieved

40 views
Skip to first unread message

Rami Hani

unread,
Nov 14, 2023, 7:19:42 AM11/14/23
to Google Ads API and AdWords API Forum
I have an issue with Gooogle Ads API V22.1.0 that the peformane max camaign types cost did not get retrieved by the API when requesting data from ad_group_ad.
The request runs successfully but do not return performance max campaigns cost data while it is appearing in google ads reports.
- Here is the request query:

    query = """

                    SELECT  segments.date,

                            customer.id,

                            customer.descriptive_name,

                            campaign.id,

                            campaign.name,

                            campaign.advertising_channel_sub_type,

                            campaign.advertising_channel_type,

                            campaign.campaign_budget,

                            campaign.start_date,

                            campaign.end_date,

                            campaign.status,

                            ad_group.effective_target_cpa_micros,

                            ad_group.id,

                            ad_group.name,

                            ad_group.status,

                            ad_group.type,

                            ad_group_ad.ad.id,

                            ad_group_ad.ad.type,

                            ad_group_ad.ad.final_urls,

                            ad_group_ad.ad_strength,

                            metrics.interactions,

                            metrics.impressions,

                            metrics.clicks,

                            metrics.ctr,

                            metrics.cost_micros,

                            metrics.conversions

                            FROM ad_group_ad

                            WHERE segments.date = '2023-11-01'

                            """


Thank you in advance for your help.



Google Ads API Forum Advisor

unread,
Nov 14, 2023, 10:10:36 AM11/14/23
to rh...@nawy.com, adwor...@googlegroups.com
Hi, 

Thank you for reaching out to the Google Ads API support team. 

After reviewing your concern, I understand that you are facing an issue in retrieving the cost for performance max campaign types when requesting data from the ad_group_ad resource through the API. In order to investigate your issue further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end and uncropped UI screenshot of the Google Ads account where you are facing the issue.

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, .Net, PHP, Python, Ruby or Perl 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 Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qCD0t:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages