I'm querying this view: 
https://developers.google.com/google-ads/api/fields/v9/search_term_view#segments.keyword.ad_group_criterion

This is the query which worked in the old API:
SELECT AdGroupId, CampaignId, Clicks, Cost, Impressions, Query, Device, 
*KeywordId*, Date FROM SEARCH_QUERY_PERFORMANCE_REPORT
The csv returned by this report *contains* "*Product group ID*" in the 
KeywordId column.

When trying the equivalent query in the new API:
SELECT ad_group.id, campaign.id, metrics.clicks, metrics.cost_micros, 
metrics.impressions, search_term_view.search_term, segments.device, 
*segments.keyword.ad_group_criterion*, segments.date FROM search_term_view
the response contains *zero rows*.
As soon as I remove the segments.keyword.ad_group_criterion from the SELECT 
fields, the response gives the expected result, missing the segmentation 
and value for "Product Group ID".

Please let me know what should be done to get the segmentation and value 
for "Product Group ID".
Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a647f271-8e14-4fc2-b29b-d3a45f05df93n%40googlegroups.com.
  • Ne... serghei....@gmail.com
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... serghei....@gmail.com
        • ... Mario GarcĂ­a
          • ... Serghei
            • ... Jian Hu
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Peter Lanser
                • ... Peter Lanser
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... serghei....@gmail.com

Reply via email to