want migrate php client library from V201802 to V201902.

22 views
Skip to first unread message

oeaf...@gmail.com

unread,
Feb 13, 2019, 6:48:09 AM2/13/19
to AdWords API and Google Ads API Forum

Hi I am getting this message

Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201802\cm\ApiException' with message 'Details: [fieldPath: ; trigger: You are accessing an AdWords API version v201802 that has been discontinued. Calls to this version may fail. Please visit the AdWords API blog for information on migration to the new AdWords API version.; errorString: RequestError.UNSUPPORTED_VERSION]'

I am using PHP client library V201802. Please can someone help me how i can upgrade my code to V201902.

googleadsapi...@google.com

unread,
Feb 13, 2019, 2:56:24 PM2/13/19
to AdWords API and Google Ads API Forum
Hello, 

The AdWords API v201802 was sunset and the API calls to this version would have failed from January 20, 2018. You can skip v201806 and migrate to v201809 and try making the API calls again. You may refer to this blog post for more information. The error indicates that you might be using an older version of the client library. Could you try installing the latest version of the PHP client library and let me know if you're having any issues?

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages