Skip to content

lib-exoplayer-ima skip ad functionality no longer supported by IMA #913

Open
@strangesource

Description

@strangesource

Version

Media3 1.2.0

More version details

not version dependent

Devices that reproduce the issue

any

Devices that do not reproduce the issue

none

Reproducible in the demo app?

Yes

Reproduction steps

Very coarse steps, happy to provide more detail if needed:

  • Extend sample to use lib-exoplayer-ima extension without an adViewGroup in order to use createAudioAdDisplayContainer
  • schedule client side skippable ad, e.g. https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_preroll_skippable&sz=640x480&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=
  • play the ad until it is in skippable state (5 seconds for the sample tag)
  • call skipAd

Expected result

The ad should be skipped. The documentation on skipAd states that this should only be used for audio only ads.

* Skips the current ad.
*
* <p>This method is intended for apps that play audio-only ads and so need to provide their own
* UI for users to skip skippable ads. Apps showing video ads should not call this method, as the
* IMA SDK provides the UI to skip ads in the ad view group passed via {@link AdViewProvider}.
*/

In the past this also worked for non-audio only ads but given the documentation I guess it's intended that it does not work if a view is present.

The root cause for this behaviour change is a change on IMA side, see (1, 2) for reference.

Actual result

Ad does not skip

Media

Not dependent on main content, as skippable ad, https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_preroll_skippable&sz=640x480&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator= can be used.

Bug Report

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions