Twitter LogoFacebook Logo
Packaging the Google AdMob Blueprint Plugin
Learn how to package the app with the plugin.
By: King

Packaging for Android

To package your project for Android, make sure you have your google-services.json file in the root directory.

Image from Codeible.com

Now open up the Plugins window in Unreal Engine and make sure the plugin is installed.

Image from Codeible.com

When that is verified, go to the Project Settings in Unreal, now scroll down until you see the Android tab. 

Image from Codeible.com

Select it and then scroll down until you see the part to configure for the Android Platform. 

Click on "Configure Now" and you should be good there.

Image from Codeible.com
Image from Codeible.com

Now scroll up to the Android Package Name section.

Make sure, it matches the name in Firebase.

Image from Codeible.com

Firebase console

Image from Codeible.com

Or you can open the google-services.json file and look for the package name.

Image from Codeible.com

Since my package name is com.myapp, I’ll put con.myapp in the textbox. 

Remember to change the Test AdMob App Id with your own AdMob Ad Id in the meta-data element you added in the setup tutorial.

<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-YOUR_OWN_APP_ID"/>

Image from Codeible.com

Close the Project Settings window.  

Click on the Platforms menu, go to Android, select the settings you want, and then click on Package Project.

Image from Codeible.com

Select the location of where to store the packaged files. Then wait for it to finish.

Packaging for IOS

To package your project for iOS, make sure you have your GoogleService-Info.plist file in the root directory.

Image from Codeible.com

Now open up the Plugins window in Unreal Engine and make sure the plugin is installed.

Image from Codeible.com

When that is verified, go to the Project Settings in Unreal, now scroll down until you see the iOS tab. 

Image from Codeible.com

In the Bundle Information section, make sure it is the same as the one in the Firebase console.

Image from Codeible.com

Or you can open the GoogleService-Info.plist file and look for the bundle identifier.

Image from Codeible.com

Since my bundle id is com.myapp, I’ll put con.myapp in the textbox. 

Image from Codeible.com

Remember to change the Test AdMob App Id with your own AdMob Ad Id in the Additional Plist Data you added in the setup tutorial.

<key>GADApplicationIdentifier</key>
<string>ca-app-pub-YOUR_OWN_APP_ID</string>

Close the Project Settings window.  

Click on the Platforms menu, go to iOS, select the settings you want, and then click on Package Project.

Image from Codeible.com

Select the location of where to store the packaged files. Then wait for it to finish.


Sign In