A B C D E F G H I L M N O P R S T V 

A

Ad - Interface in com.google.ads
An interface for all types of ads.
addExtra(String, Object) - Method in class com.google.ads.AdRequest
Deprecated.
addExtra(String, Object) - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
Adds an extra ad request parameter.
addExtra(String, Object) - Method in class com.google.ads.mediation.customevent.CustomEventExtras
Add an extra parameter for a custom event.
addKeyword(String) - Method in class com.google.ads.AdRequest
Adds a keyword.
addKeywords(Set<String>) - Method in class com.google.ads.AdRequest
Adds keywords.
addMediationExtra(String, Object) - Method in class com.google.ads.AdRequest
Adds an extra mediation request parameter.
addTestDevice(String) - Method in class com.google.ads.AdRequest
Causes test ads to be returned to a device.
AdListener - Interface in com.google.ads
A simple interface for receiving notifications on the status of the ads.
AdMobAdapter - Class in com.google.ads.mediation.admob
AdMob Adapter for AdMob Mediation.
AdMobAdapter() - Constructor for class com.google.ads.mediation.admob.AdMobAdapter
 
AdMobAdapterExtras - Class in com.google.ads.mediation.admob
AdMob Adapter Extra Parameters.
AdMobAdapterExtras() - Constructor for class com.google.ads.mediation.admob.AdMobAdapterExtras
 
AdMobAdapterExtras(AdMobAdapterExtras) - Constructor for class com.google.ads.mediation.admob.AdMobAdapterExtras
Copy constructor.
AdMobAdapterServerParameters - Class in com.google.ads.mediation.admob
Settings for AdMob from mediation backend.
AdMobAdapterServerParameters() - Constructor for class com.google.ads.mediation.admob.AdMobAdapterServerParameters
 
AdRequest - Class in com.google.ads
An AdRequest object contains information about the ad to fetch.
AdRequest() - Constructor for class com.google.ads.AdRequest
 
AdRequest.ErrorCode - Enum in com.google.ads
An enumeration of the various types of errors that might occur while fetching an ad.
AdRequest.Gender - Enum in com.google.ads
The gender of the user for targeting purposes.
AdSize - Class in com.google.ads
The different sizes of ads supported.
AdSize(int, int) - Constructor for class com.google.ads.AdSize
Constructs a custom AdSize.
adUnitId - Variable in class com.google.ads.mediation.admob.AdMobAdapterServerParameters
AdMob adUnitId.
AdView - Class in com.google.ads
The View that displays the ads.
AdView(Activity, AdSize, String) - Constructor for class com.google.ads.AdView
Creates an AdView.
AdView(Context, AttributeSet) - Constructor for class com.google.ads.AdView
Creates an AdView from an XML layout.
AdView(Context, AttributeSet, int) - Constructor for class com.google.ads.AdView
Creates an AdView from an XML layout.
allowHouseAds - Variable in class com.google.ads.mediation.admob.AdMobAdapterServerParameters
AdMob allowHouseAds.
AUTO_HEIGHT - Static variable in class com.google.ads.AdSize
A flag used to denote that an ad's height will be determined automatically.

B

BANNER - Static variable in class com.google.ads.AdSize
Size of MMA standard banner ad.

C

className - Variable in class com.google.ads.mediation.customevent.CustomEventServerParameters
The name of the class that handles the custom event.
clearBirthday() - Method in class com.google.ads.AdRequest
Clears the user's birthday for targeting purposes.
clearExtras() - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
Clears the extra ad request parameters.
clearExtras() - Method in class com.google.ads.mediation.customevent.CustomEventExtras
Clear all custom event extra parameters.
com.google.ads - package com.google.ads
 
com.google.ads.mediation - package com.google.ads.mediation
 
com.google.ads.mediation.admob - package com.google.ads.mediation.admob
 
com.google.ads.mediation.customevent - package com.google.ads.mediation.customevent
 
