The engine ad manager for mobile releases.
More...
|
|
static void | Update () |
| |
| static void | InitSettings (string adAppId, bool isTestMode=false, string testDeviceId="") |
| | Initialises the Ad Manager.
|
| |
| static void | InitBanner (string adUnitID) |
| | Adds the banner with ad at the default position.
|
| |
| static void | InitBanner (string adUnitID, Vector2 Location) |
| | Adds the banner.
|
| |
| static void | InitInterstitialAd (string adUnitID) |
| | Adds the initerstialel ad.
|
| |
|
static void | LoadInterstitialAd () |
| | Load an Interstitial ad.
|
| |
|
static void | ShowInterstitial () |
| | Shows the initersial ad if there's one loaded.
|
| |
| static void | InitRewardAd (string adUnitID) |
| | Initialise a Reward Ad.
|
| |
| static void | LoadRewardVideo () |
| | Load a reward ad.
|
| |
|
static void | ShowRewardAd () |
| | Show a reward ad.
|
| |
| static void | OnRewardReceived (string type, int amount) |
| | Called when ever a reward has been recieved.
|
| |
|
| static vxIBannerAd | BannerAd |
| | The Banner Ad Instance for this game. You can check if it's Initialised and / or if it's visible currently.
|
| |
|
static vxIInterstitialAd | InterstitialAd |
| | The Interstitiail Ad instance. This ad will show over top of the game when 'ShowAd' is called. Note you will need to call 'LoadNewAd' after each time you call 'ShowAd()'.
|
| |
|
static vxIRewardAd | RewardAd |
| | The reward Ad Instance.
|
| |
|
|
static string | AppAdId [get] |
| | The ad unit identifier.
|
| |
|
static bool | IsInTestMode [get] |
| | Is the Ad Manager in Testing Mode. If set to true it will serve ads using the test device id's that were set during the initialization.
|
| |
|
static string | TestDeviceId [get] |
| | The test device id. This is set only in Android.
|
| |
|
static bool | IsInitialised [get, set] |
| | Has this ad manager been initialised yet.
|
| |
|
|
static Action< string, int > | RewardReceived |
| | Called when ever a reward is recevied from a reward ad.
|
| |
The engine ad manager for mobile releases.
◆ InitBanner() [1/2]
| static void VerticesEngine.Monetization.Ads.vxAdManager.InitBanner |
( |
string | adUnitID | ) |
|
|
static |
Adds the banner with ad at the default position.
- Parameters
-
| adUnitID | Ad unit identifier. |
◆ InitBanner() [2/2]
| static void VerticesEngine.Monetization.Ads.vxAdManager.InitBanner |
( |
string | adUnitID, |
|
|
Vector2 | Location ) |
|
static |
Adds the banner.
- Parameters
-
| adUnitID | Ad unit identifier. |
| Location | Location. |
◆ InitInterstitialAd()
| static void VerticesEngine.Monetization.Ads.vxAdManager.InitInterstitialAd |
( |
string | adUnitID | ) |
|
|
static |
Adds the initerstialel ad.
- Parameters
-
| adUnitID | Ad unit identifier. |
◆ InitRewardAd()
| static void VerticesEngine.Monetization.Ads.vxAdManager.InitRewardAd |
( |
string | adUnitID | ) |
|
|
static |
Initialise a Reward Ad.
- Parameters
-
◆ InitSettings()
| static void VerticesEngine.Monetization.Ads.vxAdManager.InitSettings |
( |
string | adAppId, |
|
|
bool | isTestMode = false, |
|
|
string | testDeviceId = "" ) |
|
static |
Initialises the Ad Manager.
- Parameters
-
| adAppId | |
| isTestMode | |
| testDeviceId | |
◆ LoadRewardVideo()
| static void VerticesEngine.Monetization.Ads.vxAdManager.LoadRewardVideo |
( |
| ) |
|
|
static |
Load a reward ad.
- Parameters
-
◆ OnRewardReceived()
| static void VerticesEngine.Monetization.Ads.vxAdManager.OnRewardReceived |
( |
string | type, |
|
|
int | amount ) |
|
static |
Called when ever a reward has been recieved.
- Parameters
-
◆ BannerAd
| vxIBannerAd VerticesEngine.Monetization.Ads.vxAdManager.BannerAd |
|
static |
The Banner Ad Instance for this game. You can check if it's Initialised and / or if it's visible currently.
To Initialise the banner ad properly you will need to call the following in your code:
The engine ad manager for mobile releases.
Definition vxAdManager.cs:35
static void InitBanner(string adUnitID)
Adds the banner with ad at the default position.
Definition vxAdManager.cs:217
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Monetization/Ads/vxAdManager.cs