GoogleInteractiveMediaAds Framework Reference

  • IMAFriendlyObstructionPurpose defines the reasons an obstruction within an ad view is considered "friendly" and should not cause an ad error.

  • These purposes include media controls, close ad button, elements not visible to the user, and a general "other" category for flexibility.

  • Each purpose is represented by an enum case with an integer raw value for programmatic use.

  • Developers can leverage these purposes to ensure interactive elements or hidden UI components in their ads do not trigger unintended obstruction errors.

IMAFriendlyObstructionPurpose

enum IMAFriendlyObstructionPurpose : NSUInteger {}

A list of purposes for which an obstruction would be registered as friendly.