Unit CastleAds

Description

Ads (advertisements) in game (TAds).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TAds Advertisements in game.

Types

TAdNetwork = (...);
TFullScreenAdType = (...);
TAdWatchStatus = (...);
TAdClosedEvent = procedure (const Sender: TObject; const WatchedStatus: TAdWatchStatus) of object;

Constants

TestAdMobBannerUnitId = 'ca-app-pub-3940256099942544/6300978111';
TestAdMobInterstitialUnitId = 'ca-app-pub-3940256099942544/1033173712';
TestAdMobInterstitialVideoUnitId = 'ca-app-pub-3940256099942544/8691691433';
TestAdMobRewardedUnitId = 'ca-app-pub-3940256099942544/5224354917';

Description

Types

TAdNetwork = (...);

This item has no description.

Values
  • anAdMob
  • anChartboost
  • anStartApp
TFullScreenAdType = (...);

This item has no description.

Values
  • atInterstitialStatic
  • atInterstitialVideo
  • atReward
TAdWatchStatus = (...);

This item has no description.

Values
  • wsWatched
  • wsUnknownError
  • wsNetworkNotAvailable
  • wsNoAdsAvailable
  • wsUserAborted
  • wsAdNotReady
  • wsAdNetworkNotInitialized
  • wsInvalidRequest
  • wsAdTypeUnsupported
  • wsApplicationReinitialized
TAdClosedEvent = procedure (const Sender: TObject; const WatchedStatus: TAdWatchStatus) of object;

This item has no description.

Constants

TestAdMobBannerUnitId = 'ca-app-pub-3940256099942544/6300978111';

Test banner ad "unit id". You can use it with TAds.InitializeAdMob for testing purposes (but eventually you want to create your own, to show non-testing ads!).

From https://developers.google.com/admob/android/test-ads

TestAdMobInterstitialUnitId = 'ca-app-pub-3940256099942544/1033173712';

Test interstitial static ad "unit id". You can use it with TAds.InitializeAdMob for testing purposes (but eventually you want to create your own, to show non-testing ads!).

From https://developers.google.com/admob/android/test-ads

TestAdMobInterstitialVideoUnitId = 'ca-app-pub-3940256099942544/8691691433';

Test interstitial video ad "unit id". You can use it with TAds.InitializeAdMob for testing purposes (but eventually you want to create your own, to show non-testing ads!).

From https://developers.google.com/admob/android/test-ads

TestAdMobRewardedUnitId = 'ca-app-pub-3940256099942544/5224354917';

Test rewarded video ad "unit id". You can use it with TAds.InitializeAdMob for testing purposes (but eventually you want to create your own, to show non-testing ads!).

From https://developers.google.com/admob/android/test-ads


Generated by PasDoc 0.16.0-snapshot.