createAdSize(AdSize, Context) - Static method in class com.google.ads.AdSize
DO NOT USE THIS FACTORY.
CustomEvent - Interface in com.google.ads.mediation.customevent
The interface for a custom event.
CustomEventBanner - Interface in com.google.ads.mediation.customevent
The interface for a custom event with a banner ad type.
CustomEventBannerListener - Interface in com.google.ads.mediation.customevent
CustomEventExtras - Class in com.google.ads.mediation.customevent
Custom event extra parameters.
CustomEventExtras() - Constructor for class com.google.ads.mediation.customevent.CustomEventExtras
 
CustomEventInterstitial - Interface in com.google.ads.mediation.customevent
The interface for a custom event with an interstitial ad type.
CustomEventInterstitialListener - Interface in com.google.ads.mediation.customevent
CustomEventListener - Interface in com.google.ads.mediation.customevent
Contains the common methods of the CustomEventBannerListener and CustomEventInterstitialListener interfaces.
CustomEventServerParameters - Class in com.google.ads.mediation.customevent
The mediation server parameters class for custom events.
CustomEventServerParameters() - Constructor for class com.google.ads.mediation.customevent.CustomEventServerParameters
 

D

destroy() - Method in class com.google.ads.AdView
Destroys the AdView.
destroy() - Method in class com.google.ads.mediation.admob.AdMobAdapter
Destroys the adapter.
destroy() - Method in interface com.google.ads.mediation.customevent.CustomEvent
Tears down the custom event.
destroy() - Method in interface com.google.ads.mediation.MediationAdapter
Tears down the adapter control.

E

EmptyNetworkExtras - Class in com.google.ads.mediation
An empty network extras.
EmptyNetworkExtras() - Constructor for class com.google.ads.mediation.EmptyNetworkExtras
 
equals(Object) - Method in class com.google.ads.AdSize
Compares two AdSizes.

F

findBestSize(AdSize...) - Method in class com.google.ads.AdSize
Chained method to find the most appropriate size for this AdSize.
FULL_WIDTH - Static variable in class com.google.ads.AdSize
A flag used to denote that an ad is full-width.

G

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.

H

hashCode() - Method in class com.google.ads.AdSize
Returns an integer hash code for this AdSize.

I

IAB_BANNER - Static variable in class com.google.ads.AdSize
Size of IAB standard full banner ad.
IAB_LEADERBOARD - Static variable in class com.google.ads.AdSize
Size of IAB standard leaderboard ad.
IAB_MRECT - Static variable in class com.google.ads.AdSize
Side of IAB standard medium rectangle ad.
IAB_WIDE_SKYSCRAPER - Static variable in class com.google.ads.AdSize
Size of skyscraper ad.
InterstitialAd - Class in com.google.ads
A class for full-screen interstitial ads.
InterstitialAd(Activity, String) - Constructor for class com.google.ads.InterstitialAd
Creates an InterstitialAd with a long load timeout.
InterstitialAd(Activity, String, boolean) - Constructor for class com.google.ads.InterstitialAd
Creates an InterstitialAd.
isAutoHeight() - Method in class com.google.ads.AdSize
Returns whether AdSize is auto height.
isCustomAdSize() - Method in class com.google.ads.AdSize
Returns whether AdSize is for a custom-sized ad.
isFullWidth() - Method in class com.google.ads.AdSize
Returns whether AdSize is full width.
isReady() - Method in interface com.google.ads.Ad
Returns true if the ad is successfully loaded and is ready to be shown.
isReady() - Method in class com.google.ads.AdView
isReady() - Method in class com.google.ads.InterstitialAd
isRefreshing() - Method in class com.google.ads.AdView
Returns true if the ad is currently automatically refreshing.
isSizeAppropriate(int, int) - Method in class com.google.ads.AdSize
Reports whether the provided dimensions are appropriate for an ad of the requested size.
isTestDevice(Context) - Method in class com.google.ads.AdRequest
Returns true if this device will have test ads returned or false if real ads are returned.
isTesting() - Method in class com.google.ads.mediation.MediationAdRequest
Gets a flag determining whether the publisher is asking for test ads.

L

