Unable to get the click view data, the response body is always empty

223 views
Skip to first unread message

kkll qi

unread,
May 30, 2024, 4:48:39 AM5/30/24
to Google Ads API and AdWords API Forum
Hi,

I tried to get the report for the click_view resource through the google ads api, but the response body kept being empty
The query is:
```
{
    "query": "SELECT click_view.gclid, click_view.ad_group_ad FROM click_view WHERE segments.date = '2024-05-29'
}
```
response:
```
{
"fieldMask": "clickView.gclid,clickView.adGroupAd,campaign.id"
}
```

It is validated in query validator. However, no matter what dates or customer_ids I tried, it always return an empty result. 

I tried postman's direct request, but I don't know what materials I need to provide so that you can better help me.

  • Please contact me as soon as possible. Thank you very much

Google Ads API Forum Advisor

unread,
May 30, 2024, 11:02:23 AM5/30/24
to qikk...@gmail.com, adwor...@googlegroups.com
Hi,

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

I understand that you got the empty response when trying to query the click_view report. To replicate the issue from our end, we would require a customer ID. 

Please clarify which campaign type (APP, Search, Display etc) you are referencing in the click_view report? Also, provide us with the uncropped Google Ads account (UI) screenshot of the report with the visible customer ID that you are looking to replicate via API.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8RV:ref" (ADR-00237149)

Thanks,
 
Google Logo Google Ads API Team


kkll qi

unread,
May 31, 2024, 4:35:13 AM5/31/24
to Google Ads API and AdWords API Forum
campaign type:APP
customer ID:601-662-5366
screenshot:
google-ads-screenshot.png


Google Ads API Forum Advisor

unread,
May 31, 2024, 8:39:25 AM5/31/24
to qikk...@gmail.com, adwor...@googlegroups.com
Hi,

I understand that you want to get data from click_view for campaigns with the App type. It appears at this time app campaign clicks are not visible in the click view due to a technical difficulty on our side. When click view was built, it ran under the assumption that ad groups were created a certain way (since at the time all campaigns had ad groups), but over time campaigns were created that did not have traditional ad groups. This campaign type falls under that category and right now it's expected these don't return in the click view. In the meantime, it appears that the general recommendation for App campaigns is to focus more on the conversions aspect (https://groups.google.com/g/adwords-api/c/T6d9aghTOqM) rather than just the clicks. 

I will raise a request to add this feature to be available in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. I would recommend you please follow our Release Notes and Blog Post for future updates.

kkll qi

unread,
Jun 5, 2024, 6:29:54 PM6/5/24
to Google Ads API and AdWords API Forum
If so, how can I get the report data of click_view of the user under my account(customer id: 601-662-5366/933-917-1017) now, I mainly need to get the data of gclid.

Google Ads API Forum Advisor

unread,
Jun 6, 2024, 5:43:53 AM6/6/24
to qikk...@gmail.com, adwor...@googlegroups.com
Hi,

As informed in the earlier emails, note that the app campaign clicks are not available to retrieve from the click view report via the Google Ads API. You can continue to retrieve this data for other campaign types. 

Also, I can confirm that we have already raised a feature request for this to be available in the API, and please be assured that our team is actively working on it. I hope this clarifies.

Additionally, if you encounter any issues while retrieving the GCLID data for other campaign types, kindly get back to us with the complete API logs (request and response 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.

kkll qi

unread,
Aug 19, 2025, 5:59:59 PMAug 19
to Google Ads API and AdWords API Forum
[{
  "fieldMask": "clickView.gclid,campaign.name,segments.adNetworkType",
  "requestId": "cUZ4ovss13wXiANUsanXuA",
  "queryResourceConsumption": "2219"
}
]

Google Ads API Forum Advisor

unread,
Aug 19, 2025, 6:05:16 PMAug 19
to qikk...@gmail.com, adwor...@googlegroups.com
Hi,

It appears that you have missed our previous response. Please refer to the below information which we have already responded.

The reason why you are getting an empty response while retrieving the data using the click_view report is because your account has only app campaigns data present under it for the selected segments data. As mentioned earlier, app campaign clicks are not available to retrieve from the click view report via the Google Ads API. You can continue to retrieve this data for other campaign types. 

I hope this helps!

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-19 22:04:28Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ8RV:ref" (ADR-00237149)



Jesus Enmanuel De La Cruz

unread,
Sep 11, 2025, 5:54:15 PM (2 days ago) Sep 11
to Google Ads API and AdWords API Forum
I'm getting the same response, my customerID is 3941925184 and this is the query that I'm using:
SELECT click_view.gclid, click_view.keyword_info.text, click_view.keyword_info.match_type, campaign.id, campaign.name, ad_group.id, ad_group.name FROM click_view WHERE click_view.gclid = 'Cj0KCQjwoP_FBhDFARIsANPG24OKya-jZsHFQe-VHnLjMtVUeeDOPphQnDjdphrhnLb9ZgaZdz9Qac0aAvTuEALw_wcB' AND segments.date = '2025-09-15

Google Ads API Forum Advisor

unread,
Sep 12, 2025, 12:11:33 AM (yesterday) Sep 12
to edelac...@gmail.com, adwor...@googlegroups.com
Hi,

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

Note that I have removed your response from the forums as it contains the PII information.

When retrieving data from the click_view resource, you must use the Customer ID (CID) associated with the specific account that owns the data, not the Manager Accounts (MCC) ID. Your query returns an empty response because the campaigns and associated click data are linked to the individual customer account, not the MCC account. Also, from the query provided, it appears that you are segmenting the data with a future date '2025-09-15'. Note that the click data for future dates doesn't  exist.

To fix this, you need to use the correct Customer ID in your request. The campaigns, ad groups, and clicks you're looking for exist within the specific customer account, not at the MCC level. I tried retrieving the data from click_view using the customer ID  (example: 9867963374) for a previous date (example: '2025-08-10'), and it worked.

The reason you are able to retrieve the data from the customer resource is because this resource is accessible at the MCC level. It returns customer metadata, not campaign performance data. 

I hope this clarifies.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-09-12 04:10:50Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u6ULv:ref" (ADR-00332533)



Reply all
Reply to author
Forward
0 new messages