# GoogleMobileAds Framework Reference

# GADCustomNativeAdLoaderDelegate

    @protocol GADCustomNativeAdLoaderDelegate <https://developers.google.com/admob/ios/api/reference/Protocols/GADAdLoaderDelegate.html>

The delegate of a GADAdLoader object implements this protocol to receive
GADCustomNativeAd ads.
- `


  ### [-customNativeAdFormatIDsForAdLoader:](https://developers.google.com/admob/ios/api/reference/Protocols/GADCustomNativeAdLoaderDelegate#/c:objc(pl)GADCustomNativeAdLoaderDelegate(im)customNativeAdFormatIDsForAdLoader:)


  ` Called when requesting an ad. Asks the delegate for an array of custom native ad format ID
  strings.

  #### Declaration

  Swift

      func customNativeAdFormatIDs(for adLoader: https://developers.google.com/admob/ios/api/reference/Classes/GADAdLoader.html) -> [String]

  Objective-C

      - (nonnull NSArray<NSString *> *)customNativeAdFormatIDsForAdLoader:
          (nonnull https://developers.google.com/admob/ios/api/reference/Classes/GADAdLoader.html *)adLoader;

- `


  ### [-adLoader:didReceiveCustomNativeAd:](https://developers.google.com/admob/ios/api/reference/Protocols/GADCustomNativeAdLoaderDelegate#/c:objc(pl)GADCustomNativeAdLoaderDelegate(im)adLoader:didReceiveCustomNativeAd:)


  ` Tells the delegate that a custom native ad was received.

  #### Declaration

  Swift

      @MainActor func adLoader(_ adLoader: https://developers.google.com/admob/ios/api/reference/Classes/GADAdLoader.html, didReceive customNativeAd: CustomNativeAd)

  Objective-C

      - (void)adLoader:(nonnull https://developers.google.com/admob/ios/api/reference/Classes/GADAdLoader.html *)adLoader
          didReceiveCustomNativeAd:(nonnull https://developers.google.com/admob/ios/api/reference/Classes/GADCustomNativeAd.html *)customNativeAd;