Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.
Api.
PreloadConfiguration
Configuration for preloading ads.
Summary
Constructors and Destructors
string
The ad unit ID of the ad to preload.
uint
The maximum amount of ads buffered for this configuration.
The ad format of the ad to preload.
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-08-20 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-08-20 UTC."],[],["`PreloadConfiguration` allows setting up how ads are preloaded. Key attributes include `AdUnitId` (specifying the ad unit), `BufferSize` (setting the maximum number of buffered ads), `Format` (defining the ad format), and `Request` (defining the ad request). There are two constructors: a default one, and another that takes a `PreloadConfiguration` object. These attributes are used to manage and control the preloading behavior of ads.\n"]]