label - Variable in class com.google.ads.mediation.customevent.CustomEventServerParameters
The label for the custom event.
LANDSCAPE_AD_HEIGHT - Static variable in class com.google.ads.AdSize
Constant for height of ads in landscape mode.
LARGE_AD_HEIGHT - Static variable in class com.google.ads.AdSize
Constant for height of ads on large devices in both orientations.
load(Map<String, String>) - Method in class com.google.ads.mediation.MediationServerParameters
Maps a Map<String, String> to fields in the derived class.
loadAd(AdRequest) - Method in interface com.google.ads.Ad
Download an ad using the supplied AdRequest.
loadAd(AdRequest) - Method in class com.google.ads.AdView
loadAd(AdRequest) - Method in class com.google.ads.InterstitialAd
Download an ad using the supplied AdRequest.
LOGTAG - Static variable in class com.google.ads.AdRequest
The tag the SDK uses for all logging messages.

M

MediationAdapter<ADDITIONAL_PARAMETERS,SERVER_PARAMETERS extends MediationServerParameters> - Interface in com.google.ads.mediation
Adapter for third party ad networks.
MediationAdRequest - Class in com.google.ads.mediation
Information about the ad to fetch for a single publisher.
MediationAdRequest(AdRequest, Context, boolean) - Constructor for class com.google.ads.mediation.MediationAdRequest
Creates a new MediationAdRequest from an existing AdRequest
MediationBannerAdapter<ADDITIONAL_PARAMETERS extends NetworkExtras,SERVER_PARAMETERS extends MediationServerParameters> - Interface in com.google.ads.mediation
Adapter for third party ad networks that support banner ads.
MediationBannerListener - Interface in com.google.ads.mediation
Callback for an adapter to communicate back to the mediation library.
MediationInterstitialAdapter<ADDITIONAL_PARAMETERS extends NetworkExtras,SERVER_PARAMETERS extends MediationServerParameters> - Interface in com.google.ads.mediation
Adapter for third party ad networks that support interstitial ads.
MediationInterstitialListener - Interface in com.google.ads.mediation
Callback for an adapter to communicate back to the mediation library.
MediationServerParameters - Class in com.google.ads.mediation
Settings set by the publisher on the mediation back-end servers.
MediationServerParameters() - Constructor for class com.google.ads.mediation.MediationServerParameters
 
MediationServerParameters.MappingException - Exception in com.google.ads.mediation
Exception thrown when there is an issue mapping fields, usually due to required fields missing or type mismatches.
MediationServerParameters.MappingException(String) - Constructor for exception com.google.ads.mediation.MediationServerParameters.MappingException
 

N

NetworkExtras - Interface in com.google.ads.mediation
Marker for classes which contain information set by the publisher on the client device.

O

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.

P

parameter - Variable in class com.google.ads.mediation.customevent.CustomEventServerParameters
The parameter passed down from the server.
PORTRAIT_AD_HEIGHT - Static variable in class com.google.ads.AdSize
Constant for height of ads in portrait mode.

R

removeExtra(String) - Method in class com.google.ads.mediation.customevent.CustomEventExtras
Remove a custom event extra parameter.
removeNetworkExtras(Class<?>) - Method in class com.google.ads.AdRequest
Un-sets the extras for an ad network.
requestBannerAd(MediationBannerListener, Activity, AdMobAdapterServerParameters, AdSize, MediationAdRequest, AdMobAdapterExtras) - Method in class com.google.ads.mediation.admob.AdMobAdapter
 
requestBannerAd(CustomEventBannerListener, Activity, String, String, AdSize, MediationAdRequest, Object) - Method in interface com.google.ads.mediation.customevent.CustomEventBanner
This method is called by the mediation framework on the UI thread when the custom event object is scheduled to be executed.
requestBannerAd(MediationBannerListener, Activity, SERVER_PARAMETERS, AdSize, MediationAdRequest, ADDITIONAL_PARAMETERS) - Method in interface com.google.ads.mediation.MediationBannerAdapter
Called by the mediation library to request an ad from the adapter.
requestInterstitialAd(MediationInterstitialListener, Activity, AdMobAdapterServerParameters, MediationAdRequest, AdMobAdapterExtras) - Method in class com.google.ads.mediation.admob.AdMobAdapter
 
