GoogleMobileAds.Api

Summary

Enumerations

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.
AdapterState{
  NotReady = 0,
  Ready = 1
}
enum
The initialization state of the mediation adapter.
Gender{
  Unknown = 0,
  Male = 1,
  Female = 2
}
enum
The gender of the user.
Orientation{
  Landscape = 1,
  Portrait = 2
}
enum
Defines the different orientations that a layout or device can have.
TagForChildDirectedTreatment{
  Unspecified = -1,
  False = 0,
  True = 1
}
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
TagForUnderAgeOfConsent{
  Unspecified = -1,
  False = 0,
  True = 1
}
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

GoogleMobileAds.Api.AdError

Error information about why an ad operation failed.

GoogleMobileAds.Api.AdErrorEventArgs
GoogleMobileAds.Api.AdFailedToLoadEventArgs
GoogleMobileAds.Api.AdInspectorError

Error information about why the ad inspector failed.

GoogleMobileAds.Api.AdRequest

An AdRequest contains targeting information used to fetch an ad.

GoogleMobileAds.Api.AdSize

The size of a banner ad.

GoogleMobileAds.Api.AdValue

The monetary value earned from an ad.

GoogleMobileAds.Api.AdValueEventArgs

Event args for a paid event.

GoogleMobileAds.Api.AdapterResponseInfo

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

GoogleMobileAds.Api.AdapterStatus

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

GoogleMobileAds.Api.AppOpenAd

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

GoogleMobileAds.Api.AppStateEventNotifier

Notifies changes in app foreground/background.

GoogleMobileAds.Api.ApplicationPreferences

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

GoogleMobileAds.Api.BannerView

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

GoogleMobileAds.Api.InitializationStatus

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

GoogleMobileAds.Api.InterstitialAd

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

GoogleMobileAds.Api.LoadAdError

Error information about why an ad load operation failed.

GoogleMobileAds.Api.MaxAdContentRating

The maximum ad content rating.

GoogleMobileAds.Api.MobileAds

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

GoogleMobileAds.Api.RequestConfiguration

Global configuration used for every AdRequest.

GoogleMobileAds.Api.ResponseInfo

Information about an ad response.

GoogleMobileAds.Api.Reward

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

GoogleMobileAds.Api.RewardedAd

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

GoogleMobileAds.Api.RewardedInterstitialAd

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

GoogleMobileAds.Api.ServerSideVerificationOptions

Options for rewarded ad types server-side verification callbacks.

Namespaces

GoogleMobileAds.Api.AdManager
GoogleMobileAds.Api.Mediation

Enumerations

AdPosition

 AdPosition

The position of the ad in screen space.

Properties
Bottom

Bottom.

BottomLeft

Bottom left.

BottomRight

Bottom right.

Center

Center.

Custom

Custom.

Top

Top.

TopLeft

Top left.

TopRight

Top right.

AdapterState

 AdapterState

The initialization state of the mediation adapter.

Properties
NotReady

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

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

Ready

The mediation adapter is ready to service ad requests.

Gender

 Gender

The gender of the user.

Properties
Female

Female.

Male

Male.

Unknown

Unknown.

Orientation

 Orientation

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

Properties
Landscape

Oriented landscape.

Portrait

Oriented portrait.

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

False.

True

True.

Unspecified

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

False.

True

True.

Unspecified

Unspecified.