Google Ads API - GAQL Query Failing

78 views
Skip to first unread message

Ismael De Freitas

unread,
Nov 28, 2023, 7:20:19 AM11/28/23
to Google Ads API and AdWords API Forum
Hello,

I need to get "ad_group.ad.id" field into the query below, currently this is failing.

Do you know any other fields that may contain this information that I could potentially extract from once I have queried it?

SELECT
customer.descriptive_name,
customer.id,
campaign.id,
campaign.name,
ad_group.id,
ad_group.name,

ad_group_criterion.criterion_id,
ad_group_criterion.url_custom_parameters,
ad_group_criterion.keyword.text,
campaign.start_date,
campaign.end_date
FROM ad_group_criterion


Thank you for your help

Google Ads API Forum Advisor

unread,
Nov 28, 2023, 8:58:08 AM11/28/23
to ismael.d...@neilsonfs.com, adwor...@googlegroups.com
Hi,

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

By reviewing your query, I understand that you need to get the "ad_group.ad.id" field. Kindly note that Google Ads API mirrors the Google Ads UI. Whatever data or feature shows up on the Ads UI report, the API should have the same. In order to assist you further, please provide us with the complete API logs (request and response with request-id and request header) generated at your end and the uncropped UI screenshot of the report you are trying to retrieve via the API.

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.!5004Q02qVKH8:ref"

Thanks,
 
Google Logo Google Ads API Team

 

Reply all
Reply to author
Forward
0 new messages