GoogleMobileAds Framework Reference

DFPCustomRenderedAd

class DFPCustomRenderedAd : NSObject

Custom rendered ad. Your application renders the ad.

  • The ad’s HTML.

    Declaration

    Swift

    var adHTML: String { get }
  • The base URL of the ad’s HTML.

    Declaration

    Swift

    var adBaseURL: URL { get }
  • Call this method when the user clicks the ad.

    Declaration

    Swift

    func recordClick()
  • Call this method when the ad is visible to the user.

    Declaration

    Swift

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

    Declaration

    Swift

    func finishedRenderingAdView(_ view: UIView)