Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[Ads API] GAQL does not return clicks by GCLID or GBRAID

43 views
Skip to first unread message

Alex Saskevich

unread,
May 6, 2025, 1:55:25 PMMay 6
to Google Ads API and AdWords API Forum
I'm trying to build a tool that will gather GCLID or/and GBRAID by Android Install Referrer API and match it with ClickView.

The Main goal is to get information about an ad campaign that attracted a selected user.

For example,

gclid=CjwKCAjwwe2_BhBEEiwAM1I7sZP58l7X1DlM5b68ojNvT5p0Gy0F9A8xTrevoj5exO6auHWcrJ6pgRoCD6EQAvD_BwE
gbraid=0AAAAABKfX3phQcFgxq1ejPNYQdSSxDvYT
gad_source=3

I'm trying to perform the query to get info by GCLID:

SELECT
   click_view.gclid,
   click_view.page_number,
   click_view.ad_group_ad,
   campaign.name,
   ad_group.name,
   metrics.clicks
FROM click_view
WHERE click_view.gclid = '$gclid'
AND segments.date = '2025-05-04'


Also, I'm trying to get info by GBRAID:

SELECT
   click_view.gclid,
   click_view.area_of_interest,
   click_view.page_number,
   click_view.ad_group_ad,
   ad_group_ad.ad.id,
   ad_group_ad.ad.name,
   ad_group_ad.ad.final_urls,
   campaign.id,
   campaign.name
FROM click_view
WHERE click_view.gbraid = '$gbraid'
AND segments.date = '2025-05-04'


But it returns nothing. The Date is correct (I also tried dates around this date). The Ad campaign is configured as an App Campaign. 

Maybe there is something wrong with the campaign setup or the query? Or maybe there is another approach to getting information by GCLID or GBRAID?

Google Ads API Forum Advisor

unread,
May 6, 2025, 4:53:50 PMMay 6
to alex.sa...@gemspace.com, adwor...@googlegroups.com

Hi,

Thank you for contacting the Google Ads API support team.

I understand you are getting an empty response when you try to retrieve data using GCLID and GBRAID. To assist you further, could you please provide us with complete API logs (request and response logs with request-id and request header) generated at your end.

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.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-06 20:52:50Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qW3CJ:ref" (ADR-00304137)



Message has been deleted

Google Ads API Forum Advisor

unread,
May 7, 2025, 6:14:36 AMMay 7
to alex.sa...@gemspace.com, adwor...@googlegroups.com
Hi,

Please be informed that I have removed your response from the forums as it contains the PII information.

Kindly note that retrieving the GCLIDs data from the app campaigns is not yet supported in the Google Ads API and this is the reason you are not able to retrieve this data using the click_view report from the Google Ads API. Additionally, note that retrieval of gbraid / wbraid parameters are currently not supported in the Google Ads API. I will raise a request to add these features to be available in the Google Ads API. We cannot provide a scheduled timeline for the availability of these features in the Google Ads API. I would recommend you to follow our Release Notes and Blog Post for future updates.

 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-05-07 10:13:35Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qW3CJ:ref" (ADR-00304137)



Reply all
Reply to author
Forward
0 new messages