GADMediatedNativeContentAd
protocol GADMediatedNativeContentAd : GADMediatedNativeAd
Provides methods used for constructing native content ads.
-
Primary text headline.
Declaration
Swift
func headline() -> String?
-
Secondary text.
Declaration
Swift
func body() -> String?
-
List of large images. Each object is an instance of GADNativeAdImage.
Declaration
Swift
func images() -> [GADNativeAdImage]?
-
Small logo image.
Declaration
Swift
func logo() -> GADNativeAdImage?
-
Text that encourages user to take some action with the ad.
Declaration
Swift
func callToAction() -> String?
-
Identifies the advertiser. For example, the advertiser’s name or visible URL.
Declaration
Swift
func advertiser() -> String?
-
AdChoices view.
Declaration
Swift
optional func adChoicesView() -> UIView?
-
Media view.
Declaration
Swift
optional func mediaView() -> UIView?
-
Indicates whether the ad has video content.
Declaration
Swift
optional func hasVideoContent() -> Bool