setup static method

Future<void> setup(
  1. StorytellerGAMModuleConfiguration configuration
)

Configure the GAM module on the native SDKs.

The configuration requires an adUnit callback that receives StorytellerAdRequestInfo and returns the appropriate ad unit ID. This allows apps to inspect each ad request and return different ad units per placement, category, or experiment.

Implementation

static Future<void> setup(StorytellerGAMModuleConfiguration configuration) {
  return _platform.setupGamModule(configuration);
}