Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.PreloadConfiguration
Configuration for preloading ads.
Summary
Public attributes
|
AdUnitId
|
string
The ad unit ID of the ad to preload.
|
BufferSize
|
uint
The maximum amount of ads buffered for this configuration.
|
Format
|
The ad format of the ad to preload.
|
Request
|
The ad request to preload.
|
Public attributes
AdUnitId
string AdUnitId
The ad unit ID of the ad to preload.
BufferSize
uint BufferSize
The maximum amount of ads buffered for this configuration.
AdFormat Format
The ad format of the ad to preload.
Request
AdRequest Request
The ad request to preload.
Public functions
PreloadConfiguration
PreloadConfiguration()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-07 UTC."],[[["The `PreloadConfiguration` class is used to configure the preloading of ads in the Google Mobile Ads API."],["You can specify the `AdUnitId`, which is a string representing the unique identifier of the ad to be preloaded."],["The `BufferSize` attribute sets the maximum number of ads that can be stored in the buffer for a given configuration."],["`Format` determines the ad format, such as banner or interstitial, of the ads to be preloaded."],["`Request` allows for specifying the ad request to use when preloading ads, which is configured via the `AdRequest` object."]]],["The `PreloadConfiguration` class manages settings for preloading ads. Key attributes include `AdUnitId` (the ad's ID), `BufferSize` (the maximum number of buffered ads), `Format` (the ad's format), and `Request` (the ad request). This class provides two constructors: a default constructor and another to copy an existing `PreloadConfiguration`. These settings determine what ads are preloaded and how they are handled.\n"]]