Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Feature policy settings for simid iframe (e.g. allowing gyroscope is currently not possible)

76 views
Skip to first unread message

Damiano Rühl

unread,
May 17, 2023, 8:11:58 AM5/17/23
to Interactive Media Ads SDK
Currently imasdk makes it impossible to use some browser featues like the gyroscope inside SIMID ads.
The reason is that the iframe which is loading the bridge html file sets an empty "allow" attribute.
Even if the website owner sets the Permissions-Policy http header to allow for example gyroscope for all domains (Permissions-Policy: gyroscope=*), the gyroscope can not be used inside a SIMID ad.

Instead it would be great if either the brigde iframe is just not adding any "allow" attribute, or if there would be any setting in imasdk to control the content of that allow attribute.

IMA SDK

unread,
May 18, 2023, 4:32:26 AM5/18/23
to ima...@googlegroups.com
Hi Damiano,
 
I understand that you'd like to request for the feature you mentioned. With that said, kindly provide us with your business use-case why you need the said feature.
 
Looking forward to your response.
 
Regards,
 
Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2lInyj:ref

Damiano Rühl

unread,
May 24, 2023, 11:11:34 AM5/24/23
to Interactive Media Ads SDK
We would like to use SIMID to create a user engaging interactive ad format which is using the phones gyroscope sensor to move some branding elements which are shown in front of the video. (e.g. a 3d object which can be rotated by moving the device)
Unfortantely currently we can not run this ad format with publishers which are using the ImaSdk, because it specifically disallows the usage of the gyroscope inside the SIMID iframe by adding an empty "allow" attribute to it.

IMA SDK

unread,
May 26, 2023, 7:15:40 AM5/26/23
to ima...@googlegroups.com

Hi Damiano,

Thank you for providing the requested information. I have already raised a request for this feature. In the meantime, kindly keep an eye on our blog(https://ads-developers.googleblog.com/search/label/ima_sdk) for any updates regarding this. 

This message is in relation to case "ref:_00D1U1174p._5004Q2lInyj:ref"

Thanks,

 
Google Logo IMA SDK Team


IMA SDK

unread,
May 29, 2023, 5:10:24 AM5/29/23
to ima...@googlegroups.com

Hi Damiano,

The team is asking if you could share a sample ad that requires the gyroscope, so we can better understand and implement the FR.



Looking forward to your response. 

This message is in relation to case "ref:_00D1U1174p._5004Q2lInyj:ref"


Thanks,
 
Google Logo IMA SDK Team


Damiano Rühl

unread,
Jun 26, 2023, 8:44:17 AM6/26/23
to Interactive Media Ads SDK
Hi IMA SDK Team,

We would like to use multiple browser features in the future which need to be allowed by the FeaturePolicy.
So I created an example SIMID which can be used to test all of these features.
Our priority at the moment lies in the the Device Orientation.

All these features are Mobile features, so they will only work when opened with an Android device (chrome):

Here is the example SIMID creative: https://assets-dev.redpineapplemedia.com/vast/simid-gyroscope-test/simid-creative/simid.html

Here is an example preview how it looks inside a cross domain iframe when the features are allowed by the FeaturePolicy:
https://assets.redpineapplemedia.com/vast/simid-gyroscope-test/preview-allowed.html

Here is the vast.xml file which contains this SIMID creative:
https://assets.redpineapplemedia.com/vast/simid-gyroscope-test/vast.xml

And here is the a link to the IMA HTML5 Video Suite Inspector using this vast:
https://googleads.github.io/googleads-ima-html5/vsi/?tag=https%253A%252F%252Fassets.redpineapplemedia.com%252Fvast%252Fsimid-gyroscope-test%252Fvast.xml

As you can see when using ImaSdk none of these features is allowed by the FeaturePolicy.

Please let me know if I can help with anything else.

Regards
Damiano

IMA SDK

unread,
Jun 26, 2023, 11:10:38 AM6/26/23
to ima...@googlegroups.com

Hello Damiano,

Thank you for sharing the requested information. With this, allow me to communicate this again to our team. You may continue to monitor our release notes and blog for future updates.

Reference links:

Reply all
Reply to author
Forward
0 new messages