Hi Sandeep,
I got the response as you expected,
- Use download type as XML
- Use getStream() to get data
- Use simplexml_load_string to load the content
- Convert to json
That's it.
I hope it may help you.
On Monday, June 3, 2019 at 12:24:06 PM UTC+5:30, Sandeep Yadav wrote:
>
Hi Peter,
Thanks For your response. If JSON Format not support, then how to convert
response in an array.Because I want to insert response into the database.
Please Help to resolve this issue.
Thanks
Sandeep
On Mon, Jun 3, 2019 at 1:08 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@g
Hi Sandeep,
In the AdWords API reporting, I'm afraid the JSON output is currently not
supported. You will need to download the report as is and convert it to a JSON
format on your end post download.
You may also want to check out the new Google Ads API as this already supports
JSON format when
Hi Everyone,
I am using the Google AdWords API to get campaigns reports. While I am
accessing the reports using getAsString() then I can see the report is
being downloaded into excel format.
I don't want a report to be download. I want the result in an array or JSON.
Can you please help me
Hi Everyone,
I am using Google AdWords API to get campaigns reports. While i am
accessing the reports response getAsString() then i can see the report is
being string format.
I don't want an report to be String. I want the result in an array format
Can you please help me to fix this issues.