In the AdWords API, it was possible to request a report (for example, the 
"keywords performance report") using the `includeZeroImpressions` header 
and a `device` predicate. This would result in a report including all 
keywords, with the metrics filtered down by device.

In the new Google Ads API query language, a filter (WHERE) on `device` 
requires a selecting (segmenting) for device as well:

```
SELECT
ad_group.id,
ad_group_criterion.criterion_id,
segments.device,
metrics.impressions,
metrics.clicks,
metrics.cost_micros
FROM keyword_view
WHERE segments.date = '2021-05-18'
AND segments.device = 'DESKTOP'
```

The results of this query will **NOT** include keywords without 
impressions, whereas it **WILL** when removing the device filter.

How can I query keyword performance, including keywords without 
impressions, filtered by device in the new API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/919533c6-780f-4d49-a521-02482760cac1n%40googlegroups.com.

Reply via email to