ad_exposure
AutomaticappAutomatically triggered when at least one ad served by the Mobile Ads SDK is on screen This event does not appear in reports and is not exported to BigQuery.
- Platforms
- app
- When it fires
- Collected automatically; no code needed.
Parameters (4)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| firebase_screen | - | - | Current screen name, such as the name of the Activity, logged with screen_view event and added to every event. | - |
| firebase_screen_id | - | - | Displays the ID of the screen the user was on | - |
| firebase_screen_class | - | - | Provides the class name of the screen on which the user was on | - |
| exposure_time | - | - | - | - |
Example
gtag.js
gtag('event', 'ad_exposure', {
firebase_screen: '...',
firebase_screen_id: '...',
firebase_screen_class: '...',
exposure_time: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'ad_exposure',
firebase_screen: '...',
firebase_screen_id: '...',
firebase_screen_class: '...',
exposure_time: '...',
});