com.google.android.gms.ads.doubleclick.CustomRenderedAd |
Interface that contains information about custom rendered ads.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the base URL as a String value.
| |||||||||||
Returns the ad content string.
| |||||||||||
Notifies the SDK that ad has finished rendering.
| |||||||||||
Records a click for the ad.
| |||||||||||
Records an impression for the ad.
|
Returns the base URL as a String value. The base URL can be used to get an absolute path when the ad content assets use relative links.
Returns | |
---|---|
String |
Returns the ad content string. This can be an HTML or JSON string, or any server template which contains assets for the ad.
Returns | |
---|---|
String |
Notifies the SDK that ad has finished rendering.
Parameters | |
---|---|
view |
View :
The rendered view of the ad.
|
Records a click for the ad. This method only has an effect after onAdRendered(View)
has been called.
Records an impression for the ad. This method only has an effect if the original PublisherAdView
enabled manual impressions via setManualImpressionsEnabled(boolean)
and onAdRendered(View)
has been
called.