Hi Vincent What we are doing? We have successfully got refresh token by google Auth. And after login we are trying to get all report first by client id, client secret, developer token, refresh token. Ads session built successfully, got customer id also.
What we are getting? We are getting blank file with any extension like csv. Getting some error Data expected to be an array, NULL given. screenshot url attached below: https://www.awesomescreenshot.com/image/2855260/9de72c3b738ad827776ab30cbcb415e3 and code file also attached: Please guide your valuable solution Thank you Naresh Kumar On Wednesday, September 27, 2017 at 8:56:24 AM UTC+5:30, Vincent Racaza (AdWords API Team) wrote: > > Hi Naresh, > > Generation of report is on the client level, so my clientCustomerId is a > client account. Also, if you will be passing an MCC Id in this reporting > example, it will generate an error. So, I believe that this is not a > clientCustomerId issue. This seems to be a PHP client library set-up issue > on your end that causes this. Could you try the original example > <https://developers.google.com/adwords/api/docs/samples/php/reporting#download-a-criteria-performance-report-with-selector> > (with > no changes at all on your end, except for your OAuth2 and session setting > as you are explicitly setting them in the example file) and check if this > will still generate a blank file with no extension on your end? > > If the issue still persists even with the original example, then as I have > previously suggested, kindly post this concern in the PHP client library > <https://github.com/googleads/googleads-php-lib/issues> so the library > owners can provide you guidance on this. > > Thanks, > Vincent > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@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/6beed550-1fbe-4c11-854a-5df8f6cce1ab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
<<attachment: adwords_file.php>>