Android APIs
public class

RawHtmlAdWrapper

extends Object
implements RawHtmlAd
java.lang.Object
   ↳ com.google.android.gms.ads.internal.rawhtmlad.client.RawHtmlAdWrapper

Class Overview

A wrapper class implements RawHtmlAd which contains information of a raw html ad.

Summary

Public Constructors
RawHtmlAdWrapper(IRawHtmlAd rawHtmlAd)
Public Methods
String getBaseURL()
Returns the base URL of the ad HTML.
String getHtml()
Returns the HTML string of the ad.
void onAdRendered(View view)
Called when publisher is done rendering the ad and pass the publisher rendered view to SDK.
void recordClick()
Called when a click happens in the publisher rendered ad.
void recordImpression()
Called when the publisher rendered ad is displayed.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.android.gms.ads.doubleclick.RawHtmlAd

Public Constructors

public RawHtmlAdWrapper (IRawHtmlAd rawHtmlAd)

Public Methods

public String getBaseURL ()

Returns the base URL of the ad HTML.

public String getHtml ()

Returns the HTML string of the ad.

public void onAdRendered (View view)

Called when publisher is done rendering the ad and pass the publisher rendered view to SDK.

Parameters
view The rendered view of the ad.

public void recordClick ()

Called when a click happens in the publisher rendered ad.

public void recordImpression ()

Called when the publisher rendered ad is displayed.