Did the API change? 500 error

43 views
Skip to first unread message

Mert Gokkaya

unread,
Mar 22, 2022, 11:20:13 AM3/22/22
to Google Ads API and AdWords API Forum
Google ads call via
$page = $managedCustomerService->get($selector);

returns 500 error. Is the call changed to something else to get the hierarchy of the accounts?

Google Ads API Forum Advisor

unread,
Mar 23, 2022, 1:37:30 AM3/23/22
to me...@leadsrx.com, adwor...@googlegroups.com

Hi Mert,


Thanks for reaching out to the Google Ads API Support team
 

So our team can better check on this, can you share any screenshot and the complete API logs (request and response with request-id)?
 

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.


Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqKJX:ref

Mert Gokkaya

unread,
Apr 15, 2022, 12:41:11 PM4/15/22
to Google Ads API and AdWords API Forum
Hi I Replied earlier but may be lost, My code is failing at,
            $page = $managedCustomerService->get($selector);

using php(5.4)

and sample from api docs link is here

Tried a try and catch but does not even hit there, returns 500 error.
Could be set fields not matching up google account, how could I generate error on failed that call?

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 11:10:54 AM4/19/22
to me...@leadsrx.com, adwor...@googlegroups.com
Hello Mert,

Thank you for following up. Please note that our API team only addresses API related issues and concerns. Unfortunately, the existing code related issue it’s not on our end to assist you. I would recommend reaching out to their PHP Client Library owner on using this  PHP issue tracker.

If you're encountering any API errors, you may provide us with the complete request and response logs with request-id and request header generated on your end, so that we can take a closer look at the issue. Let me know if you have any questions.

Best regards,
Google Logo
Jakeia Sabrina
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqKJX:ref

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 11:13:25 AM4/19/22
to me...@leadsrx.com, adwor...@googlegroups.com
Hello Mert,

Thank you for following up. Please note that our API team only addresses API related issues and concerns. Unfortunately, the existing code related issue it’s not on our end to assist you. I would recommend reaching out to their PHP Client Library owner on using this  PHP issue tracker.

If you're encountering any API errors, you may provide us with the complete request and response logs with request-id and request header generated on your end, so that we can take a closer look at the issue. Let me know if you have any questions.

Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias by referring to this thread.
Reply all
Reply to author
Forward
0 new messages