If your "Maintenance and Support" plan lapsed before SketchUp 2023 was released, your old codes will not work for the new version.
These do not use a serial number. Instead, you activate the software simply by signing in with your Trimble ID (email address). 2. Where to Find Your Serial Number (Classic License)
If you are using a "Classic" perpetual license from an older version that you’ve upgraded, or if you belong to an educational institution with a lab license, you can find your credentials through these channels:
If you are looking to get your software up and running, here is a comprehensive guide on how these credentials work, where to find them, and the modern shift in SketchUp’s licensing model. 1. Understanding the Licensing Change