Add the SDK through Gradle
The simplest way of adding the Android Advertiser SDK to your Android Studio project is to download the AAR library through Gradle.
The first step is to include the following Maven repository in your module’s build.gradle file (usually the file under MyApplication/app/):
Next you need to add the following dependency:
Once you’ve added the Android Advertiser SDK, you can access all functionality by including: