# Type-Definitions

The following type definitions are available globally.
- `


  ### [GADPictureInPictureAdLoadCompletionHandler](https://developers.google.com/admob/ios/api/beta/reference/Type-Definitions#/c:GADPictureInPictureAd_Beta.h@T@GADPictureInPictureAdLoadCompletionHandler)


  ` A block to be executed when a Picture-in-Picture (PiP) request operation
  completes. On success, ad is non-nil and \|error\| is nil. On failure, ad is
  nil and \|error\| is non-nil.

  #### Declaration

  Swift

      typealias PictureInPictureAdLoadCompletionHandler = (PictureInPictureAd?, (any Error)?) -> Void

  Objective-C

      typedef void (^GADPictureInPictureAdLoadCompletionHandler)(
          https://developers.google.com/admob/ios/api/beta/reference/Classes/GADPictureInPictureAd *_Nullable, NSError *_Nullable)

- `


  ### [GADSwipeableInterstitialAdLoadCompletionHandler](https://developers.google.com/admob/ios/api/beta/reference/Type-Definitions#/c:GADSwipeableInterstitialAd_Beta.h@T@GADSwipeableInterstitialAdLoadCompletionHandler)


  ` A block that executes when the ad request operation completes. On success,
  ad is non-nil and \|error\| is nil. On failure, ad is nil and \|error\| is non-nil.

  #### Declaration

  Swift

      typealias GADSwipeableInterstitialAdLoadCompletionHandler = (SwipeableInterstitialAd?, (any Error)?) -> Void

  Objective-C

      typedef void (^GADSwipeableInterstitialAdLoadCompletionHandler)(
          https://developers.google.com/admob/ios/api/beta/reference/Classes/GADSwipeableInterstitialAd *_Nullable, NSError *_Nullable)