Google integration

Supported ad formats

Integration

  1. Set up mediation in the Yandex partner interface and other network interface.

  2. Import the package yandex-mobileads-lite-7.8.0.unitypackage to the project.

  3. Import mobileads-google-mediation-7.8.0.unitypackage from the mobileads-mediation directory.

  4. Create the main AndroidManifest.xml file using File → Build Settings → Android → Player Settings → Publishing Settings → Custom Main Manifest (check the box).

    Add your Google AdMob (ex. AdMob) ID to the AndroidManifest.xml file created for your app using the <meta-data> tag named com.google.android.gms.ads.APPLICATION_ID (here's how to find your AdMob ID).

    <manifest>
        <application>
    ...
            <meta-data
                android:name="com.google.android.gms.ads.APPLICATION_ID"
                android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
    ...
        </application>
    </manifest>
    
Previous
Next