- getAdditionalParametersType() - Method in class com.google.ads.mediation.admob.AdMobAdapter
-
Provides the class that supplies publisher extras.
- getAdditionalParametersType() - Method in interface com.google.ads.mediation.MediationAdapter
-
Returns the class that provides additional parameters to this adapter.
- getAgeInYears() - Method in class com.google.ads.mediation.MediationAdRequest
-
Calculates the age of the user in years, if the birthday is defined by the
AdRequest.
- getBannerView() - Method in class com.google.ads.mediation.admob.AdMobAdapter
-
Returns the ad View for banner ads.
- getBannerView() - Method in interface com.google.ads.mediation.MediationBannerAdapter
-
Returns a
View
that can be rendered to display the ad.
- getBirthday() - Method in class com.google.ads.AdRequest
-
Gets the user's birthday for targeting purposes.
- getBirthday() - Method in class com.google.ads.mediation.MediationAdRequest
-
Gets the birthday of the user, if defined by the AdRequest
- getExtra(String) - Method in class com.google.ads.mediation.customevent.CustomEventExtras
-
Get a custom event extra parameter.
- getExtras() - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
-
Gets the extra ad request parameters.
- getGender() - Method in class com.google.ads.AdRequest
-
Gets the user's gender for targeting purposes.
- getGender() - Method in class com.google.ads.mediation.MediationAdRequest
-
Gets the gender of the user, if defined by the AdRequest
- getHeight() - Method in class com.google.ads.AdSize
-
Returns the height of the
AdSize
.
- getHeightInPixels(Context) - Method in class com.google.ads.AdSize
-
Returns the height of the
AdSize
in physical pixels.
- getKeywords() - Method in class com.google.ads.AdRequest
-
Gets keywords.
- getKeywords() - Method in class com.google.ads.mediation.MediationAdRequest
-
Gets a set of keywords requested by the user, if defined by the AdRequest
- getLocation() - Method in class com.google.ads.AdRequest
-
Gets the user's location for targeting purposes.
- getLocation() - Method in class com.google.ads.mediation.MediationAdRequest
-
Gets the physical location of the user, if defined by the AdRequest and allowed to be shared
by the publisher.
- getNetworkExtras(Class<T>) - Method in class com.google.ads.AdRequest
-
Gets the extras for an ad network.
- getPlusOneOptOut() - Method in class com.google.ads.AdRequest
-
Deprecated.
- getPlusOneOptOut() - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
-
Deprecated.
- getRequestMap(Context) - Method in class com.google.ads.AdRequest
-
Creates a map from all of the information contained within this
AdRequest
.
- getServerParametersType() - Method in class com.google.ads.mediation.admob.AdMobAdapter
-
Provides the class that supplies server parameters.
- getServerParametersType() - Method in interface com.google.ads.mediation.MediationAdapter
-
Returns the class that provides parameters set by the mediation backend to this adapter.
- getUseExactAdSize() - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
-
Gets the exact AdSize bit.
- getWidth() - Method in class com.google.ads.AdSize
-
Returns the width of the
AdSize
.
- getWidthInPixels(Context) - Method in class com.google.ads.AdSize
-
Returns the width of the
AdSize
in physical pixels.
- onClick() - Method in interface com.google.ads.mediation.customevent.CustomEventBannerListener
-
Calling this method signals the mediation framework to report a click to the mediation server,
associated with this custom event.
- onClick(MediationBannerAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that the user has clicked on this ad.
- onDismissScreen(Ad) - Method in interface com.google.ads.AdListener
-
Called when an ad is clicked and about to return to the application.
- onDismissScreen() - Method in interface com.google.ads.mediation.customevent.CustomEventListener
-
Calling this method signals the mediation framework that a full screen has been rendered and
is now being dismissed.
- onDismissScreen(MediationBannerAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that the ad control rendered something in full screen and is now transferring
control back to the application.
- onDismissScreen(MediationInterstitialAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationInterstitialListener
-
Indicates that the ad control rendered something in full screen and is now transferring
control back to the application.
- onFailedToReceiveAd(Ad, AdRequest.ErrorCode) - Method in interface com.google.ads.AdListener
-
Called when an ad was not received.
- onFailedToReceiveAd() - Method in interface com.google.ads.mediation.customevent.CustomEventListener
-
Calling this method signals the mediation framework that execution of the custom event
completed unsuccessfully.
- onFailedToReceiveAd(MediationBannerAdapter<?, ?>, AdRequest.ErrorCode) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that an ad request has failed along with the underlying cause.
- onFailedToReceiveAd(MediationInterstitialAdapter<?, ?>, AdRequest.ErrorCode) - Method in interface com.google.ads.mediation.MediationInterstitialListener
-
Indicates that an ad request has failed along with the underlying cause.
- onLeaveApplication(Ad) - Method in interface com.google.ads.AdListener
-
Called when an ad is clicked and going to start a new
Activity
that will leave the application (e.g.
- onLeaveApplication() - Method in interface com.google.ads.mediation.customevent.CustomEventListener
-
Calling this method signals the mediation framework that the custom event is causing a switch
to a different application (such as a web browser).
- onLeaveApplication(MediationBannerAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that the ad is causing the device to switch to a different application (such as a
web browser).
- onLeaveApplication(MediationInterstitialAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationInterstitialListener
-
Indicates that the ad is causing the device to switch to a different application (such as a
web browser).
- onPresentScreen(Ad) - Method in interface com.google.ads.AdListener
-
Called when an
Activity
is created in front of the
app (e.g.
- onPresentScreen() - Method in interface com.google.ads.mediation.customevent.CustomEventListener
-
Calling this method signals the mediation framework that a full screen is about to be rendered.
- onPresentScreen(MediationBannerAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that the ad control is rendering something that is full screen.
- onPresentScreen(MediationInterstitialAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationInterstitialListener
-
Indicates that the ad control is rendering something that is full screen.
- onReceiveAd(Ad) - Method in interface com.google.ads.AdListener
-
Called when an ad is received.
- onReceivedAd(View) - Method in interface com.google.ads.mediation.customevent.CustomEventBannerListener
-
Calling this method signals the mediation framework that execution of the custom event has
completed successfully.
- onReceivedAd() - Method in interface com.google.ads.mediation.customevent.CustomEventInterstitialListener
-
Calling this method signals the mediation framework that execution of the custom event has
completed successfully.
- onReceivedAd(MediationBannerAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationBannerListener
-
Indicates that an ad has been requested and successfully received.
- onReceivedAd(MediationInterstitialAdapter<?, ?>) - Method in interface com.google.ads.mediation.MediationInterstitialListener
-
Indicates that an ad has been requested and successfully received.