Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f78a60bf-576f-44e5-94b9-a256e91c6cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jessie,Currently, the only available metrics that can be retrieved from the detail_placement_view are the ones included in the link's metrics dropdown. For now, you may follow our blog for updates.Thanks and regards,PeterGoogle Ads API Team
Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
query = ('SELECT detail_placement_view.display_name, detail_placement_view.group_placement_target_url, '
'detail_placement_view.placement, detail_placement_view.placement_type, '
'detail_placement_view.resource_name, '
'detail_placement_view.target_url, campaign.id, ad_group.id, '
'metrics.clicks, metrics.impressions, metrics.video_views, metrics.engagements '
'FROM detail_placement_view '
'WHERE segments.date DURING LAST_7_DAYS')
response = self.service.search(self.account_id_ext, query, page_size=50)
{ error_code { query_error: PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE } message: "Cannot select or filter on the following metrics: \'engagements\'(could not support requested resources: \'DETAIL_PLACEMENT_VIEW\', \'DETAIL_PLACEMENT_VIEW\'), since metric is incompatible with the resource in the FROM clause or other selected segmenting resources."}