A guide to installing Pubguard on your Unity3D project
The Pubguard framework is a solution that monitors the advertising content flowing through your mobile app, protecting against unwanted content and optimizing revenues.
The data from the framework is then accessible via your account on the Pubguard dashboard where you can set up preferences, alerts and browse the gallery.
These instructions will enable you to get the Pubguard framework running on your Unity project.
Before installing the Pubguard framework you will need an application key that is available from your account, to receive an API key please sign up from http://dashboard.pubguard.com or email support@pubguard.com. The key is used in both the iOS and Android installations.
- Unity3D starting from 2019.2
-
Download the Pubguard.unitypackage form releases
-
Open your project in the Unity editor. Select Assets > Import Package > Custom Package and find the Pubguard.unitypackage file you downloaded
-
Make sure all of the files are selected and click Import.
-
Pubguard Unity Plugin uses External Dependency Manager for Unity to resolve dependencies. If you have used External Dependency Manager before you can see an option to delete outdated files, click Apply
-
(only for Android) In the Unity editor, select Assets > External Dependency Manager > Android Resolver > Force Resolve (If you make any changes which affect Android dependencies, then run Resolver again)
-
Add PubguardController prefab:
- From Project tab expand Assets > Prefabs
- Drag and Drop Pubguard prefab to the Project Hierachy list
- The PubguardController shoud appear in the Hierachy list as shown on the image below
-
Click on the PubguardControler and from the Inspector tab enter the Pubguards's Application Key. Check the Prerequisites section explaining how to obtain the Application Key.
Note It is necessary to include two separate API Keys for Android and for iOS
Please use the most up to date version at all times to ensure maximum support.
© 2021 Minimised Media Limited (Pubguard© 2019 All Rights Reserved)






