GfpNativeTemplateAd

Constructors

Link copied to clipboard
constructor(nativeSimpleAdOptions: GfpNativeSimpleAdOptions, nativeAd: GfpNativeAd)

Properties

Link copied to clipboard
open override val inspectorEventId: String?

event id 또는 null (추적중이지 않은 경우)

Functions

Link copied to clipboard
open override fun destroy()

Destroys the ad object.

Link copied to clipboard
open override fun getAdContextInfo(): AdContextInfo?

Returns the ad context information of the ad. This string contains various metadata of the ad in json format.

Link copied to clipboard
open override fun getAdParam(): AdParam

Returns a AdParam used to request advertising

Link copied to clipboard
open override fun getAdProviderName(): String

Returns the ad provider's name for the loaded ad. Returns null until the ad successfully loads.

Link copied to clipboard
open override fun getExtraImage(key: String): Image?

Returns the extra image corresponding to the key.

Link copied to clipboard
open override fun getExtraText(key: String): String?

Returns the extra text corresponding to the key.

Link copied to clipboard
open override fun getExtraTextWithOption(key: String): LabelOption?

Returns the extra text with option corresponding to the key.

Link copied to clipboard
open override fun getImage(): Image?

Returns the image asset for the native ad. This method may return null if no image is available.

Link copied to clipboard
open override fun getMediaData(): GfpMediaData

Returns the GfpMediaData associated with this ad.

Link copied to clipboard
open override fun getResponseInfo(): GfpResponseInfo

Returns the GfpResponseInfo object for the loaded ad. Returns null until the ad successfully loads.

Link copied to clipboard
open override fun getVisualKey(): String?

Returns the visual key of this ad.

Link copied to clipboard
open override fun isAdInvalidated(): Boolean

Indicate whether the ad is still valid.

Link copied to clipboard
open override fun registerFriendlyObstructionView(view: View?)

Registers a view that overlay or obstructs this container as `friendly` for viewability measurement purposes.