Dynamic Search Ads (DSAs) allow you to target entire websites, or portions of them, without having to create keywords and ads for all the possible matches. Instead, whenever a relevant user search occurs, the system dynamically generates an ad with a headline based on the query, and with text based on your most relevant landing page. The ad enters the auction and competes normally. So you get better results from broader exposure for more of your in-stock inventory, without making any changes to your existing keyword campaigns.
In addition to allowing you to broadly target an entire website or domain, DSAs can also serve as a nice "catch-all" or backup option for your existing campaigns and keywords. You can set up keywords, ad groups, and ads as you do today, and then add a Dynamic Search Ad to catch as many queries as possible that don't match your existing campaign setup.
This guide describes how to create and use Dynamic Search Ads with the Google Ads API.