v18 not working

275 views
Skip to first unread message

Aakash Gupta

unread,
Feb 12, 2025, 1:46:00 AMFeb 12
to Google Ads API and AdWords API Forum
Hi, 
I use python library for Google Ads, i was using v16, which go deprecated, while trying to upgrade to v18, it shows this error

There was an error importing the \"google.ads.googleads.v18\" module. Please check that \"v18\" is a valid API version. Here are the current API versions supported by this library: v16, v15. error occured.

Tried things like upgrading the requirements.txt multiple times, but it wont budge.

Viktor Zeman

unread,
Feb 13, 2025, 5:19:36 AMFeb 13
to Google Ads API and AdWords API Forum
We are working with v18 without any problem.
can you post here a code, which you have used?

Zorion

unread,
Feb 13, 2025, 5:23:25 AMFeb 13
to Google Ads API and AdWords API Forum
This really looks like you haven't updated properly the google-ads library.

Have a look at the change log in order to properly select the version:

Please check your local version (you may run this in your virtual env: python3 -c "from google.ads.googleads import VERSION; print(VERSION)" ).
You may have different version in your requirements.txt and in your virtual environment.

I hope it helps.

On Wednesday, February 12, 2025 at 7:46:00 AM UTC+1 Aakash Gupta wrote:

Google Ads API Forum Advisor

unread,
Feb 13, 2025, 6:16:56 AMFeb 13
to zarriz...@g-n.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads API support team.

I would recommend you to check this guide where it shows the supported API version for the Python client library. Follow this Documentation, which explains how to install, configure, and use this client library. Since it is specific to the client library of Python, I would request you raise the issue here by clicking on the button “New issue”. 

 

This message is in relation to case "ref:!00D1U01174p.!5004Q02vH1i8:ref" (ADR-00288209)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Reply all
Reply to author
Forward
0 new messages