Enable Google DAI playback (Android)

Enable ad playback with the Google Dynamic Ad Insertion ad client in an Android app.


After adding the Google IMA Dynamic Ad Insertion (DAI) SDK to your app and acquiring the required items listed in the Requirements section, you can enable Google DAI ad playback in your Android app.



Requirements

  • All JWP Android Advertising requirements
  • Google DAI dependency
  • All Google account information listed in the following table

    Property Description
    adTagParameters Map<String, String> Limited set of key-value pairs that enable the player to override default information with custom information during a stream request

    These key-value pairs should be properly formatted without encoding.
    apiKey String Stream request API key
    assetKey String Stream asset key, used for live streams

    You can find this ID in your Google Ad Manager portal. Ask your Google representative for assistance locating this ID.
    cmsID String Content management system ID of the video, used for video on demand

    You can find this ID in your Google Ad Manager portal. Ask your Google representative for assistance locating this ID.
    videoID String Identifier of the DAI video to be displayed, used for video on demand

    You can find this ID in your Google Ad Manager portal. Ask your Google representative for assistance locating this ID.


Specify ad content for a single playlist item

Use the following recipes to set up dynamic ad insertion for a VOD or live stream playlist item.



FAQs

Which features are not supported with Google DAI?

The following features are not supported with Google DAI:



© 2007-2024 Longtail Ad Solutions, Inc.