GoogleMobileAds. Api

Summary

Enumerations

enum
The position of the ad choices icon in ad space.
enum
Format of the ad being requested.
AdPosition {
Custom = -1,
Top = 0,
Bottom = 1,
TopLeft = 2,
TopRight = 3,
BottomLeft = 4,
BottomRight = 5,
Center = 6
}
enum
The position of the ad in screen space.
enum
The initialization state of the mediation adapter.
Gender {
Unknown = 0,
Male = 1,
Female = 2
}
enum
The gender of the user.
MediaAspectRatio {
Unknown = 0,
Any = 1,
Landscape = 2,
Portrait = 3,
Square = 4
}
enum
Media aspect ratio.
enum
Font Types for native templates.
enum
Defines the different orientations that a layout or device can have.
enum
Indicates the Publisher privacy treatment personalization states.
enum
This enum lets you 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
enum
Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

Classes

Error information about why an ad operation failed.

Error information about why the ad inspector failed.

An AdRequest contains targeting information used to fetch an ad.

The size of a banner ad.

The monetary value earned from an ad.

Response information for an individual ad network in an ad response.

An immutable snapshot of a mediation adapter's initialization status.

App open ads are used to display ads when users launch your app.

The preloader for app open ads.

Notifies changes in app foreground/background.

Interface for accessing and modifying application preference data (SharedPreferences on Android and NSUserDefaults on iOS).

Banner views occupy a spot within an app's layout.

An immutable snapshot of the Unity plugin's initialization status, categorized by mediation adapter.

A full page ad experience at natural transition points, such as a page change or an app launch.

The preloader for interstitial ads.

Error information about why an ad load operation failed.

The maximum ad content rating.

Contains logic that applies to the Google Mobile Ads SDK as a whole.

Ad options for configuring the view of native ads.

Native Overlay ads use the Native ad format to show overlays on top of the application.

Defines ID constants for templates to render native ads.

Style options for native templates.

Text style options for native templates.

Configuration for preloading ads.

Global configuration used for every AdRequest .

Information about an ad response.

Describes a reward credited to a user for interacting with rewarded ads.

Rewarded ads reward users with in-app items for interacting with video ads, playable ads, or surveys.

The preloader for rewarded ads.

Rewarded interstitial ads can serve without requiring the user to opt-in to viewing.

Options for rewarded ad types server-side verification callbacks.

Options for controlling video playback in supported ad formats.

Enumerations

AdChoicesPlacement

  
 AdChoicesPlacement 

The position of the ad choices icon in ad space.

Properties

Ad Choices icon in bottom left corner

Ad Choices icon in bottom right corner

Ad Choices icon in top left corner

Ad Choices icon in top right corner

AdFormat

  
 AdFormat 

Format of the ad being requested.

Properties

App open ad format.

Banner ad format.

Interstitial ad format.

Native ad format.

Rewarded ad format.

Rewarded interstitial ad format.

AdPosition

  
 AdPosition 

The position of the ad in screen space.

Properties

Bottom.

Bottom left.

Bottom right.

Center.

Custom.

Top

Top.

Top left.

Top right.

AdapterState

  
 AdapterState 

The initialization state of the mediation adapter.

Properties

The mediation adapter is not yet ready to service ad requests.

Adapters in this state are more likely than usual to no-fill.

The mediation adapter is ready to service ad requests.

Gender

  
 Gender 

The gender of the user.

Properties

Female.

Male.

Unknown.

MediaAspectRatio

  
 MediaAspectRatio 

Media aspect ratio.

Properties
Any

Any media aspect ratio.

Landscape media aspect ratio.

Portrait media aspect ratio.

Square media aspect ratio.

This is not a strict 1:1 aspect ratio.

Unknown media aspect ratio.

NativeTemplateFontStyle

  
 NativeTemplateFontStyle 

Font Types for native templates.

Properties

Bold.

Italic.

Monospace.

Default text.

Orientation

  
 Orientation 

Defines the different orientations that a layout or device can have.

Properties

Oriented landscape.

Oriented portrait.

PublisherPrivacyPersonalizationState

  
 PublisherPrivacyPersonalizationState 

Indicates the Publisher privacy treatment personalization states.

Properties

Indicates that the ad request should receive the default publisher privacy treatment.

Indicates that the ad request should receive the non-personalized publisher privacy treatment.

Indicates that the ad request should receive the personalized publisher privacy treatment.

TagForChildDirectedTreatment

  
 TagForChildDirectedTreatment 

This enum lets you 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 enum to True, you are indicating that your app should be treated as child-directed for purposes of the Children's Online Privacy Protection Act (COPPA).

If you set this enum to False, you are indicating that your app should not be treated as child-directed for purposes of the Children's Online Privacy Protection Act (COPPA).

If you don't set this enum, or set this enum to Unspecified, ad requests will include no indication of how you would like your app treated with respect to COPPA.

By using this enum, 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 can result in termination of your Google account.

Properties

False.

True.

Unspecified.

TagForUnderAgeOfConsent

  
 TagForUnderAgeOfConsent 

Indicates the publisher specified that the ad request should receive treatment for users in the European Economic Area (EEA) under the age of consent.

Properties

False.

True.

Unspecified.

Create a Mobile Website
View Site in Mobile | Classic
Share by: