GoogleMobileAds.Api

Summary

Enumerations

AdChoicesPlacement{
  TopRightCorner = 0,
  TopLeftCorner = 1,
  BottomRightCorner = 2,
  BottomLeftCorner = 3
}
enum
The position of the ad choices icon in ad space.
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.
MediaAspectRatio{
  Unknown = 0,
  Any = 1,
  Landscape = 2,
  Portrait = 3,
  Square = 4
}
enum
Media aspect ratio.
NativeTemplateFontStyle{
  Normal = 0,
  Bold = 1,
  Italic = 2,
  Monospace = 3
}
enum
Font Types for native templates.
Orientation{
  Landscape = 1,
  Portrait = 2
}
enum
Defines the different orientations that a layout or device can have.
PublisherPrivacyPersonalizationState{
  Default = 0,
  Enabled = 1,
  Disabled = 2
}
enum
Indicates the Publisher privacy treatment personalization states.
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.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 application 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.NativeAdOptions

Ad options for configuring the view of native ads.

GoogleMobileAds.Api.NativeOverlayAd

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

GoogleMobileAds.Api.NativeTemplateId

NativeTemplateID defines the Templates that can be used to render Native ads.

GoogleMobileAds.Api.NativeTemplateStyle

Style options for native templates.

GoogleMobileAds.Api.NativeTemplateTextStyle

Text style options for native templates.

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.

GoogleMobileAds.Api.VideoOptions

Options for controlling video playback in supported ad formats.

Namespaces

GoogleMobileAds.Api.AdManager
GoogleMobileAds.Api.Mediation

Enumerations

AdChoicesPlacement

 AdChoicesPlacement

The position of the ad choices icon in ad space.

Properties
BottomLeftCorner

Ad Choices icon in bottom left corner

BottomRightCorner

Ad Choices icon in bottom right corner

TopLeftCorner

Ad Choices icon in top left corner

TopRightCorner

Ad Choices icon in top right corner

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.

MediaAspectRatio

 MediaAspectRatio

Media aspect ratio.

Properties
Any

Any media aspect ratio.

Landscape

Landscape media aspect ratio.

Portrait

Portrait media aspect ratio.

Square

Square media aspect ratio.

This is not a strict 1:1 aspect ratio.

Unknown

Unknown media aspect ratio.

NativeTemplateFontStyle

 NativeTemplateFontStyle

Font Types for native templates.

Properties
Bold

Bold.

Italic

Italic.

Monospace

Monospace.

Normal

Default text.

Orientation

 Orientation

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

Properties
Landscape

Oriented landscape.

Portrait

Oriented portrait.

PublisherPrivacyPersonalizationState

 PublisherPrivacyPersonalizationState

Indicates the Publisher privacy treatment personalization states.

Properties
Default

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

Disabled

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

Enabled

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

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.