Disable VPAID ads in Flash?

132 views
Skip to first unread message

Arnaud Leyder

unread,
Nov 7, 2016, 7:13:28 AM11/7/16
to Interactive Media Ads SDK
IMA Flash SDK.
In the HTML5 IMA SDK I can disable VPAID ads within the player by setting google.ima.ImaSdkSettings.VpaidMode.DISABLED (through setVpaidMode).
Is there an equivalent in Flash IMA SDK? I tried to look at the docs but could only find reference to handshakeVersion in AdsManager interface which does not seem to do what I want. 

Can VPAID ads be disbaled within the Flash IMA SDK? if so how?

Thanks
Arnaud

Chris Feldman

unread,
Nov 7, 2016, 10:07:50 AM11/7/16
to Interactive Media Ads SDK
Hi Arnaud,

For Flash, you do want to use the handShakeVersion method to disable VPAID.

Calling handShakeVersion on your adsManager tells the SDK what version of VPAID your video player supports. If your player doesn't support VPAID ads, you can call handShakeVersion("1.0"), which will effectively disable VPAID ads. This can be seen here, in the Get Started Guide for IMA Flash under step 3 of the Displaying Ads section.

Thank you,
Chris Feldman
IMA SDK Team

Arnaud Leyder

unread,
Nov 8, 2016, 6:34:39 AM11/8/16
to ima...@googlegroups.com
Sorry if I was not clear about my request.
Our player does support VPAID in Flash. For example if I input into our player this adTag: https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinearvpaid&correlator= the ad will be displayed.
But what I want to achieve is actually to prevent this. So my question is more about a potential setting within the IMA that would discard the Flash VPAID ad if detected and then fire an ad error event (this is what the google.ima.ImaSdkSettings.VpaidMode.DISABLED does in HTML5 IMA SDK).
I can do what I want  by calling contentType and if this is "application/x-shockwave-flash" I can then call adsManager.stop() but I was wondering if there was a "simpler/cleaner" way to achieve this.

Arnaud
--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/l64DTvCTDtQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Chris Feldman (IMA SDK Team)

unread,
Nov 8, 2016, 12:28:43 PM11/8/16
to Interactive Media Ads SDK
Hi Arnaud,

Thank you for clarifying. This is not currently supported in the Flash SDK. If your current solution is working, I suggest that you continue using that implementation.

Best,
Chris Feldman
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages