-
Notifications
You must be signed in to change notification settings - Fork 3
Targeting
Francisco Dias edited this page Sep 17, 2024
·
8 revisions
This module contains functions for targeting ads to specific audiences.
This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.
This function toggles on/off ads for children.
Warning
This function should be called before AdMob_Initialize.
Syntax:
AdMob_Targeting_COPPA(COPPA)
Argument | Type | Description |
---|---|---|
COPPA | Boolean | Whether COPPA targeted advertising should be enabled |
Returns:
N/A
This function toggles on/off ads for under aged users.
Warning
This function should be called before AdMob_Initialize.
Syntax:
AdMob_Targeting_UnderAge(underAge)
Argument | Type | Description |
---|---|---|
underAge | Boolean | Whether under-age ads should be enabled |
Returns:
N/A
This function allows setting the maximum content rating of the ads to be displayed.
Warning
This function should be called before AdMob_Initialize.
Syntax:
AdMob_Targeting_MaxAdContentRating(contentRating)
Argument | Type | Description |
---|---|---|
contentRating | AdMobContentRating | The maximum content rating |
Returns:
N/A
YoYoGames 2024