Monday, 31 October 2016

Re: PHP Download report to array

Hi,

Unfortunately, our PHP client library (master branch) does not support reading the report data as a stream/string. You will have to download the report file and read it manually in your code. The experimental branch, however, does support this feature. I would recommend using the experimental branch for testing purposes only (and not for production use). 

Also, some of the other client libraries do support this feature. This example in Java explains how to read a report as a stream. Similarly, there are examples in the Python client library to read a report as a stream/string.

Regards,
Vishal Vinayak, 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+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 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/f526883e-2fd0-4e7d-8f78-baef5858ca2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment