# GADSqueezebackAd


    @interface GADSqueezebackAd : NSObject

A squeezeback ad shrinks the app's content and shows an ad in the space around it.
- `


  ### [adUnitID](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(py)adUnitID)


  ` The unique identifier assigned to a specific ad placement in an app, created on the AdMob or
  Ad Manager UI.

  #### Declaration

  Swift

      var adUnitID: String { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) NSString *adUnitID;

- `


  ### [responseInfo](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(py)responseInfo)


  ` Information about the ad response that returned the ad.

  #### Declaration

  Swift

      var responseInfo: ResponseInfo { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) GADResponseInfo *responseInfo;

- `


  ### [delegate](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(py)delegate)


  ` Optional delegate to receive presentation, lifecycle, and interaction events.

  #### Declaration

  Swift

      weak var delegate: (any SqueezebackAdDelegate)? { get set }

  Objective-C

      @property (nonatomic, weak, nullable) id<GADSqueezebackAdDelegate> delegate;

- `


  ### [-init](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(im)init)


  ` Unavailable
  Unavailable. Use +loadWithAdUnitID:request:completionHandler: instead.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;

- `


  ### [+loadWithAdUnitID:request:completionHandler:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(cm)loadWithAdUnitID:request:completionHandler:)


  ` Loads a squeezeback ad.

  #### Declaration

  Swift

      class func load(with adUnitID: String, request: Request?) async throws -> sending SqueezebackAd

  Objective-C

      + (void)loadWithAdUnitID:(nonnull NSString *)adUnitID
                       request:(nullable GADRequest *)request
             completionHandler:
                 (nonnull GADSqueezebackAdLoadCompletionHandler)completionHandler;

  #### Parameters

  |---|---|
  | ` adUnitID ` | An ad unit ID created in the AdMob or Ad Manager UI. |
  | ` request ` | An ad request object. If nil, a default ad request object is used. |
  | ` completionHandler ` | A handler to execute when the load operation finishes or times out. |

- `


  ### [-showWithOptions:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(im)showWithOptions:)


  ` Shows the squeezeback ad on the screen. Must be called on the main thread.

  #### Declaration

  Swift

      @MainActor func show(with options: SqueezebackAdOptions)

  Objective-C

      - (void)showWithOptions:(nonnull GADSqueezebackAdOptions *)options;

  #### Parameters

  |---|---|
  | ` options ` | The options specifying presentation behavior. |

- `


  ### [-hide](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/beta/reference/Classes/GADSqueezebackAd.md.txt#/c:objc(cs)GADSqueezebackAd(im)hide)


  ` Hides the squeezeback ad and restores the app's content to its original size. Must be called
  on the main thread.

  #### Declaration

  Swift

      @MainActor func hide()

  Objective-C

      - (void)hide;