Samsung tizen web app: The "url" query string parameter of pubads inside iframe

362 views
Skip to first unread message

chiento

unread,
Aug 31, 2020, 5:59:48 AM8/31/20
to Interactive Media Ads SDK
Hi IMA SDK Team,

I try to display the pubads sample inside an iframe that is embbed in an tizen web application, but the "url" query parameter value is always null as the image below:

ads-error.jpg

If i run the ads sample on PC browsers, it works normally:  
ads-rr.jpg
Could you please explain that issue and is there any way to set the "url" query parameter value to " https://googleads.github.io/videojs-ima/examples/simple/ ".
- Ads sample:   https://googleads.github.io/videojs-ima/examples/simple/
- Ads sample source code:  https://github.com/googleads/videojs-ima/tree/master/examples/simple  
- Tizen web application source code:
https://github.com/chiento86/tizen-demo-app   

Thank you very much for your help.
Chiento


IMA SDK

unread,
Aug 31, 2020, 3:54:13 PM8/31/20
to chie...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for reaching out to us. The reason why the IMA SDK is returning null is because it cannot access the main parent page url. For the IMA SDK to return the correct url, it must be placed in the main parent page level. We would recommend you to render the ads on the main page level.

Regards,
Arnaud Casame
IMA SDK Team


ref:_00D1U1174p._5004Q23vuAe:ref

Mikko Koponen

unread,
Dec 2, 2020, 10:07:11 AM12/2/20
to Interactive Media Ads SDK
(Chiming in, because I have also failed at integrating IMA into a Tizen Web Application.)

Unfortunately, placing the IMA SDK into the main parent page level will not solve anything. This is because the Tizen Web Application's html and js are bundled into the installable app. This means that it's html entrypoint is a file on the Tizen Device. So the root level page returns "file:///index.html" as window.location.href, causing "url" to remain null. 

IMA SDK

unread,
Dec 2, 2020, 1:29:14 PM12/2/20
to mikko....@gmail.com, ima...@googlegroups.com
Hi Mikko,

Could you send us a sample Tizen project which replicates this issue and give us background in what is necessary to run the project? Could you give us a sense of how popular this feature would be?

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 


ref:_00D1U1174p._5004Q23vuAe:ref

Mikko Koponen

unread,
Dec 3, 2020, 8:22:40 AM12/3/20
to Interactive Media Ads SDK
Here's a minimal example of a Tizen Web Application to show url=null. 


The readme includes some instructions to setting up a Tizen development environment in order to be able to run the project. It's a "rather" heavy process. 

I encountered this while setting up IMA and AdManager to serve ads into a Tizen Smart TV environment. Specifically, I'm attempting to get AdExchange to supply ads. 
I AM able to get valid ads from non-programmatic channels such as a test VAST-response configured into our AdManager, even when the url-parameter is null, but AdX never returns ads for Tizen. The same codebase, when run in a browser, does receive ads from AdX. 
I'm not entirely sure that fixing this parameter is all that would be required to make AdX supply ads for Tizen, since the parameters with which IMA calls AdManager are very different when running the code in browser and when running it in Tizen. 
In our production code, I added a description_url pointing to our web-content, but that did not help matters.

Do you know if getting AdX to participate in supplying ads into Tizen through IMA is even possible? 

As for the popularity of any of this, I wouldn't know. 

IMA SDK

unread,
Dec 3, 2020, 1:09:24 PM12/3/20
to mikko....@gmail.com, ima...@googlegroups.com
Hi Mikko,

Thank you for giving us your example app. I will raise your question with the rest of my team. We will get back to you as soon as possible.

IMA SDK

unread,
May 25, 2022, 3:53:01 PM5/25/22
to mikko....@gmail.com, ima...@googlegroups.com
Hello Mikko,

This is Jackson from the IMA SDK DevRel team. Sorry for the extreme delay in responding to your thread.

I wanted to let you know, the IMA team is looking into a way for is_lat= and rdid= to be able to be passed manually on Tizen tvs. Would this improve your ability to return AdX ads?

If not, can you help me determine what behavior change would be necessary for this?

Thank you,
Jackson
IMA SDK team

 

ref:_00D1U1174p._5004Q23vuAe:ref
Reply all
Reply to author
Forward
0 new messages