Google AdWords API finally stopped working?

We use AdWords API which was deprecated in April 2022, but carried on working for us.

Well, as of the past few days, it seems to no longer be working.

Coincidentally, we recently updated PHP version on our server to 8.1.11.

I don’t know whether the API has stopped working due to the PHP upgrade or due to the API deprecation. I don’t fully understand the JSON return values we get from creating “new OAuth2TokenBuilder()” and “new AdWordsSessionBuilder()”, but there are lots of NULL values, which indicates a potential problem.

I know that longterm it makes sense to migrate from AdWords API to Ads API. But I’m wondering if there’s a quick fix to get it back working immediately.