What does it mean by device=4 or device=3

I am using this query 
"SELECT 
segments.date,segments.device,metrics.cost_micros,metrics.clicks,metrics.impressions
 
FROM campaign WHERE segments.date BETWEEN '2022-07-17' AND '2023-07-17'"

and response is like 
[ {
    segments: { date: '2022-09-28', device: 4 },
    metrics: { cost_micros: 12900000, clicks: 2, impressions: 44 }
  },
  {
    segments: { date: '2022-09-29', device: 4 },
    metrics: { cost_micros: 11020000, clicks: 2, impressions: 34 }
  }]

I am trying to make a graph like device.png attached below.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb9f5481-b940-4168-a58f-9cb272d6218dn%40googlegroups.com.
  • Go... Satish M
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... maxcode ITSolutions
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... maxcode ITSolutions
    • ... Admin Toptutors
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... 王子豪
    • ... Neeraj Singh
    • ... Hasan Demiroğlu
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Hasan Demiroğlu

Reply via email to