requestInterstitialAd(CustomEventInterstitialListener, Activity, String, String, MediationAdRequest, Object) - Method in interface com.google.ads.mediation.customevent.CustomEventInterstitial
This method is called by the mediation framework on the UI thread when the custom event object is scheduled to be executed.
requestInterstitialAd(MediationInterstitialListener, Activity, SERVER_PARAMETERS, MediationAdRequest, ADDITIONAL_PARAMETERS) - Method in interface com.google.ads.mediation.MediationInterstitialAdapter
Called by the mediation library to request an ad from the adapter.

S

setAdListener(AdListener) - Method in interface com.google.ads.Ad
Set an AdListener for this Ad.
setAdListener(AdListener) - Method in class com.google.ads.AdView
setAdListener(AdListener) - Method in class com.google.ads.InterstitialAd
Set an AdListener for this InterstitialAd.
setBirthday(String) - Method in class com.google.ads.AdRequest
Deprecated.
setBirthday(Date) - Method in class com.google.ads.AdRequest
Sets the user's birthday for targeting purposes.
setBirthday(Calendar) - Method in class com.google.ads.AdRequest
Sets the user's birthday for targeting purposes.
setExtras(Map<String, Object>) - Method in class com.google.ads.AdRequest
Deprecated.
setExtras(Map<String, Object>) - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
Sets the extra ad request parameters.
setGender(AdRequest.Gender) - Method in class com.google.ads.AdRequest
Sets the user's gender for targeting purposes.
setKeywords(Set<String>) - Method in class com.google.ads.AdRequest
Sets the keywords.
setLocation(Location) - Method in class com.google.ads.AdRequest
Sets the user's location for targeting purposes.
setMediationExtras(Map<String, Object>) - Method in class com.google.ads.AdRequest
Sets the extra mediation request parameters.
setNetworkExtras(NetworkExtras) - Method in class com.google.ads.AdRequest
Ad networks may have their additional parameters they accept.
setPlusOneOptOut(boolean) - Method in class com.google.ads.AdRequest
Deprecated.
setPlusOneOptOut(boolean) - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
Deprecated.
setTestDevices(Set<String>) - Method in class com.google.ads.AdRequest
Sets the test devices.
setTesting(boolean) - Method in class com.google.ads.AdRequest
Deprecated.
setUseExactAdSize(boolean) - Method in class com.google.ads.mediation.admob.AdMobAdapterExtras
Sets the exact AdSize bit.
show() - Method in class com.google.ads.InterstitialAd
Show the interstitial ad if it's loaded and ready to show.
showInterstitial() - Method in class com.google.ads.mediation.admob.AdMobAdapter
 
showInterstitial() - Method in interface com.google.ads.mediation.customevent.CustomEventInterstitial
 
showInterstitial() - Method in interface com.google.ads.mediation.MediationInterstitialAdapter
Shows the interstitial.
SMART_BANNER - Static variable in class com.google.ads.AdSize
A dynamically sized banner that is full-width and auto-height.
stopLoading() - Method in interface com.google.ads.Ad
Stops loading the ad.
stopLoading() - Method in class com.google.ads.AdView
stopLoading() - Method in class com.google.ads.InterstitialAd
Stops loading the ad.

T

TEST_EMULATOR - Static variable in class com.google.ads.AdRequest
The constant for the emulator's device ID.
toString() - Method in enum com.google.ads.AdRequest.ErrorCode
toString() - Method in class com.google.ads.AdSize
Returns the AdSize as a String.

V

valueOf(String) - Static method in enum com.google.ads.AdRequest.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.ads.AdRequest.Gender
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.ads.AdRequest.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.ads.AdRequest.Gender
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.google.ads.AdRequest
The current version of the SDK.
A B C D E F G H I L M N O P R S T V