Since the highest version of macOS compatible with a 2007 MacBook is macOS 10.7 Lion your options are limited. You can try booting into Internet Recovery Mode using Command + Option + R to see if the laptop can access the online macOS 10.7 Lion installer (I doubt this will work since this is a 2007 model, but it never hurts to try). If it boots to the Lion installer, but errors out when attempting to actually install Lion, then you may need to change the date on the laptop to sometime in 2017 (perhaps earlier).
If your old hard drive is still working, then you can connect the new SSD externally using a USB to SATA Adapter, drive dock, or enclosure. Boot into Recovery Mode (Command + R or Command + Option + R as the latter should not require an AppleID) from the original internal hard drive and select the new SSD as the destination. You may also be able to access the macOS 10.7 installer from here as well (If your browser cannot access the link, then download the Lion .dmg file using another newer computer and transfer the Lion .dmg file to the hard drive of the 2007 MacBook where you can run the installer):
Mac OS X Lion Installer
Installing macOS to a USB drive on this laptop will be an extremely slow install because of the extremely slow speeds of a USB2 port.
You will first need to partition and format the new SSD before you can select the new SSD as a destination when installing macOS. See this article for the instructions on how to properly partition and format the blank SSD:
https://www.owcdigital.com/assets/support/support-formatting-and-migration/Mac_Formatting_6-10.pdf
If none of this works, then you will need to purchase a retail version of the OSX 10.6 Snow Leopard DVD. You want the DVD which has the picture of the Snow Leopard on the DVD and not the gray label DVD which only works for a very specific model Mac.
Just curious what you expect to be able to do with this laptop since macOS 10.6 and 10.7 are so old that you won't be able to do much if anything online. Plus macOS 10.7 Lion has an unpatched vulnerability that is not safe to use while online so we were prevented from ever using 10.7 on any of our organization's Macs (10.6 does not have that vulnerability). If you just want to use this laptop to run older PPC apps, then you need to install OSX 10.6 Snow Leopard which was the last macOS with Rosetta 1 compatibility. If you just want to use this laptop to surf the web and you have at least 2GB of RAM (and a Core 2 Duo CPU), then you would be much better of installing Linux on it so you have access to current versions of the popular web browsers (Firefox, Vivaldi, Google Chrome) although this would require learning a new OS.
I hope you purchased an OWC Mercury Electra 3G SSD since many other current SSDs may be incompatible with a 2007 computer since many current SSDs may have issues auto-negotiating the slower SATA II Link Speed (very common problem).