Buying ad space on Google is primarily done through Google Ads , where you bid in real-time auctions to show your messaging to users across Search, YouTube, and the Display Network. Getting Started with Google Ads
You can target users based on specific keywords they search for or topics related to the content they are browsing.
These appear as banners or text on over two million websites and apps within the Google Display Network .