# GADPictureInPictureAdOptions


    @interface GADPictureInPictureAdOptions : NSObject

Options for presenting a Picture-in-Picture (PiP) ad.
- `


  ### [position](https://developers.google.com/admob/ios/api/beta/reference/Classes/GADPictureInPictureAdOptions#/c:objc(cs)GADPictureInPictureAdOptions(py)position)


  ` The current position of the PiP ad.

  Value is `GADPictureInPictureAdPositionDefault` until the ad is assigned a
  position.

  #### Declaration

  Swift

      var position: PictureInPictureAdPosition { get set }

  Objective-C

      @property (nonatomic) https://developers.google.com/admob/ios/api/beta/reference/Enums/GADPictureInPictureAdPosition.html position;

- `


  ### [presentationScope](https://developers.google.com/admob/ios/api/beta/reference/Classes/GADPictureInPictureAdOptions#/c:objc(cs)GADPictureInPictureAdOptions(py)presentationScope)


  ` The Picture-in-Picture ad's presentation scope.
  Defaults to GADPictureInPictureAdPresentationScopeScreen.

  #### Declaration

  Swift

      var presentationScope: PictureInPictureAdPresentationScope { get set }

  Objective-C

      @property (nonatomic) https://developers.google.com/admob/ios/api/beta/reference/Enums/GADPictureInPictureAdPresentationScope.html presentationScope;

- `


  ### [windowScene](https://developers.google.com/admob/ios/api/beta/reference/Classes/GADPictureInPictureAdOptions#/c:objc(cs)GADPictureInPictureAdOptions(py)windowScene)


  ` The window scene where the Picture-in-Picture 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;