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)

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated May 30, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 20, 2025

Representing the Firebase brand

Updated Oct 3, 2024