Similarly, this makes it impossible to express queries such as "keywords that had zero tablet impressions in a given period" in the Google Ads API, while they were possible in the AdWords API.
On Wednesday, May 19, 2021 at 9:23:27 AM UTC+2 Léon Gersen wrote: > 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/0116b1ba-b46e-46cd-9aa1-679f43c778e3n%40googlegroups.com.
