Hi, I'm trying to get the shopping_performance_view report to return the same data that I used to get with the SHOPPING_PERFORMANCE_REPORT in the old API but I'm not able to have getSegments() return anything for extracting the product_item_id
I'm passing the following query SELECT campaign.id, metrics.clicks, metrics.cost_micros, segments.product_item_id, metrics.conversions, metrics.impressions, metrics.search_impression_share, metrics.conversions_value FROM shopping_performance_view WHERE segments.date BETWEEN '20211212' AND '20220111' In this example $segments return null whereas $metrics returns all the methods I need to extract data from it. foreach ($stream->iterateAllElements() as $googleAdsRow) { $metrics = $googleAdsRow->getMetrics(); $segments = $googleAdsRow->getSegments(); } I assume I'm missing something obvious. Can someone please point me in the right direction so that I can get the product_item_id along with all the associated metrics? Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/7ad708aa-9610-4cbb-a4f9-21458aef1e0cn%40googlegroups.com.