You can add ads to your projects using the Unity Ads platform. This is an exclusive platform that offers developers the possibility of implementing ads to their Unity-based projects. You need to create an account on the official website and then download the necessary SDK package. This will help you to implement the code into your projects.
Sign up using the following link: https://unityads.unity3d.com/admin/#signup
After this, click the Documentation link in the Admin menu and use the available information to implement the necessary code into your project.