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 = (...);
TAdClosedEvent = procedure (const Sender: TObject; const Watched: boolean) of object;

Constants

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

Description

Types

TAdNetwork = (...);
 
Values
  • anAdMob
  • anChartboost
  • anStartApp
  • anHeyzap
TFullScreenAdType = (...);
 
Values
  • atInterstitialStatic
  • atInterstitialVideo
  • atReward
TAdClosedEvent = procedure (const Sender: TObject; const Watched: boolean) of object;
 

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/mobile-ads-sdk/docs/admob/android/quick-start

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

Test interstitial 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 http://stackoverflow.com/questions/12553929/is-there-any-admob-dummy-id and https://github.com/googleads/googleads-mobile-android-examples/blob/master/admob/InterstitialExample/app/src/main/res/values/strings.xml


Generated by PasDoc 0.15.0.