implement adwords api php (error 500)

27 views
Skip to first unread message

Reza Saddat

unread,
Dec 5, 2019, 5:01:41 AM12/5/19
to AdWords API and Google Ads API Forum

hey everyone, i need some help for my case


first i can trace error to deep then before...


in my case is, i can't following next step in example for using report download or i want to show data with json type

Screen Shot 2019-12-05 at 16.57.30.png

let see in my code, i use slim framework for engine create API...
but in last word i try to dump when i call ReportDownloader but i get error 500.
can anyone help me?

Google Ads API Forum Advisor Prod

unread,
Dec 5, 2019, 2:57:03 PM12/5/19
to sad...@bolehdicoba.com, adwor...@googlegroups.com
Hi Reza, 

I understand you're looking to convert the report data in JSON format. You may refer to the solution shared in our Github Issue Tracker which might be helpful. If you're already converting the data to JSON format and receiving the error 500, it usually indicates that there is a temporary problem with the server; if this error occurs, retry the request after a few moments. Let me know if you have any further questions. 

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UODtoh:ref

Reza Saddat

unread,
Dec 5, 2019, 10:08:28 PM12/5/19
to AdWords API and Google Ads API Forum
yes i understand what do you mean, but i have to use googleads-php-lib in my project, then i was following step in official google adwords, step auth i have done and successfully
but when i go to the next step, like try example getcampaign it can't, and response 500
i try to trace the code where the problem then i found what i said before 

Google Ads API Forum Advisor Prod

unread,
Dec 6, 2019, 11:51:00 AM12/6/19
to sad...@bolehdicoba.com, adwor...@googlegroups.com
Hi Reza, 

Could you please share the complete request and response logs using the Reply privately to author option, to investigate further? You may find the steps to enable logging here
Reply all
Reply to author
Forward
0 new messages