Adwords' CRITERIA_PERFORMANCE_REPORT mapping in Google Ads API

95 views
Skip to first unread message

micha...@openslate.com

unread,
Apr 3, 2019, 3:39:58 PM4/3/19
to AdWords API and Google Ads API Forum
Hi,

We're in the process of migrating from Adwords API to Google Ads API. One issue we had was mapping the CRITERIA_PERFORMANCE_REPORT query to its equivalent in Google Ads query. Here's a sample query we run in AWQL:
SELECT ActiveViewViewability, AverageCpm, AverageCpv, Cost, Impressions, VideoQuartile25Rate, VideoQuartile50Rate, VideoQuartile75Rate, VideoQuartile100Rate, VideoViewRate, VideoViews
FROM CRITERIA_PERFORMANCE_REPORT
WHERE CriteriaType='YOUTUBE_CHANNEL' AND AdGroupId=61856865793


This is our best guess at the equivalent query in Google Ads:
SELECT metrics.active_view_viewability, metrics.average_cpm, metrics.average_cpv, metrics.cost_micros, metrics.impressions, metrics.video_quartile_25_rate, metrics.video_quartile_50_rate, metrics.video_quartile_75_rate, metrics.video_quartile_100_rate, metrics.video_view_rate, metrics.video_views
FROM ad_group_audience_view
WHERE ad_group_criterion.type='YOUTUBE_CHANNEL'
        AND ad_group.id=61856865793


However, the original AWQL returns around 3800 rows, but the new GAQL query returns 0 rows. Can you confirm that this is indeed the correct mapping? Thanks in advance.

Best,
Michael Xue

googleadsapi...@google.com

unread,
Apr 4, 2019, 4:34:05 AM4/4/19
to AdWords API and Google Ads API Forum
Hi Michael,

Thank you for reaching out. Unfortunately, The CRITERIA_PERFORMANCE_REPORT from AdWords API has no exact equivalent in Google Ads API. For your concern about the GAQL returning 0 rows as opposed to the AWQL returning 3800 rows, I would need to check this with the team. I will get back to you as soon as we gather all the information needed to help you with this concern.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.

Take Survey

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/4f256271-7025-472a-b924-3c1d007e8840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

micha...@openslate.com

unread,
Apr 9, 2019, 6:06:19 PM4/9/19
to AdWords API and Google Ads API Forum
Hi Dave,

Anash was able to provide me with the following answer, and it works!

YOUTUBE_CHANNEL is a placement criterion, so managed_placement_view should give you the data you need. The following query should work.

SELECT metrics.active_view_viewability, metrics.average_cpm, " +
                "metrics.average_cpv, metrics.cost_micros, metrics.impressions, " +
                "metrics.video_quartile_25_rate, metrics.video_quartile_50_rate, " +
                "metrics.video_quartile_75_rate, metrics.video_quartile_100_rate, " +
                "metrics.video_view_rate, metrics.video_views FROM managed_placement_view " +
                "WHERE ad_group_criterion.type = 'YOUTUBE_CHANNEL' and ad_group.id = 61856865793

Best,
Michael Xue
Reply all
Reply to author
Forward
0 new messages