Fluid companion ads have no fixed size, but rather adapt to fit the creative
content they display. Set width and height to fluid size to allow companion
slot to be filled by fluid companion ad.
[[["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."],[[["\u003cp\u003eThis documentation outlines globally available constants used within the IMA SDK.\u003c/p\u003e\n"],["\u003cp\u003eThese constants provide keys for accessing ad data, such as ad break time and subtitle information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize these constants to interact with and customize the behavior of IMA ads.\u003c/p\u003e\n"],["\u003cp\u003eConstants are defined for properties like current time and bitrate, enabling developers to control playback.\u003c/p\u003e\n"],["\u003cp\u003eSome constants, like \u003ccode\u003ekIMAFluidSize\u003c/code\u003e, are used to specify ad display characteristics for fluid companion ads.\u003c/p\u003e\n"]]],["The content defines several globally available constants, including keys for subtitle data and ad data. Subtitle keys are `kIMASubtitleLanguage`, `kIMASubtitleWebVTT` (WebVTT URL), and `kIMASubtitleTTML` (TTML URL). Ad data keys include `kIMAAdBreakTime` (time of AD_BREAK_READY event), `kIMAAutodetectBitrate` (automatic bitrate selection), `kIMAFluidSize` (fluid companion ad size), and `kIMAPropertyCurrentTime` (key-value observation property name). Each constant is defined for both Swift and Objective-C.\n"],null,["Constants\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n [kIMASubtitleLanguage](#/c:@kIMASubtitleLanguage)`\n ` \n The key for subtitle language. \n\n Declaration \n Swift \n\n let kIMASubtitleLanguage: String\n\n Objective-C \n\n extern NSString *const _Nonnull kIMASubtitleLanguage\n\n- `\n ``\n ``\n `\n\n [kIMASubtitleWebVTT](#/c:@kIMASubtitleWebVTT)`\n ` \n The key for the WebVTT sidecar subtitle URL. \n\n Declaration \n Swift \n\n let kIMASubtitleWebVTT: String\n\n Objective-C \n\n extern NSString *const _Nonnull kIMASubtitleWebVTT\n\n- `\n ``\n ``\n `\n\n [kIMASubtitleTTML](#/c:@kIMASubtitleTTML)`\n ` \n The key for the TTML sidecar subtitle URL. \n\n Declaration \n Swift \n\n let kIMASubtitleTTML: String\n\n Objective-C \n\n extern NSString *const _Nonnull kIMASubtitleTTML\n\n[Ad Data Keys](#/Ad-Data-Keys)\n\n- `\n ``\n ``\n `\n\n [kIMAAdBreakTime](#/c:@kIMAAdBreakTime)`\n ` \n The key for the time in seconds when the AD_BREAK_READY event fired. \n\n Declaration \n Swift \n\n let kIMAAdBreakTime: String\n\n Objective-C \n\n extern NSString *const _Nonnull kIMAAdBreakTime\n\n- `\n ``\n ``\n `\n\n [kIMAAutodetectBitrate](#/c:@kIMAAutodetectBitrate)`\n ` \n The default value of \\|bitrate property\\|, causes the effective bitrate to\n be automatically selected. \n\n Declaration \n Swift \n\n let kIMAAutodetectBitrate: Int\n\n Objective-C \n\n extern const NSInteger kIMAAutodetectBitrate\n\n- `\n ``\n ``\n `\n\n [kIMAFluidSize](#/c:@kIMAFluidSize)`\n ` \n Fluid companion ads have no fixed size, but rather adapt to fit the creative\n content they display. Set width and height to fluid size to allow companion\n slot to be filled by fluid companion ad. \n\n Declaration \n Swift \n\n let kIMAFluidSize: Int\n\n Objective-C \n\n extern const NSInteger kIMAFluidSize\n\n- `\n ``\n ``\n `\n\n [kIMAPropertyCurrentTime](#/c:@kIMAPropertyCurrentTime)`\n ` \n Property name used for key value observation. \n\n Declaration \n Swift \n\n let kIMAPropertyCurrentTime: String\n\n Objective-C \n\n extern NSString *const _Nonnull kIMAPropertyCurrentTime"]]