Ad Integration
Introduction
The SDK supports serving ads with Google’s DoubleClick for Publishers (DFP) service.
Usage
- Add Google IMA SDK for iOS to the project either by CocoaPods or manually as it is described in IMA SDK’s developer documentation.
- Generate Google IMA tag on DFP Dashboard under Inventory/units.
- Create a
USUstreamPlayerinstance. - Configure ad serving using
configureAdServiceWithGoogleIMATag:customMetadata:minAdFreeTimeInterval:allowPreroll:orconfigureAdServiceWithGoogleIMATag:customMetadata:cuePoints:allowPreroll:.