GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
IMAAdEvent is a simple data class used to transport ad playback information.
It includes properties for the event's type, a string representation of the type, the current ad object (when applicable), and extra data about the ad.
IMAAdEvent
@interfaceIMAAdEvent:NSObject
Simple data class used to transport ad playback information.
The current ad that is playing or just played. This will be nil except for
events where an ad is available (start, quartiles, midpoint, complete, and tap).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],["IMAAdEvent is a data class for ad playback information. It contains the `type` of the event and its stringified version, `typeString`. It also holds the `ad` object that is currently playing, if applicable. Lastly, it can store additional information about the ad in the `adData` dictionary. These properties are accessible as read-only, and `ad` and `adData` can be nullable.\n"]]