diff --git a/docs/html/gms_navtree_data.js b/docs/html/gms_navtree_data.js index 86bfea4a638f3b4bc8cabe6695b7fd72523f2eaf..0d5e87590172dbaca9abaa61354fd12ee8e20c90 100644 --- a/docs/html/gms_navtree_data.js +++ b/docs/html/gms_navtree_data.js @@ -3,6 +3,9 @@ var GMS_NAVTREE_DATA = , null ] ] , null ], [ "com.google.android.gms.ads", "reference/com/google/android/gms/ads/package-summary.html", [ [ "Classes", null, [ [ "AdListener", "reference/com/google/android/gms/ads/AdListener.html", null, null ], [ "AdRequest", "reference/com/google/android/gms/ads/AdRequest.html", null, null ], [ "AdRequest.Builder", "reference/com/google/android/gms/ads/AdRequest.Builder.html", null, null ], [ "AdSize", "reference/com/google/android/gms/ads/AdSize.html", null, null ], [ "AdView", "reference/com/google/android/gms/ads/AdView.html", null, null ], [ "InterstitialAd", "reference/com/google/android/gms/ads/InterstitialAd.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.ads.doubleclick", "reference/com/google/android/gms/ads/doubleclick/package-summary.html", [ [ "Interfaces", null, [ [ "AppEventListener", "reference/com/google/android/gms/ads/doubleclick/AppEventListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "PublisherAdRequest", "reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.html", null, null ], [ "PublisherAdRequest.Builder", "reference/com/google/android/gms/ads/doubleclick/PublisherAdRequest.Builder.html", null, null ], [ "PublisherAdView", "reference/com/google/android/gms/ads/doubleclick/PublisherAdView.html", null, null ], [ "PublisherInterstitialAd", "reference/com/google/android/gms/ads/doubleclick/PublisherInterstitialAd.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.ads.identifier", "reference/com/google/android/gms/ads/identifier/package-summary.html", [ [ "Classes", null, [ [ "AdvertisingIdClient", "reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.html", null, null ], [ "AdvertisingIdClient.Info", "reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.ads.mediation", "reference/com/google/android/gms/ads/mediation/package-summary.html", [ [ "Interfaces", null, [ [ "NetworkExtras", "reference/com/google/android/gms/ads/mediation/NetworkExtras.html", null, null ] ] @@ -11,37 +14,57 @@ var GMS_NAVTREE_DATA = , null ] ] , null ], [ "com.google.android.gms.ads.mediation.customevent", "reference/com/google/android/gms/ads/mediation/customevent/package-summary.html", [ [ "Classes", null, [ [ "CustomEventExtras", "reference/com/google/android/gms/ads/mediation/customevent/CustomEventExtras.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.ads.search", "reference/com/google/android/gms/ads/search/package-summary.html", [ [ "Classes", null, [ [ "SearchAdRequest", "reference/com/google/android/gms/ads/search/SearchAdRequest.html", null, null ], [ "SearchAdRequest.Builder", "reference/com/google/android/gms/ads/search/SearchAdRequest.Builder.html", null, null ], [ "SearchAdView", "reference/com/google/android/gms/ads/search/SearchAdView.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.appstate", "reference/com/google/android/gms/appstate/package-summary.html", [ [ "Interfaces", null, [ [ "AppState", "reference/com/google/android/gms/appstate/AppState.html", null, null ], [ "OnSignOutCompleteListener", "reference/com/google/android/gms/appstate/OnSignOutCompleteListener.html", null, null ], [ "OnStateDeletedListener", "reference/com/google/android/gms/appstate/OnStateDeletedListener.html", null, null ], [ "OnStateListLoadedListener", "reference/com/google/android/gms/appstate/OnStateListLoadedListener.html", null, null ], [ "OnStateLoadedListener", "reference/com/google/android/gms/appstate/OnStateLoadedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "AppStateBuffer", "reference/com/google/android/gms/appstate/AppStateBuffer.html", null, null ], [ "AppStateClient", "reference/com/google/android/gms/appstate/AppStateClient.html", null, null ], [ "AppStateClient.Builder", "reference/com/google/android/gms/appstate/AppStateClient.Builder.html", null, null ] ] , null ] ] -, null ], [ "com.google.android.gms.auth", "reference/com/google/android/gms/auth/package-summary.html", [ [ "Classes", null, [ [ "GoogleAuthUtil", "reference/com/google/android/gms/auth/GoogleAuthUtil.html", null, null ], [ "RecoveryDecision", "reference/com/google/android/gms/auth/RecoveryDecision.html", null, null ] ] +, null ], [ "com.google.android.gms.auth", "reference/com/google/android/gms/auth/package-summary.html", [ [ "Classes", null, [ [ "GoogleAuthUtil", "reference/com/google/android/gms/auth/GoogleAuthUtil.html", null, null ] ] , null ], [ "Exceptions", null, [ [ "GoogleAuthException", "reference/com/google/android/gms/auth/GoogleAuthException.html", null, null ], [ "GooglePlayServicesAvailabilityException", "reference/com/google/android/gms/auth/GooglePlayServicesAvailabilityException.html", null, null ], [ "UserRecoverableAuthException", "reference/com/google/android/gms/auth/UserRecoverableAuthException.html", null, null ], [ "UserRecoverableNotifiedException", "reference/com/google/android/gms/auth/UserRecoverableNotifiedException.html", null, null ] ] , null ] ] -, null ], [ "com.google.android.gms.common", "reference/com/google/android/gms/common/package-summary.html", [ [ "Interfaces", null, [ [ "GooglePlayServicesClient", "reference/com/google/android/gms/common/GooglePlayServicesClient.html", null, null ], [ "GooglePlayServicesClient.ConnectionCallbacks", "reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", null, null ], [ "GooglePlayServicesClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", null, null ] ] +, null ], [ "com.google.android.gms.common", "reference/com/google/android/gms/common/package-summary.html", [ [ "Interfaces", null, [ [ "GooglePlayServicesClient", "reference/com/google/android/gms/common/GooglePlayServicesClient.html", null, null ], [ "GooglePlayServicesClient.ConnectionCallbacks", "reference/com/google/android/gms/common/GooglePlayServicesClient.ConnectionCallbacks.html", null, null ], [ "GooglePlayServicesClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/GooglePlayServicesClient.OnConnectionFailedListener.html", null, null ], [ "OnStatusReceivedCallback", "reference/com/google/android/gms/common/OnStatusReceivedCallback.html", null, null ] ] , null ], [ "Classes", null, [ [ "AccountPicker", "reference/com/google/android/gms/common/AccountPicker.html", null, null ], [ "ConnectionResult", "reference/com/google/android/gms/common/ConnectionResult.html", null, null ], [ "GooglePlayServicesUtil", "reference/com/google/android/gms/common/GooglePlayServicesUtil.html", null, null ], [ "Scopes", "reference/com/google/android/gms/common/Scopes.html", null, null ], [ "SignInButton", "reference/com/google/android/gms/common/SignInButton.html", null, null ] ] , null ], [ "Exceptions", null, [ [ "GooglePlayServicesNotAvailableException", "reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html", null, null ], [ "GooglePlayServicesRepairableException", "reference/com/google/android/gms/common/GooglePlayServicesRepairableException.html", null, null ], [ "UserRecoverableException", "reference/com/google/android/gms/common/UserRecoverableException.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.common.annotation", "reference/com/google/android/gms/common/annotation/package-summary.html", [ [ "Annotations", null, [ [ "KeepName", "reference/com/google/android/gms/common/annotation/KeepName.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.common.api", "reference/com/google/android/gms/common/api/package-summary.html", [ [ "Interfaces", null, [ [ "GoogleApiClient.ApiOptions", "reference/com/google/android/gms/common/api/GoogleApiClient.ApiOptions.html", null, null ], [ "GoogleApiClient.ConnectionCallbacks", "reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html", null, null ], [ "GoogleApiClient.OnConnectionFailedListener", "reference/com/google/android/gms/common/api/GoogleApiClient.OnConnectionFailedListener.html", null, null ], [ "PendingResult", "reference/com/google/android/gms/common/api/PendingResult.html", null, null ], [ "Releasable", "reference/com/google/android/gms/common/api/Releasable.html", null, null ], [ "Result", "reference/com/google/android/gms/common/api/Result.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Api", "reference/com/google/android/gms/common/api/Api.html", null, null ], [ "GoogleApiClient", "reference/com/google/android/gms/common/api/GoogleApiClient.html", null, null ], [ "GoogleApiClient.Builder", "reference/com/google/android/gms/common/api/GoogleApiClient.Builder.html", null, null ], [ "Scope", "reference/com/google/android/gms/common/api/Scope.html", null, null ], [ "Status", "reference/com/google/android/gms/common/api/Status.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.common.data", "reference/com/google/android/gms/common/data/package-summary.html", [ [ "Interfaces", null, [ [ "Freezable", "reference/com/google/android/gms/common/data/Freezable.html", null, null ] ] -, null ], [ "Classes", null, [ [ "DataBuffer", "reference/com/google/android/gms/common/data/DataBuffer.html", null, null ], [ "DataBufferUtils", "reference/com/google/android/gms/common/data/DataBufferUtils.html", null, null ] ] +, null ], [ "Classes", null, [ [ "DataBuffer", "reference/com/google/android/gms/common/data/DataBuffer.html", null, null ], [ "DataBufferUtils", "reference/com/google/android/gms/common/data/DataBufferUtils.html", null, null ], [ "FilteredDataBuffer", "reference/com/google/android/gms/common/data/FilteredDataBuffer.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.common.images", "reference/com/google/android/gms/common/images/package-summary.html", [ [ "Interfaces", null, [ [ "ImageManager.OnImageLoadedListener", "reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "ImageManager", "reference/com/google/android/gms/common/images/ImageManager.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.drive", "reference/com/google/android/gms/drive/package-summary.html", [ [ "Interfaces", null, [ [ "DriveApi", "reference/com/google/android/gms/drive/DriveApi.html", null, null ], [ "DriveApi.ContentsResult", "reference/com/google/android/gms/drive/DriveApi.ContentsResult.html", null, null ], [ "DriveApi.IntentSenderResult", "reference/com/google/android/gms/drive/DriveApi.IntentSenderResult.html", null, null ], [ "DriveApi.MetadataBufferResult", "reference/com/google/android/gms/drive/DriveApi.MetadataBufferResult.html", null, null ], [ "DriveApi.OnContentsDiscardedCallback", "reference/com/google/android/gms/drive/DriveApi.OnContentsDiscardedCallback.html", null, null ], [ "DriveApi.OnNewContentsCallback", "reference/com/google/android/gms/drive/DriveApi.OnNewContentsCallback.html", null, null ], [ "DriveApi.OnSyncFinishCallback", "reference/com/google/android/gms/drive/DriveApi.OnSyncFinishCallback.html", null, null ], [ "DriveFile", "reference/com/google/android/gms/drive/DriveFile.html", null, null ], [ "DriveFile.DownloadProgressListener", "reference/com/google/android/gms/drive/DriveFile.DownloadProgressListener.html", null, null ], [ "DriveFile.OnContentsClosedCallback", "reference/com/google/android/gms/drive/DriveFile.OnContentsClosedCallback.html", null, null ], [ "DriveFile.OnContentsOpenedCallback", "reference/com/google/android/gms/drive/DriveFile.OnContentsOpenedCallback.html", null, null ], [ "DriveFolder", "reference/com/google/android/gms/drive/DriveFolder.html", null, null ], [ "DriveFolder.DriveFileResult", "reference/com/google/android/gms/drive/DriveFolder.DriveFileResult.html", null, null ], [ "DriveFolder.DriveFolderResult", "reference/com/google/android/gms/drive/DriveFolder.DriveFolderResult.html", null, null ], [ "DriveFolder.OnChildrenRetrievedCallback", "reference/com/google/android/gms/drive/DriveFolder.OnChildrenRetrievedCallback.html", null, null ], [ "DriveFolder.OnCreateFileCallback", "reference/com/google/android/gms/drive/DriveFolder.OnCreateFileCallback.html", null, null ], [ "DriveFolder.OnCreateFolderCallback", "reference/com/google/android/gms/drive/DriveFolder.OnCreateFolderCallback.html", null, null ], [ "DriveResource", "reference/com/google/android/gms/drive/DriveResource.html", null, null ], [ "DriveResource.MetadataResult", "reference/com/google/android/gms/drive/DriveResource.MetadataResult.html", null, null ], [ "DriveResource.OnMetadataRetrievedCallback", "reference/com/google/android/gms/drive/DriveResource.OnMetadataRetrievedCallback.html", null, null ], [ "DriveResource.OnMetadataUpdatedCallback", "reference/com/google/android/gms/drive/DriveResource.OnMetadataUpdatedCallback.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Contents", "reference/com/google/android/gms/drive/Contents.html", null, null ], [ "CreateFileActivityBuilder", "reference/com/google/android/gms/drive/CreateFileActivityBuilder.html", null, null ], [ "Drive", "reference/com/google/android/gms/drive/Drive.html", null, null ], [ "DriveId", "reference/com/google/android/gms/drive/DriveId.html", null, null ], [ "Metadata", "reference/com/google/android/gms/drive/Metadata.html", null, null ], [ "MetadataBuffer", "reference/com/google/android/gms/drive/MetadataBuffer.html", null, null ], [ "MetadataChangeSet", "reference/com/google/android/gms/drive/MetadataChangeSet.html", null, null ], [ "MetadataChangeSet.Builder", "reference/com/google/android/gms/drive/MetadataChangeSet.Builder.html", null, null ], [ "OpenFileActivityBuilder", "reference/com/google/android/gms/drive/OpenFileActivityBuilder.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.metadata", "reference/com/google/android/gms/drive/metadata/package-summary.html", [ [ "Classes", null, [ [ "CollectionMetadataField", "reference/com/google/android/gms/drive/metadata/CollectionMetadataField.html", null, null ], [ "MetadataField", "reference/com/google/android/gms/drive/metadata/MetadataField.html", null, null ], [ "OrderedMetadataField", "reference/com/google/android/gms/drive/metadata/OrderedMetadataField.html", null, null ], [ "StringMetadataField", "reference/com/google/android/gms/drive/metadata/StringMetadataField.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.query", "reference/com/google/android/gms/drive/query/package-summary.html", [ [ "Interfaces", null, [ [ "Filter", "reference/com/google/android/gms/drive/query/Filter.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Filters", "reference/com/google/android/gms/drive/query/Filters.html", null, null ], [ "Query", "reference/com/google/android/gms/drive/query/Query.html", null, null ], [ "Query.Builder", "reference/com/google/android/gms/drive/query/Query.Builder.html", null, null ], [ "SearchableField", "reference/com/google/android/gms/drive/query/SearchableField.html", null, null ] ] +, null ] ] +, null ], [ "com.google.android.gms.drive.widget", "reference/com/google/android/gms/drive/widget/package-summary.html", [ [ "Classes", null, [ [ "DataBufferAdapter", "reference/com/google/android/gms/drive/widget/DataBufferAdapter.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.games", "reference/com/google/android/gms/games/package-summary.html", [ [ "Interfaces", null, [ [ "Game", "reference/com/google/android/gms/games/Game.html", null, null ], [ "OnGamesLoadedListener", "reference/com/google/android/gms/games/OnGamesLoadedListener.html", null, null ], [ "OnPlayersLoadedListener", "reference/com/google/android/gms/games/OnPlayersLoadedListener.html", null, null ], [ "OnSignOutCompleteListener", "reference/com/google/android/gms/games/OnSignOutCompleteListener.html", null, null ], [ "Player", "reference/com/google/android/gms/games/Player.html", null, null ] ] , null ], [ "Classes", null, [ [ "GameBuffer", "reference/com/google/android/gms/games/GameBuffer.html", null, null ], [ "GameEntity", "reference/com/google/android/gms/games/GameEntity.html", null, null ], [ "GamesActivityResultCodes", "reference/com/google/android/gms/games/GamesActivityResultCodes.html", null, null ], [ "GamesClient", "reference/com/google/android/gms/games/GamesClient.html", null, null ], [ "GamesClient.Builder", "reference/com/google/android/gms/games/GamesClient.Builder.html", null, null ], [ "PageDirection", "reference/com/google/android/gms/games/PageDirection.html", null, null ], [ "PlayerBuffer", "reference/com/google/android/gms/games/PlayerBuffer.html", null, null ], [ "PlayerEntity", "reference/com/google/android/gms/games/PlayerEntity.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.games.achievement", "reference/com/google/android/gms/games/achievement/package-summary.html", [ [ "Interfaces", null, [ [ "Achievement", "reference/com/google/android/gms/games/achievement/Achievement.html", null, null ], [ "OnAchievementsLoadedListener", "reference/com/google/android/gms/games/achievement/OnAchievementsLoadedListener.html", null, null ], [ "OnAchievementUpdatedListener", "reference/com/google/android/gms/games/achievement/OnAchievementUpdatedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "AchievementBuffer", "reference/com/google/android/gms/games/achievement/AchievementBuffer.html", null, null ] ] , null ] ] -, null ], [ "com.google.android.gms.games.leaderboard", "reference/com/google/android/gms/games/leaderboard/package-summary.html", [ [ "Interfaces", null, [ [ "Leaderboard", "reference/com/google/android/gms/games/leaderboard/Leaderboard.html", null, null ], [ "LeaderboardScore", "reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html", null, null ], [ "LeaderboardVariant", "reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html", null, null ], [ "OnLeaderboardMetadataLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html", null, null ], [ "OnLeaderboardScoresLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html", null, null ], [ "OnScoreSubmittedListener", "reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html", null, null ] ] +, null ], [ "com.google.android.gms.games.leaderboard", "reference/com/google/android/gms/games/leaderboard/package-summary.html", [ [ "Interfaces", null, [ [ "Leaderboard", "reference/com/google/android/gms/games/leaderboard/Leaderboard.html", null, null ], [ "LeaderboardScore", "reference/com/google/android/gms/games/leaderboard/LeaderboardScore.html", null, null ], [ "LeaderboardVariant", "reference/com/google/android/gms/games/leaderboard/LeaderboardVariant.html", null, null ], [ "OnLeaderboardMetadataLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardMetadataLoadedListener.html", null, null ], [ "OnLeaderboardScoresLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html", null, null ], [ "OnPlayerLeaderboardScoreLoadedListener", "reference/com/google/android/gms/games/leaderboard/OnPlayerLeaderboardScoreLoadedListener.html", null, null ], [ "OnScoreSubmittedListener", "reference/com/google/android/gms/games/leaderboard/OnScoreSubmittedListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "LeaderboardBuffer", "reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html", null, null ], [ "LeaderboardScoreBuffer", "reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html", null, null ], [ "SubmitScoreResult", "reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.html", null, null ], [ "SubmitScoreResult.Result", "reference/com/google/android/gms/games/leaderboard/SubmitScoreResult.Result.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.games.multiplayer", "reference/com/google/android/gms/games/multiplayer/package-summary.html", [ [ "Interfaces", null, [ [ "Invitation", "reference/com/google/android/gms/games/multiplayer/Invitation.html", null, null ], [ "OnInvitationReceivedListener", "reference/com/google/android/gms/games/multiplayer/OnInvitationReceivedListener.html", null, null ], [ "OnInvitationsLoadedListener", "reference/com/google/android/gms/games/multiplayer/OnInvitationsLoadedListener.html", null, null ], [ "Participant", "reference/com/google/android/gms/games/multiplayer/Participant.html", null, null ], [ "Participatable", "reference/com/google/android/gms/games/multiplayer/Participatable.html", null, null ] ] -, null ], [ "Classes", null, [ [ "InvitationBuffer", "reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html", null, null ], [ "InvitationEntity", "reference/com/google/android/gms/games/multiplayer/InvitationEntity.html", null, null ], [ "ParticipantBuffer", "reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html", null, null ], [ "ParticipantEntity", "reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html", null, null ], [ "ParticipantUtils", "reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html", null, null ] ] +, null ], [ "Classes", null, [ [ "InvitationBuffer", "reference/com/google/android/gms/games/multiplayer/InvitationBuffer.html", null, null ], [ "InvitationEntity", "reference/com/google/android/gms/games/multiplayer/InvitationEntity.html", null, null ], [ "ParticipantBuffer", "reference/com/google/android/gms/games/multiplayer/ParticipantBuffer.html", null, null ], [ "ParticipantEntity", "reference/com/google/android/gms/games/multiplayer/ParticipantEntity.html", null, null ], [ "ParticipantResult", "reference/com/google/android/gms/games/multiplayer/ParticipantResult.html", null, null ], [ "ParticipantUtils", "reference/com/google/android/gms/games/multiplayer/ParticipantUtils.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.games.multiplayer.realtime", "reference/com/google/android/gms/games/multiplayer/realtime/package-summary.html", [ [ "Interfaces", null, [ [ "RealTimeMessageReceivedListener", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessageReceivedListener.html", null, null ], [ "RealTimeReliableMessageSentListener", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeReliableMessageSentListener.html", null, null ], [ "RealTimeSocket", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeSocket.html", null, null ], [ "Room", "reference/com/google/android/gms/games/multiplayer/realtime/Room.html", null, null ], [ "RoomStatusUpdateListener", "reference/com/google/android/gms/games/multiplayer/realtime/RoomStatusUpdateListener.html", null, null ], [ "RoomUpdateListener", "reference/com/google/android/gms/games/multiplayer/realtime/RoomUpdateListener.html", null, null ] ] , null ], [ "Classes", null, [ [ "RealTimeMessage", "reference/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.html", null, null ], [ "RoomConfig", "reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.html", null, null ], [ "RoomConfig.Builder", "reference/com/google/android/gms/games/multiplayer/realtime/RoomConfig.Builder.html", null, null ], [ "RoomEntity", "reference/com/google/android/gms/games/multiplayer/realtime/RoomEntity.html", null, null ] ] , null ] ] +, null ], [ "com.google.android.gms.games.multiplayer.turnbased", "reference/com/google/android/gms/games/multiplayer/turnbased/package-summary.html", [ [ "Interfaces", null, [ [ "OnTurnBasedMatchCanceledListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchCanceledListener.html", null, null ], [ "OnTurnBasedMatchesLoadedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchesLoadedListener.html", null, null ], [ "OnTurnBasedMatchInitiatedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchInitiatedListener.html", null, null ], [ "OnTurnBasedMatchLeftListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchLeftListener.html", null, null ], [ "OnTurnBasedMatchLoadedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchLoadedListener.html", null, null ], [ "OnTurnBasedMatchUpdatedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchUpdatedListener.html", null, null ], [ "OnTurnBasedMatchUpdateReceivedListener", "reference/com/google/android/gms/games/multiplayer/turnbased/OnTurnBasedMatchUpdateReceivedListener.html", null, null ], [ "TurnBasedMatch", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatch.html", null, null ], [ "TurnBasedMultiplayerListener", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMultiplayerListener.html", null, null ] ] +, null ], [ "Classes", null, [ [ "LoadMatchesResponse", "reference/com/google/android/gms/games/multiplayer/turnbased/LoadMatchesResponse.html", null, null ], [ "TurnBasedMatchBuffer", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchBuffer.html", null, null ], [ "TurnBasedMatchConfig", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig.html", null, null ], [ "TurnBasedMatchConfig.Builder", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchConfig.Builder.html", null, null ], [ "TurnBasedMatchEntity", "reference/com/google/android/gms/games/multiplayer/turnbased/TurnBasedMatchEntity.html", null, null ] ] +, null ] ] , null ], [ "com.google.android.gms.gcm", "reference/com/google/android/gms/gcm/package-summary.html", [ [ "Classes", null, [ [ "GoogleCloudMessaging", "reference/com/google/android/gms/gcm/GoogleCloudMessaging.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.location", "reference/com/google/android/gms/location/package-summary.html", [ [ "Interfaces", null, [ [ "Geofence", "reference/com/google/android/gms/location/Geofence.html", null, null ], [ "LocationClient.OnAddGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnAddGeofencesResultListener.html", null, null ], [ "LocationClient.OnRemoveGeofencesResultListener", "reference/com/google/android/gms/location/LocationClient.OnRemoveGeofencesResultListener.html", null, null ], [ "LocationListener", "reference/com/google/android/gms/location/LocationListener.html", null, null ] ] @@ -67,7 +90,7 @@ var GMS_NAVTREE_DATA = , null ], [ "Classes", null, [ [ "Person.Cover.Layout", "reference/com/google/android/gms/plus/model/people/Person.Cover.Layout.html", null, null ], [ "Person.Gender", "reference/com/google/android/gms/plus/model/people/Person.Gender.html", null, null ], [ "Person.ObjectType", "reference/com/google/android/gms/plus/model/people/Person.ObjectType.html", null, null ], [ "Person.Organizations.Type", "reference/com/google/android/gms/plus/model/people/Person.Organizations.Type.html", null, null ], [ "Person.RelationshipStatus", "reference/com/google/android/gms/plus/model/people/Person.RelationshipStatus.html", null, null ], [ "Person.Urls.Type", "reference/com/google/android/gms/plus/model/people/Person.Urls.Type.html", null, null ], [ "PersonBuffer", "reference/com/google/android/gms/plus/model/people/PersonBuffer.html", null, null ] ] , null ] ] , null ], [ "com.google.android.gms.wallet", "reference/com/google/android/gms/wallet/package-summary.html", [ [ "Interfaces", null, [ [ "LineItem.Role", "reference/com/google/android/gms/wallet/LineItem.Role.html", null, null ], [ "NotifyTransactionStatusRequest.Status", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Status.html", null, null ], [ "NotifyTransactionStatusRequest.Status.Error", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Status.Error.html", null, null ] ] -, null ], [ "Classes", null, [ [ "Address", "reference/com/google/android/gms/wallet/Address.html", null, null ], [ "Cart", "reference/com/google/android/gms/wallet/Cart.html", null, null ], [ "Cart.Builder", "reference/com/google/android/gms/wallet/Cart.Builder.html", null, null ], [ "EnableWalletOptimizationReceiver", "reference/com/google/android/gms/wallet/EnableWalletOptimizationReceiver.html", null, null ], [ "FullWallet", "reference/com/google/android/gms/wallet/FullWallet.html", null, null ], [ "FullWalletRequest", "reference/com/google/android/gms/wallet/FullWalletRequest.html", null, null ], [ "FullWalletRequest.Builder", "reference/com/google/android/gms/wallet/FullWalletRequest.Builder.html", null, null ], [ "LineItem", "reference/com/google/android/gms/wallet/LineItem.html", null, null ], [ "LineItem.Builder", "reference/com/google/android/gms/wallet/LineItem.Builder.html", null, null ], [ "LoyaltyWalletObject", "reference/com/google/android/gms/wallet/LoyaltyWalletObject.html", null, null ], [ "MaskedWallet", "reference/com/google/android/gms/wallet/MaskedWallet.html", null, null ], [ "MaskedWalletRequest", "reference/com/google/android/gms/wallet/MaskedWalletRequest.html", null, null ], [ "MaskedWalletRequest.Builder", "reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html", null, null ], [ "NotifyTransactionStatusRequest", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.html", null, null ], [ "NotifyTransactionStatusRequest.Builder", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html", null, null ], [ "OfferWalletObject", "reference/com/google/android/gms/wallet/OfferWalletObject.html", null, null ], [ "ProxyCard", "reference/com/google/android/gms/wallet/ProxyCard.html", null, null ], [ "WalletClient", "reference/com/google/android/gms/wallet/WalletClient.html", null, null ], [ "WalletConstants", "reference/com/google/android/gms/wallet/WalletConstants.html", null, null ] ] +, null ], [ "Classes", null, [ [ "Address", "reference/com/google/android/gms/wallet/Address.html", null, null ], [ "Cart", "reference/com/google/android/gms/wallet/Cart.html", null, null ], [ "Cart.Builder", "reference/com/google/android/gms/wallet/Cart.Builder.html", null, null ], [ "CountrySpecification", "reference/com/google/android/gms/wallet/CountrySpecification.html", null, null ], [ "EnableWalletOptimizationReceiver", "reference/com/google/android/gms/wallet/EnableWalletOptimizationReceiver.html", null, null ], [ "FullWallet", "reference/com/google/android/gms/wallet/FullWallet.html", null, null ], [ "FullWalletRequest", "reference/com/google/android/gms/wallet/FullWalletRequest.html", null, null ], [ "FullWalletRequest.Builder", "reference/com/google/android/gms/wallet/FullWalletRequest.Builder.html", null, null ], [ "LineItem", "reference/com/google/android/gms/wallet/LineItem.html", null, null ], [ "LineItem.Builder", "reference/com/google/android/gms/wallet/LineItem.Builder.html", null, null ], [ "LoyaltyWalletObject", "reference/com/google/android/gms/wallet/LoyaltyWalletObject.html", null, null ], [ "MaskedWallet", "reference/com/google/android/gms/wallet/MaskedWallet.html", null, null ], [ "MaskedWalletRequest", "reference/com/google/android/gms/wallet/MaskedWalletRequest.html", null, null ], [ "MaskedWalletRequest.Builder", "reference/com/google/android/gms/wallet/MaskedWalletRequest.Builder.html", null, null ], [ "NotifyTransactionStatusRequest", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.html", null, null ], [ "NotifyTransactionStatusRequest.Builder", "reference/com/google/android/gms/wallet/NotifyTransactionStatusRequest.Builder.html", null, null ], [ "OfferWalletObject", "reference/com/google/android/gms/wallet/OfferWalletObject.html", null, null ], [ "ProxyCard", "reference/com/google/android/gms/wallet/ProxyCard.html", null, null ], [ "WalletClient", "reference/com/google/android/gms/wallet/WalletClient.html", null, null ], [ "WalletConstants", "reference/com/google/android/gms/wallet/WalletConstants.html", null, null ] ] , null ] ] , null ] ] diff --git a/docs/html/reference/com/google/android/gms/R.attr.html b/docs/html/reference/com/google/android/gms/R.attr.html index d1de6fffb3999c9e3ac1aeb013b62732985a72f5..327780081832c4a0af67fa83fa07f91a90ef748c 100644 --- a/docs/html/reference/com/google/android/gms/R.attr.html +++ b/docs/html/reference/com/google/android/gms/R.attr.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />
A comma-separated list of the supported ad sizes. The sizes must be one of + BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, + WIDE_SKYSCRAPER, or <width>x<height>. + +
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +
This may also be a reference to a resource (in the form
+"@[package:]type:name
") or
+theme attribute (in the form
+"?[package:][type:]name
")
+containing a value of this type.
+
match_global_nicknames
demote_common_words
demote_rfc822_hostnames
A comma-separated list of the supported ad sizes.
The ad unit ID.
The URI of the content provider that the index should crawl to get the data for this @@ -822,91 +831,91 @@ Summary:
The ID of the corpus.
Indicates if documents from this corpus can be trimmed when the index reaches its quota.
The version of the corpus.
Whether or not global search is enabled for this corpus.
The content of this global search section.
The global search section ID for this mapping.
The default value for the global search section default_intent_action
.
The default value for the global search section default_intent_aactivity
.
The default value for the global search section default_intent_data
.
Whether or not global search is enabled for this app.
A localized string to identify this apps data within the global search app.
A localized string to describe this apps data within the global search apps settings.
This symbol is the offset where the cameraBearing
@@ -914,7 +923,7 @@ Summary:
This symbol is the offset where the cameraTargetLat
@@ -922,7 +931,7 @@ Summary:
This symbol is the offset where the cameraTargetLng
@@ -930,7 +939,7 @@ Summary:
This symbol is the offset where the cameraTilt
@@ -938,7 +947,7 @@ Summary:
This symbol is the offset where the cameraZoom
@@ -946,7 +955,7 @@ Summary:
This symbol is the offset where the mapType
@@ -954,7 +963,7 @@ Summary:
This symbol is the offset where the uiCompass
@@ -962,7 +971,7 @@ Summary:
This symbol is the offset where the uiRotateGestures
@@ -970,7 +979,7 @@ Summary:
This symbol is the offset where the uiScrollGestures
@@ -978,7 +987,7 @@ Summary:
This symbol is the offset where the uiTiltGestures
@@ -986,7 +995,7 @@ Summary:
This symbol is the offset where the uiZoomControls
@@ -994,7 +1003,7 @@ Summary:
This symbol is the offset where the uiZoomGestures
@@ -1002,7 +1011,7 @@ Summary:
This symbol is the offset where the useViewLifecycle
@@ -1010,7 +1019,7 @@ Summary:
This symbol is the offset where the zOrderOnTop
@@ -1018,63 +1027,63 @@ Summary:
The type of this section.
The format of the section.
The ID of the section.
Indicates if this section should support prefix matching.
Indicates if this section should not be indexed.
Subsection separator.
The weight of the section.
The name of this parameter.
The value of this parameter.
A comma-separated list of the supported ad sizes. The sizes must be one of + BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, + WIDE_SKYSCRAPER, or <width>x<height>. + + + +
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +
This may also be a reference to a resource (in the form
+"@[package:]type:name
") or
+theme attribute (in the form
+"?[package:][type:]name
")
+containing a value of this type.
+
This is a private symbol.
match_global_nicknames
demote_common_words
demote_rfc822_hostnames
This is a private symbol.
com.google.android.gms:adSize
com.google.android.gms:adSizes
com.google.android.gms:adUnitId
An interface for receiving notifications during the lifecycle of an ad. +
A listener for receiving notifications during the lifecycle of an ad.
diff --git a/docs/html/reference/com/google/android/gms/ads/AdRequest.Builder.html b/docs/html/reference/com/google/android/gms/ads/AdRequest.Builder.html index f1088d054e8469dfea5a09b894743c6e7b8df26a..0e367ac2cbc5c38c918f569fc7183e807efd7df2 100644 --- a/docs/html/reference/com/google/android/gms/ads/AdRequest.Builder.html +++ b/docs/html/reference/com/google/android/gms/ads/AdRequest.Builder.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />Set the user's birthday for targeting purposes. +
Sets the user's birthday for targeting purposes.
Set the user's gender for targeting purposes. This should be +
Sets the user's gender for targeting purposes. This should be
GENDER_MALE
, GENDER_FEMALE
, or GENDER_UNKNOWN
.
Sets the user's location for targeting purposes. +
An AdRequest
contains targeting information used to fetch an ad. Ad requests are created
using AdRequest.Builder
.
+
+ Publishers using DoubleClick for Publishers or Search Ads for Apps should use
+ PublisherAdRequest
or
+ SearchAdRequest
, respectively.
deviceId
for emulators to be used with addTestDevice(String)
.deviceId
for emulators to be used with
+ addTestDevice(String)
.The deviceId
for emulators to be used with addTestDevice(String)
.
+
The deviceId
for emulators to be used with
+ addTestDevice(String)
.
Returns the user's location targeting information. Returns null
if the location was
+ not set.
+
AdSize
with the specified object and indicates if they are equal.IAB wide skyscraper ad size (160x600 density-independent pixels). This size is currently not - supported by the Google Ads network; this is intended for mediation ad networks only. + supported by the Google Mobile Ads network; this is intended for mediation ad networks only.
Compares this AdSize
with the specified object and indicates if they are equal.
+
View
to display banner ads. The ad size and ad unit ID must be set
prior to calling loadAd(AdRequest)
.
+ Publishers using DoubleClick for Publishers or Search Ads for Apps should use
+ PublisherAdView
or
+ SearchAdView
, respectively.
+
Sample code:
public class MyActivity extends Activity { @@ -1482,145 +1488,152 @@ android.view.Viewint -SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN +SYSTEM_UI_FLAG_IMMERSIVE_STICKY int -SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION +SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN int -SYSTEM_UI_FLAG_LAYOUT_STABLE +SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION int -SYSTEM_UI_FLAG_LOW_PROFILE +SYSTEM_UI_FLAG_LAYOUT_STABLE int -SYSTEM_UI_FLAG_VISIBLE +SYSTEM_UI_FLAG_LOW_PROFILE int -SYSTEM_UI_LAYOUT_FLAGS +SYSTEM_UI_FLAG_VISIBLE int -TEXT_ALIGNMENT_CENTER +SYSTEM_UI_LAYOUT_FLAGS int -TEXT_ALIGNMENT_GRAVITY +TEXT_ALIGNMENT_CENTER int -TEXT_ALIGNMENT_INHERIT +TEXT_ALIGNMENT_GRAVITY int -TEXT_ALIGNMENT_TEXT_END +TEXT_ALIGNMENT_INHERIT int -TEXT_ALIGNMENT_TEXT_START +TEXT_ALIGNMENT_TEXT_END int -TEXT_ALIGNMENT_VIEW_END +TEXT_ALIGNMENT_TEXT_START int -TEXT_ALIGNMENT_VIEW_START +TEXT_ALIGNMENT_VIEW_END int -TEXT_DIRECTION_ANY_RTL +TEXT_ALIGNMENT_VIEW_START int -TEXT_DIRECTION_FIRST_STRONG +TEXT_DIRECTION_ANY_RTL int -TEXT_DIRECTION_INHERIT +TEXT_DIRECTION_FIRST_STRONG int -TEXT_DIRECTION_LOCALE +TEXT_DIRECTION_INHERIT int -TEXT_DIRECTION_LTR +TEXT_DIRECTION_LOCALE int -TEXT_DIRECTION_RTL +TEXT_DIRECTION_LTR + + + +int +TEXT_DIRECTION_RTL ++ - String VIEW_LOG_TAG + @@ -2338,7 +2351,7 @@ android.view.View int VISIBLE @@ -2320,7 +2333,7 @@ android.view.View loadAd(AdRequest adRequest) -Start loading the ad on a background thread.+Starts loading the ad on a background thread.@@ -2356,7 +2369,7 @@ android.view.View pause() -Pause any extra processing associated with this+AdView
.Pauses any extra processing associated with thisAdView
.@@ -2374,7 +2387,7 @@ android.view.View resume() - +@@ -13285,8 +13298,14 @@ containing a value of this type. setAdListener(AdListener adListener) -Set an+AdListener
for thisAdView
.Sets anAdListener
for thisAdView
.
Returns the size of the banner ad. -
Returns the size of the banner ad. Returns null
if setAdSize(AdSize)
hasn't been
+ called yet.
Returns the ad unit ID. -
Returns the ad unit ID.
Start loading the ad on a background thread.
Starts loading the ad on a background thread.
IllegalArgumentException + | IllegalStateException | If the size of the banner ad or the ad unit ID have not been set. | @@ -13385,7 +13409,7 @@ containing a value of this type.
---|
IllegalArgumentException + | IllegalStateException | If the size of the banner ad was already set. |
---|
IllegalArgumentException + | IllegalStateException | If the ad unit ID was already set. | Set an
+ AdListener for this InterstitialAd .Sets an
AdListener for this InterstitialAd . |
@@ -1466,7 +1471,7 @@ From class
---|
IllegalArgumentException + | IllegalStateException | If the the ad unit ID has not been set. |
---|
IllegalArgumentException + | IllegalStateException | If the ad unit ID was already set. |
---|
com.google.android.gms.ads.doubleclick.AppEventListener | +
A listener interface for app events triggered by ads. App events allow JavaScript within an ad to + trigger events in the application. The ad can trigger the app event with a name and optional + data. It is then up to the application to decide how to handle the event. +
+ + + + + +Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when an app event occurs.
+
+ |
Called when an app event occurs.
name + | The name of the app event. | +
---|---|
data + | Extra data included with the app event. The data can be null .
+ |
+
+ About Android | + Legal | + Support +
+java.lang.Object | +|
↳ | + +com.google.android.gms.ads.doubleclick.PublisherAdRequest.Builder | +
Builds a PublisherAdRequest
.
+
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a keyword for targeting purposes.
+
+ | |||||||||||
Add extra parameters to pass to a specific ad network adapter.
+
+ | |||||||||||
Causes a device to receive test ads.
+
+ | |||||||||||
Constructs
+
+ PublisherAdRequest with the specified attributes. | |||||||||||
Sets the user's birthday for targeting purposes.
+
+ | |||||||||||
Sets the user's gender for targeting purposes.
+
+ | |||||||||||
Sets the user's location for targeting purposes.
+
+ | |||||||||||
Enables manual impression reporting.
+
+ | |||||||||||
Sets an identifier for use in frequency capping, audience segmentation and targeting,
+ sequential ad rotation, and other audience-based ad delivery controls across devices.
+
+ | |||||||||||
This method allows you to specify whether you would like your app to be treated as
+ child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) -
+
+ http://business.ftc.gov/privacy-and-security/childrens-privacy.
+
+ |
+ [Expand]
+ Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+From class
+
+ java.lang.Object
+
+
+
+
+
+
+
+ |
Add a keyword for targeting purposes. +
Add extra parameters to pass to a specific ad network adapter. networkExtras
+ should be an instance of com.google.ads.mediation.NetworkExtras
, which is
+ provided by ad network adapters.
+
Causes a device to receive test ads. The deviceId
can be obtained by viewing the
+ logcat output after creating a new ad. For emulators, use
+ DEVICE_ID_EMULATOR
.
+
Constructs PublisherAdRequest
with the specified attributes.
+
Sets the user's birthday for targeting purposes. +
Sets the user's gender for targeting purposes. This should be
+ GENDER_MALE
, GENDER_FEMALE
, or GENDER_UNKNOWN
.
+
Sets the user's location for targeting purposes. +
Enables manual impression reporting. +
Sets an identifier for use in frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices. +
This method allows you to specify whether you would like your app to be treated as + child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - + + http://business.ftc.gov/privacy-and-security/childrens-privacy. +
+ If you set this method to true
, you will indicate that your app should be treated
+ as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
+
+ If you set this method to false
, you will indicate that your app should not be
+ treated as child-directed for purposes of the Children’s Online Privacy Protection Act
+ (COPPA).
+
+ If you do not set this method, ad requests will include no indication of how you would + like your app treated with respect to COPPA. +
+ By setting this method, you certify that this notification is accurate and you are + authorized to act on behalf of the owner of the app. You understand that abuse of this + setting may result in termination of your Google account. +
+ Note: it may take some time for this designation to be fully implemented in applicable + Google services. +
+ This designation will only apply to ad requests for which you have set this method.
tagForChildDirectedTreatment + | Set to true to indicate that your app should
+ be treated as child-directed. Set to false to indicate that your app
+ should not be treated as child-directed.
+ |
+
---|
+ About Android | + Legal | + Support +
+java.lang.Object | +|
↳ | + +com.google.android.gms.ads.doubleclick.PublisherAdRequest | +
A PublisherAdRequest
contains targeting information used to fetch an ad from DoubleClick
+ for Publishers. Ad requests are created using PublisherAdRequest.Builder
.
+
Nested Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PublisherAdRequest.Builder | +Builds a PublisherAdRequest . |
+
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | +ERROR_CODE_INTERNAL_ERROR | +Something happened internally; for instance, an invalid response was received from the ad + server. | +|||||||||
int | +ERROR_CODE_INVALID_REQUEST | +The ad request was invalid; for instance, the ad unit ID was incorrect. | +|||||||||
int | +ERROR_CODE_NETWORK_ERROR | +The ad request was unsuccessful due to network connectivity. | +|||||||||
int | +ERROR_CODE_NO_FILL | +The ad request was successful, but no ad was returned due to lack of ad inventory. | +|||||||||
int | +GENDER_FEMALE | +Female gender. | +|||||||||
int | +GENDER_MALE | +Male gender. | +|||||||||
int | +GENDER_UNKNOWN | +Unknown gender. | +
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEVICE_ID_EMULATOR | +The deviceId for emulators to be used with
+ addTestDevice(String) . |
+
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the user's birthday targeting information.
+
+ | |||||||||||
Returns the user's gender targeting information.
+
+ | |||||||||||
Returns targeting information keywords.
+
+ | |||||||||||
Returns the user's location targeting information.
+
+ | |||||||||||
Returns
+
+ true if manual impression reporting is enabled. | |||||||||||
Returns extra parameters to pass to a specific ad network adapter.
+
+ | |||||||||||
Returns the identifier used for frequency capping, audience segmentation and targeting,
+ sequential ad rotation, and other audience-based ad delivery controls across devices.
+
+ | |||||||||||
Returns
+
+ true if this device will receive test ads. |
+ [Expand]
+ Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+From class
+
+ java.lang.Object
+
+
+
+
+
+
+
+ |
Something happened internally; for instance, an invalid response was received from the ad + server. +
The ad request was invalid; for instance, the ad unit ID was incorrect. +
The ad request was unsuccessful due to network connectivity. +
The ad request was successful, but no ad was returned due to lack of ad inventory. +
Female gender.
Male gender.
Unknown gender.
The deviceId
for emulators to be used with
+ addTestDevice(String)
.
+
Returns the user's birthday targeting information. Returns null
if the birthday was
+ not set.
+
Returns the user's gender targeting information. Returns -1
if the gender was not
+ set.
+
Returns targeting information keywords. Returns an empty Set
if no
+ keywords were added.
+
Returns the user's location targeting information. Returns null
if the location was
+ not set.
+
Returns true
if manual impression reporting is enabled.
+
Returns extra parameters to pass to a specific ad network adapter. Ad network adapters
+ provide a NetworkExtras
class. Returns null
if no network extras of the
+ provided type were set.
+
Returns the identifier used for frequency capping, audience segmentation and targeting, + sequential ad rotation, and other audience-based ad delivery controls across devices. +
Returns true
if this device will receive test ads.
+
+ About Android | + Legal | + Support +
+java.lang.Object | +|||
↳ | + +android.view.View | +||
+ + | ↳ | + +android.view.ViewGroup | +|
+ + | + + | ↳ | + +com.google.android.gms.ads.doubleclick.PublisherAdView | +
The View
to display banner ads for use with DoubleClick for Publishers. The
+ ad size and ad unit ID must be set prior to calling loadAd(PublisherAdRequest)
.
+
+ Sample code: +
+ public class MyActivity extends Activity { + private PublisherAdView mPublisherAdView; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + LinearLayout layout = new LinearLayout(this); + layout.setOrientation(LinearLayout.VERTICAL); + + // Create a banner ad. The ad size and ad unit ID must be set before calling loadAd. + mPublisherAdView = new PublisherAdView(this); + mPublisherAdView.setAdSize(AdSize.SMART_BANNER); + mPublisherAdView.setAdUnitId("myAdUnitId"); + + // Create an ad request. + PublisherAdRequest.Builder publisherAdRequestBuilder = new PublisherAdRequest.Builder(); + + // Optionally populate the ad request builder. + publisherAdRequestBuilder.addTestDevice(PublisherAdRequest.DEVICE_ID_EMULATOR); + + // Add the PublisherAdView to the view hierarchy. + layout.addView(mPublisherAdView); + + // Start loading the ad. + mPublisherAdView.loadAd(PublisherAdRequestBuilder.build()); + + setContentView(layout); + } + + @Override + public void onResume() { + super.onResume(); + + // Resume the PublisherAdView. + mPublisherAdView.resume(); + } + + @Override + public void onPause() { + // Pause the PublisherAdView. + mPublisherAdView.pause(); + + super.onPause(); + } + + @Override + public void onDestroy() { + // Destroy the PublisherAdView. + mPublisherAdView.destroy(); + + super.onDestroy(); + } + }+ + + + + +
XML Attributes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
com.google.android.gms:adSizes | ++ setAdSizes(AdSize) + + | +A comma-separated list of the supported ad sizes. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
com.google.android.gms:adUnitId | ++ setAdUnitId(String) + + | +The ad unit ID. | +
+ [Expand]
+ Inherited Constants | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+ From class
+android.view.ViewGroup
+
+
+
+
+
+
+
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+ From class
+android.view.View
+
+
+
+
+
+
+
|
+ [Expand]
+ Inherited Fields | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+ From class
+android.view.View
+
+
+
+
+
+
+
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an
+
+ PublisherAdView from code. | |||||||||||
Construct a
+
+ PublisherAdView from an XML layout. | |||||||||||
Construct an
+
+ PublisherAdView from an XML layout. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Destroy the
+
+ PublisherAdView . | |||||||||||
Returns the
+
+ AdListener for this PublisherAdView . | |||||||||||
Returns the size of the currently displayed banner ad.
+
+ | |||||||||||
Returns the ad sizes supported by this
+
+ PublisherAdView . | |||||||||||
Returns the ad unit ID.
+
+ | |||||||||||
Returns the
+
+ AppEventListener for this PublisherAdView . | |||||||||||
Start loading the ad on a background thread.
+
+ | |||||||||||
Pause any extra processing associated with this
+
+ PublisherAdView . | |||||||||||
Record a manual impression.
+
+ | |||||||||||
Resume a
+
+ PublisherAdView after a previous call to pause() . | |||||||||||
Sets an
+
+ AdListener for this PublisherAdView . | |||||||||||
Sets the supported sizes of the banner ad.
+
+ | |||||||||||
Sets the ad unit ID.
+
+ | |||||||||||
Sets an
+
+ AppEventListener for this PublisherAdView . |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
+ [Expand]
+ Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+From class
+
+ android.view.ViewGroup
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From class
+
+ android.view.View
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From class
+
+ java.lang.Object
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From interface
+
+ android.graphics.drawable.Drawable.Callback
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From interface
+
+ android.view.KeyEvent.Callback
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From interface
+
+ android.view.ViewManager
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From interface
+
+ android.view.ViewParent
+
+
+
+
+
+
+
+ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+From interface
+
+ android.view.accessibility.AccessibilityEventSource
+
+
+
+
+
+
+
+ |
A comma-separated list of the supported ad sizes. The sizes must be one of + BANNER, FULL_BANNER, LEADERBOARD, MEDIUM_RECTANGLE, SMART_BANNER, + WIDE_SKYSCRAPER, or <width>x<height>. + + + +
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +
This may also be a reference to a resource (in the form
+"@[package:]type:name
") or
+theme attribute (in the form
+"?[package:][type:]name
")
+containing a value of this type.
+
This is a private symbol.
The ad unit ID. + + +
Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. +
This may also be a reference to a resource (in the form
+"@[package:]type:name
") or
+theme attribute (in the form
+"?[package:][type:]name
")
+containing a value of this type.
+
This is a private symbol.
Construct an PublisherAdView
from code.
context + | The Context the PublisherAdView is running in.
+ |
+
---|
Construct a PublisherAdView
from an XML layout.
+
Construct an PublisherAdView
from an XML layout.
+
Destroy the PublisherAdView
. This method should be called in the parent Activity's
+ onDestroy()
method. No other methods should be called on the
+ PublisherAdView
after destroy()
is called.
+
Returns the AdListener
for this PublisherAdView
.
+
Returns the size of the currently displayed banner ad. Returns null
if
+ setAdSizes(AdSize...)
hasn't been called yet. See getAdSizes()
for the ad sizes
+ supported by this PublisherAdView
.
+
Returns the ad sizes supported by this PublisherAdView
. See getAdSize()
for
+ the size of the currently displayed banner ad.
Returns the ad unit ID.
Returns the AppEventListener
for this PublisherAdView
.
+
Start loading the ad on a background thread.
IllegalStateException + | If the size of the banner ad or the ad unit ID have not been + set. + | +
---|
Pause any extra processing associated with this PublisherAdView
. This method should
+ be called in the parent Activity's onPause()
method.
+
Record a manual impression. setManualImpressionsEnabled(boolean)
+ must be enabled for this method to have any effect.
+
Resume a PublisherAdView
after a previous call to pause()
. This method should
+ be called in the parent Activity's onResume()
method.
+
Sets an AdListener
for this PublisherAdView
.
+
Sets the supported sizes of the banner ad. In most cases, only one ad size will be specified. +
+ Multiple ad sizes can be specified if your application can appropriately handle multiple
+ ad sizes. For example, your application might call getAdSize()
during the
+ onAdLoaded()
callback and change the layout according to the size of the ad
+ that was loaded. If multiple ad sizes are specified, the PublisherAdView
will
+ assume the size of the first ad size until an ad is loaded.
+
+ This method also immediately resizes the currently displayed ad, so calling this method after an + ad has been loaded is not recommended unless you know for certain that the content of the + ad will render correctly in the new ad size. This can be used if an ad needs to be resized + after it has been loaded. If more than one ad size is specified, the currently displayed ad + will be resized to the first ad size.
IllegalArgumentException + | If adSizes is null or empty.
+ |
+
---|
Sets the ad unit ID.
IllegalStateException + | If the ad unit ID was already set. + | +
---|
Sets an AppEventListener
for this PublisherAdView
.
+
+ About Android | + Legal | + Support +
+java.lang.Object | +|
↳ | + +com.google.android.gms.ads.doubleclick.PublisherInterstitialAd | +
Full-screen interstitial ads for use with DoubleClick for Publishers. The ad unit ID must be set
+ prior to calling loadAd(PublisherAdRequest)
.
+
+ Sample code: +
+ public class MyActivity extends Activity { + private PublisherInterstitialAd mPublisherInterstitialAd; + private Button mNextLevelButton; + private TextView mTextView; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + // Create an interstitial ad. When a natural transition in the app occurs (such as a + // level ending in a game), show the interstitial. In this simple example, the press of a + // button is used instead. + // + // If the button is clicked before the interstitial is loaded, the user should proceed to + // the next part of the app (in this case, the next level). + // + // If the interstitial is finished loading, the user will view the interstitial before + // proceeding. + mPublisherInterstitialAd = new PublisherInterstitialAd(this); + mPublisherInterstitialAd.setAdUnitId("myAdUnitId"); + + // Create an ad request. + PublisherAdRequest.Builder publisherAdRequestBuilder = new PublisherAdRequest.Builder(); + + // Optionally populate the ad request builder. + publisherAdRequestBuilder.addTestDevice(PublisherAdRequest.DEVICE_ID_EMULATOR); + + // Set an AdListener. + mPublisherInterstitialAd.setAdListener(new AdListener() { + @Override + public void onAdLoaded() { + Toast.makeText(MyActivity.this, + "The interstitial is loaded", Toast.LENGTH_SHORT).show(); + } + + @Override + public void onAdClosed() { + // Proceed to the next level. + goToNextLevel(); + } + }); + + // Start loading the ad now so that it is ready by the time the user is ready to go to + // the next level. + mPublisherInterstitialAd.loadAd(publisherAdRequestBuilder.build()); + + // Create the button to go to the next level. + mNextLevelButton = new Button(this); + mNextLevelButton.setText("Next Level"); + mNextLevelButton.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + // Show the interstitial if it is ready. Otherwise, proceed to the next level + // without ever showing it. + if (mPublisherInterstitialAd.isLoaded()) { + mPublisherInterstitialAd.show(); + } else { + // Proceed to the next level. + goToNextLevel(); + } + } + }); + + // Add the next level button to the layout. + LinearLayout layout = new LinearLayout(this); + layout.setOrientation(LinearLayout.VERTICAL); + layout.addView(mNextLevelButton); + + // Create a TextView to display the current level. + mTextView = new TextView(this); + mTextView.setText("Level 1"); + layout.addView(mTextView); + + setContentView(layout); + } + + public void goToNextLevel() { + // Show the next level (and disable the next level button since there are no more levels. + mNextLevelButton.setEnabled(false); + mTextView.setText("Level 2"); + } + }+ + + + + + +
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an
+
+ PublisherInterstitialAd . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
+
+ AdListener for this PublisherInterstitialAd . | |||||||||||
Returns the ad unit ID.
+
+ | |||||||||||
Returns the
+
+ AppEventListener for this PublisherInterstitialAd . | |||||||||||
Returns
+
+ true if the ad was successfully loaded and is ready to be shown. | |||||||||||
Start loading the ad on a background thread.
+
+ | |||||||||||
Sets an
+
+ AdListener for this PublisherInterstitialAd . | |||||||||||
Sets the ad unit ID.
+
+ | |||||||||||
Sets an
+
+ AppEventListener for this PublisherInterstitialAd . | |||||||||||
Show the interstitial ad.
+
+ |
+ [Expand]
+ Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+From class
+
+ java.lang.Object
+
+
+
+
+
+
+
+ |
Construct an PublisherInterstitialAd
.
+
Returns the AdListener
for this PublisherInterstitialAd
.
+
Returns the ad unit ID. +
Returns the AppEventListener
for this PublisherInterstitialAd
.
+
Returns true
if the ad was successfully loaded and is ready to be shown.
+
Start loading the ad on a background thread.
IllegalStateException + | If the the ad unit ID has not been set. + | +
---|
Sets an AdListener
for this PublisherInterstitialAd
.
+
Sets the ad unit ID.
IllegalStateException + | If the ad unit ID was already set. + | +
---|
Sets an AppEventListener
for this PublisherInterstitialAd
.
+
Show the interstitial ad. +
+ About Android | + Legal | + Support +
+AppEventListener | +A listener interface for app events triggered by ads. | +
PublisherAdRequest | +A PublisherAdRequest contains targeting information used to fetch an ad from DoubleClick
+ for Publishers. |
+
PublisherAdRequest.Builder | +Builds a PublisherAdRequest . |
+
PublisherAdView | +The View to display banner ads for use with DoubleClick for Publishers. |
+
PublisherInterstitialAd | +Full-screen interstitial ads for use with DoubleClick for Publishers. | +
+ About Android | + Legal | + Support +
+ANDROID_ID
in
- Settings.Secure
) when Google Play Services is available. Cases where
+ ERROR(/Settings.Secure)
) when Google Play Services is available. Cases where
Google Play Services is unavailable are indicated by a
GooglePlayServicesNotAvailableException
being thrown by getAdvertisingIdInfo().
@@ -1215,7 +1217,7 @@ From class
context - | Current Context (such as the current Activity ). |
+ Current Context (such as the current ERROR(/Activity) ). |
---|
An empty interface for use by Google Ads mediation adapters. There are intentionally no methods - to implement. +
An empty interface for use by Google Mobile Ads mediation adapters. There are intentionally no + methods to implement.
diff --git a/docs/html/reference/com/google/android/gms/ads/mediation/admob/AdMobExtras.html b/docs/html/reference/com/google/android/gms/ads/mediation/admob/AdMobExtras.html index 1befa172820f0ffb70704625d60501162b71d9b5..26552188ceabde26301384d7d8c76fe3b8b4fb0e 100644 --- a/docs/html/reference/com/google/android/gms/ads/mediation/admob/AdMobExtras.html +++ b/docs/html/reference/com/google/android/gms/ads/mediation/admob/AdMobExtras.html @@ -242,6 +242,8 @@ onkeyup="return search_changed(event, false, '/')" />NetworkExtras | -An empty interface for use by Google Ads mediation adapters. | +An empty interface for use by Google Mobile Ads mediation adapters. |
AdListener | -An interface for receiving notifications during the lifecycle of an ad. | +A listener for receiving notifications during the lifecycle of an ad. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AdRequest | diff --git a/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.Builder.html b/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.Builder.html new file mode 100644 index 0000000000000000000000000000000000000000..d1ddcd1fe5caa1b0a1784bb0e439cf4998969947 --- /dev/null +++ b/docs/html/reference/com/google/android/gms/ads/search/SearchAdRequest.Builder.html @@ -0,0 +1,2134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
java.lang.Object | +|
↳ | + +com.google.android.gms.ads.search.SearchAdRequest.Builder | +
Builds a SearchAdRequest
.
+
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add extra parameters to pass to a specific ad network adapter.
+
+ | |||||||||||
Causes a device to receive test ads.
+
+ | |||||||||||
Constructs a
+
+ SearchAdRequest with the specified attributes. | |||||||||||
Sets the color of the ad URL.
+
+ | |||||||||||
Sets the background color of the ad.
+
+ | |||||||||||
Sets a gradient for the ad background.
+
+ | |||||||||||
Sets the border color of the ad container.
+
+ | |||||||||||
Sets the thickness of the border in pixels around the ad container.
+
+ | |||||||||||
Sets the type of border around the ad container.
+
+ | |||||||||||
Sets the color of the call button when a call extension is shown.
+
+ | |||||||||||
Sets custom channels for the ad request.
+
+ | |||||||||||
Sets the color of the ad description.
+
+ | |||||||||||
Sets the font used to render the ad.
+
+ | |||||||||||
Sets the text color of the ad header.
+
+ | |||||||||||
Sets the font size of the header text in pixels.
+
+ | |||||||||||
Sets the user's location for targeting purposes.
+
+ | |||||||||||
Sets the query for requesting a search ad.
+
+ | |||||||||||
This method allows you to specify whether you would like your app to be treated as
+ child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) -
+
+ http://business.ftc.gov/privacy-and-security/childrens-privacy.
+
+ |
+ [Expand]
+ Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+From class
+
+ java.lang.Object
+
+
+
+
+
+
+
+ |
Add extra parameters to pass to a specific ad network adapter. networkExtras
+ should be an instance of com.google.ads.mediation.NetworkExtras
, which is
+ provided by ad network adapters.
+
Causes a device to receive test ads. The deviceId
can be obtained by viewing the
+ logcat output after creating a new ad. For emulators, use
+ DEVICE_ID_EMULATOR
.
+
Constructs a SearchAdRequest
with the specified attributes.
+
Sets the color of the ad URL. Transparency is not supported. rgb(int, int, int)
can be
+ used to specify this color.
+
Sets the background color of the ad. Calling this method will override any previous calls
+ to setBackgroundColor(int)
or setBackgroundGradient(int, int)
. Transparency is not
+ supported. rgb(int, int, int)
can be used to specify this color.
+
Sets a gradient for the ad background. Calling this method will override any previous
+ calls to setBackgroundColor(int)
or setBackgroundGradient(int, int)
. Transparency is
+ not supported. rgb(int, int, int)
can be used to specify these colors.
top + | The color of the gradient at the top of the ad. | +
---|---|
bottom + | The color of the gradient at the bottom of the ad. + | +
Sets the border color of the ad container. Transparency is not supported.
+ rgb(int, int, int)
can be used to specify this color. This setting is ignored if
+ setBorderType(int)
is set to BORDER_TYPE_NONE
.
+
Sets the thickness of the border in pixels around the ad container. This setting is
+ ignored if setBorderType(int)
is set to BORDER_TYPE_NONE
.
+
Sets the type of border around the ad container. This value must be one of
+ BORDER_TYPE_NONE
, BORDER_TYPE_DASHED
, BORDER_TYPE_DOTTED
,
+ BORDER_TYPE_SOLID
.
+
Sets the color of the call button when a call extension is shown. This value must be one
+ of CALL_BUTTON_COLOR_DARK
, CALL_BUTTON_COLOR_LIGHT
,
+ CALL_BUTTON_COLOR_MEDIUM
.
+
Sets custom channels for the ad request. Custom channels allow publishers to track the + performance of specific groups of ads. These custom channels need to created on the + AdSense website. Reports can then be created based on the channels.
channelIds + | A list of channel IDs separated by '+'. + | +
---|
Sets the color of the ad description. Transparency is not supported. rgb(int, int, int)
+ can be used to specify this color.
+
Sets the font used to render the ad. The same font is used in the header, the description
+ and the anchor. Fonts are specified using the same value that would be used in CSS (e.g.,
+ "arial"
).
+
Sets the text color of the ad header. Transparency is not supported. rgb(int, int, int)
+ can be used to specify this color.
+
Sets the font size of the header text in pixels. The font sizes for the description and + the anchor are determined from the header size. +
Sets the user's location for targeting purposes. +
Sets the query for requesting a search ad. The query must be set to receive an ad. +
This method allows you to specify whether you would like your app to be treated as + child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - + + http://business.ftc.gov/privacy-and-security/childrens-privacy. +
+ If you set this method to true
, you will indicate that your app should be treated
+ as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
+
+ If you set this method to false
, you will indicate that your app should not be
+ treated as child-directed for purposes of the Children’s Online Privacy Protection Act
+ (COPPA).
+
+ If you do not set this method, ad requests will include no indication of how you would + like your app treated with respect to COPPA. +
+ By setting this method, you certify that this notification is accurate and you are + authorized to act on behalf of the owner of the app. You understand that abuse of this + setting may result in termination of your Google account. +
+ Note: it may take some time for this designation to be fully implemented in applicable + Google services. +
+ This designation will only apply to ad requests for which you have set this method.
tagForChildDirectedTreatment + | Set to true to indicate that your app should
+ be treated as child-directed. Set to false to indicate that your app
+ should not be treated as child-directed.
+ |
+
---|
+ About Android | + Legal | + Support +
+java.lang.Object | +|
↳ | + +com.google.android.gms.ads.search.SearchAdRequest | +
A SearchAdRequest
contains targeting information used to fetch an ad from Search Ads for
+ Apps. Ad requests are created using SearchAdRequest.Builder
.
+