Sure, but it doesn't log anything and the api return the 200 response, but empty result.
$googleAdsServiceClient = $session->getGoogleAdsServiceClient(); $query = "SELECT segments.product_item_id, segments.product_title, metrics.clicks, metrics.cost_micros FROM shopping_performance_view WHERE segments.date BETWEEN '{$start}' AND '{$end}' LIMIT 10000 "; //create selectors to get item related with keywords. $response = $googleAdsServiceClient->searchStream(CUSTOMER_ID, $query); it is a code line that i am using. Thanks & Regards. Thom. On Tue, Sep 19, 2023 at 9:01 AM Google Ads API Forum Advisor <adsapi@forumsupport.google> wrote: > Hi Thom, > > Thank you for getting back to us. > > By reviewing your concern, I understand that you are receiving empty > records when executing the "shopping_performance_view > <https://developers.google.com/google-ads/api/fields/v12/shopping_performance_view?hl=en>" > query, and you are uncertain about the cause of these empty results. In > order to investigate your issue further, kindly provide us with the > complete API logs (request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > with request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > generated > at your end and uncropped UI screenshot of where you are facing the issue. > > If you are using a client library and haven't enabled the logging yet, I > would request you to enable logging for the specific client library that > you are using. You can refer to the guides Java > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , .Net > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , PHP > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , Python > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , Ruby > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or Perl > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to > enable logging at your end. For REST interface requests, you can enable > logging via the curl command by using the -i flag. > > You can send the details via *Reply privately to the author option*, or > *direct > private reply* to this email. > > This message is in relation to case "ref:_00D1U1174p._5004Q2oA59t:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/CAN-pFYSXO%3Dt5bSYJXv9CSQQZE6s1tf2QO38Yk%3DHaDaU2p9ejYA%40mail.gmail.com.