Enumerations
This section lists all enumerations used throughout the PloxTools: Google AdMob plugin.
Each enum corresponds to constants defined by the Google Mobile Ads SDK and simplifies handling of consent, ad loading, and event tracking in Unreal Engine.
These enumerations help describe user consent states, error codes, banner configuration, and ad event callbacks.
EConsentStatus
Represents the user’s consent status for personalized ads.
| Name | Description |
|---|---|
| Unknown | The consent status is not known. |
| Required | The user must provide consent before ads can be shown. |
| NotRequired | Consent is not required (for example, users outside GDPR regions). |
| Obtained | The user has already granted consent. |
EFormErrorCode
Defines possible error codes returned when requesting or displaying a consent form.
| Name | Description |
|---|---|
| Unknown | An unspecified error occurred. |
| InternalError | Internal SDK error while requesting the form. |
| InternetError | Network connection failed or was unavailable. |
| InvalidOperation | Invalid operation or incorrect request state. |
| TimeOut | The consent form request timed out. |
EBannerAdSize
Lists available banner ad sizes supported by the AdMob SDK.
| Name | Description |
|---|---|
| Banner | Standard 320x50 banner. |
| LargeBanner | Large 320x100 banner. |
| MediumRectangle | Medium rectangle (300x250). |
| FullBanner | Full banner (468x60). |
| Leaderboard | Leaderboard banner (728x90). |
| AnchoredAdaptive | Anchored adaptive banner that adjusts automatically to the screen width. |
EBannerGravity
Defines possible positions for displaying banner ads on the screen.
| Name | Description |
|---|---|
| TopLeft | Top-left corner of the screen. |
| TopCenter | Top-center position. |
| TopRight | Top-right corner. |
| MiddleLeft | Center-left position. |
| MiddleCenter | Center of the screen. |
| MiddleRight | Center-right position. |
| BottomLeft | Bottom-left corner. |
| BottomCenter | Bottom-center position. |
| BottomRight | Bottom-right corner. |
EAdErrorCode
Represents possible error codes that can occur during ad loading or display.
| Name | Description |
|---|---|
| InternalError | Internal SDK error. |
| InvalidRequest | Invalid request parameters or ad unit ID. |
| NetworkError | Network failure during the request. |
| NoFill | No ad inventory available for the request. |
| AppIdMissing | Missing App ID in manifest or plugin settings. |
| MediationNoFill | Mediation adapter returned no available ads. |
| RequestIdMismatch | Request ID mismatch detected. |
| InvalidAdString | Provided ad configuration string is invalid. |
| Unknown | Unknown or unspecified error. |
EBannerAdEventType
Describes banner ad lifecycle events triggered during display.
| Name | Description |
|---|---|
| Opened | The banner ad has been opened or expanded. |
| Clicked | The user clicked the banner. |
| Closed | The banner ad was closed. |
| Impression | An impression was recorded for the banner. |
EFullScreenAdEventType
Defines events triggered by fullscreen ads such as interstitials, rewarded, and rewarded interstitial ads.
| Name | Description |
|---|---|
| Clicked | The user clicked on the fullscreen ad. |
| Impression | An impression was successfully recorded for the ad. |