GoogleMobileAds Framework Reference

DFPCustomRenderedAd

@interface DFPCustomRenderedAd : NSObject

Custom rendered ad. Your application renders the ad.

  • The ad’s HTML.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) NSString *adHTML;
  • The base URL of the ad’s HTML.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) NSURL *adBaseURL;
  • Call this method when the user clicks the ad.

    Declaration

    Objective-C

    - (void)recordClick;
  • Call this method when the ad is visible to the user.

    Declaration

    Objective-C

    - (void)recordImpression;
  • Call this method after the ad has been rendered in a UIView object.

    Declaration

    Objective-C

    - (void)finishedRenderingAdView:(nonnull UIView *)view;