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

179 views
Skip to first unread message

kkll qi

unread,
May 30, 2024, 8: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, 3:02:23 PM5/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, 8: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, 12:39:25 PM5/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, 10: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, 9: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.
Reply all
Reply to author
Forward
0 new messages