Skip to content

bidstack-group/pubguard-unity-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pubguard Unity Plugin

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.


Table of contents


Getting Started

These instructions will enable you to get the Pubguard framework running on your Unity project.

  • Android instructions can be found here
  • iOS instructions can be found here

Prerequisites

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.

Requirements

  • Unity3D starting from 2019.2

Integrating

  1. Download the Pubguard.unitypackage form releases

  2. Open your project in the Unity editor. Select Assets > Import Package > Custom Package and find the Pubguard.unitypackage file you downloaded

    Unity Package Importing

  3. Make sure all of the files are selected and click Import.

    Unity Package Import

  4. 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

    Google Version Handler

  5. (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)

    Android Resolver

  6. 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

    Pubguard Prefab

  7. 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

    Pubguard Controller Inspector


Versioning

Please use the most up to date version at all times to ensure maximum support.


License

© 2021 Minimised Media Limited (Pubguard© 2019 All Rights Reserved)

About

Pubguard Unity Plugin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors