Skip to content

Commit 04e7bf6

Browse files
Site changes [skip-ci]
1 parent 334d9ab commit 04e7bf6

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

__pycache__/llms.cpython-310.pyc

0 Bytes
Binary file not shown.

__pycache__/utils.cpython-310.pyc

0 Bytes
Binary file not shown.

extension-admob/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ toc:
1111
- Configuration
1212
- app_id_ios
1313
- app_id_android
14+
- test_ads_in_debug
1415
- app_open_android
1516
- app_open_ios
1617
- ios_tracking_usage_description
18+
- Mediation (Android)
1719
- Usage
1820
- Setup
1921
- Request IDFA
@@ -52,6 +54,7 @@ The extension can be configured by adding the following fields to `game.project`
5254
[admob]
5355
app_id_ios = ca-app-pub-3940256099942544~1458002511
5456
app_id_android = ca-app-pub-3940256099942544~3347511713
57+
test_ads_in_debug = 1
5558
app_open_android = ca-app-pub-3940256099942544/9257395921
5659
app_open_ios = ca-app-pub-3940256099942544/5575463023
5760
ios_tracking_usage_description = Your data will be used to provide you a better and personalized ad experience.
@@ -63,6 +66,9 @@ This is your iOS AdMob app ID. An app ID is a unique ID number assigned to your
6366
### app_id_android
6467
This is your Android AdMob app ID. An app ID is a unique ID number assigned to your apps when they're added to AdMob. The app ID is used to identify your apps.
6568

69+
### test_ads_in_debug
70+
Android only. When set to `1`, the extension enables test ads in non-release builds.
71+
6672
### app_open_android
6773
Ad unit to use for App Open ads on Android. If this value is set App Open Ads will be shown when the app is brought to the foreground.
6874

@@ -76,6 +82,17 @@ Before requesting the unique IDFA string for a device on iOS 14 the application
7682
Apple documentation: https://developer.apple.com/documentation/apptrackingtransparency?language=objc
7783

7884

85+
## Mediation (Android)
86+
87+
For now mediation is supported on Android only. To enable it:
88+
89+
- Enable the adapters you need in the `[admob]` section of `game.project` (for example `unity_android = 1`).
90+
- Follow [each network’s official mediation guide](https://developers.google.com/admob/android/mediation/applovin) end-to-end. There is no partial “adapter added but not initialized” state.
91+
- You must use your own ad unit IDs. Google’s demo IDs only show Google ads and won’t exercise mediation.
92+
- If something is missing in the dashboard configuration, there may be no logs or Ad Inspector hints; when it is correct it simply reports as working.
93+
- For testing the AdMob network, set `admob.test_ads_in_debug = 1` to mark the device as a test device in debug builds.
94+
- The extension supports all officially supported adapters, except for Chartboost.
95+
7996
## Usage
8097

8198
### Setup

0 commit comments

Comments
 (0)