adConfig method

void adConfig(
  1. AdConfigParameters parameters
)

Communicates the app's current configuration to the Ad Placement API.

The Ad Placement API can use this to tune the way it preloads ads and to filter the kinds of ads it requests so they're suitable (eg. video ads that require sound).

Call this function as soon as the sound state of your game changes, as the Ad Placement API may have to request new creatives, and this gives it the maximum amount of time to do so. See sound in AdConfigParameters.

Implementation

void adConfig(
  AdConfigParameters parameters,
) {
  adsbygoogle.adConfig(parameters);
}