GoogleMobileAds (Beta) Framework Reference

GADSqueezebackAdOptions


@interface GADSqueezebackAdOptions : NSObject

Options for presenting a GADSqueezebackAd.

  • The fallback background color shown behind the ad content when the creative does not provide a background media asset. If nil, the SDK uses a default color.

    Declaration

    Swift

    @NSCopying var fallbackBackgroundColor: UIColor? { get set }

    Objective-C

    @property (nonatomic, copy, nullable) UIColor *fallbackBackgroundColor;
  • The window scene where the squeezeback ad will be presented. Defaults to nil. If nil, the SDK automatically resolves the active window scene.

    Declaration

    Swift

    weak var windowScene: UIWindowScene? { get set }

    Objective-C

    @property (nonatomic, weak, nullable) UIWindowScene *windowScene;