# GoogleMobileAds Framework Reference

# GADNativeAdCustomClickGestureOptions


    @interface GADNativeAdCustomClickGestureOptions : https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes.html#/c:objc(cs)GADAdLoaderOptions

Ad loader options for custom click gestures. Available for allowlisted publishers only. These
options will be ignored for publishers not allowlisted.
- `


  ### [swipeGestureDirection](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADNativeAdCustomClickGestureOptions#/c:objc(cs)GADNativeAdCustomClickGestureOptions(py)swipeGestureDirection)


  ` The direction in which swipe gestures should be detected and counted as clicks.

  #### Declaration

  Swift

      var swipeGestureDirection: UISwipeGestureRecognizer.Direction { get set }

  Objective-C

      @property (nonatomic) UISwipeGestureRecognizerDirection swipeGestureDirection;

- `


  ### [tapsAllowed](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADNativeAdCustomClickGestureOptions#/c:objc(cs)GADNativeAdCustomClickGestureOptions(py)tapsAllowed)


  ` Whether tap gestures should continue to be detected and counted as clicks.

  #### Declaration

  Swift

      var areTapsAllowed: Bool { get set }

  Objective-C

      @property (nonatomic, assign, unsafe_unretained, readwrite,
                getter=areTapsAllowed) BOOL tapsAllowed;

- `


  ### [-initWithSwipeGestureDirection:tapsAllowed:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADNativeAdCustomClickGestureOptions#/c:objc(cs)GADNativeAdCustomClickGestureOptions(im)initWithSwipeGestureDirection:tapsAllowed:)


  ` Initialize with the direction for detecting swipe gestures and counting them as clicks, and
  whether tap gestures are allowed on the ad.

  #### Declaration

  Swift

      init(https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADNativeAdCustomClickGestureOptions.html#/c:objc(cs)GADNativeAdCustomClickGestureOptions(py)swipeGestureDirection direction: UISwipeGestureRecognizer.Direction, tapsAllowed: Bool)

  Objective-C

      - (nonnull instancetype)initWithSwipeGestureDirection:
                                  (UISwipeGestureRecognizerDirection)direction
                                                tapsAllowed:(BOOL)tapsAllowed;

- `


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


  ` Unavailable
  Unavailable.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;