No result from campaign segment by device

47 views
Skip to first unread message

Suhail

unread,
Nov 21, 2023, 1:01:00 AM11/21/23
to Google Ads API and AdWords API Forum
I am trying to retrieve my campaign metrics with segment.device and some metrics, but it does not return anything in the response. Is there any settings that I am missing in my ads?

My request contains the following query 
'SELECT campaign.id, campaign.name, campaign.status,segments.device, metrics.clicks FROM campaign'

The response.data that I get is empty
segment_device.png

Google Ads API Forum Advisor

unread,
Nov 21, 2023, 8:17:34 AM11/21/23
to msmsfr...@gmail.com, adwor...@googlegroups.com
Hi, 

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

By reviewing your concern, I understand that when you are attempting to retrieve campaign metrics with the segment.device and specific metrics the response is empty. 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 to better assist you further.

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

Thanks,
 
Google Logo Google Ads API Team


 

Reply all
Reply to author
Forward
0 new messages