Google integration
Supported ad formats
Integration
-
Set up mediation in the Yandex partner interface and other network interface.
-
Import the package
yandex-mobileads-lite-7.8.0.unitypackage
to the project. -
Import
mobileads-google-mediation-7.8.0.unitypackage
from the mobileads-mediation directory. -
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 namedcom.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>
Was the article helpful?
Previous
Next