Low quality video ads

195 views
Skip to first unread message

Jason Dhindsa

unread,
Jun 19, 2020, 4:51:27 PM6/19/20
to Interactive Media Ads SDK
Hello,

I am currently integrating the IMA SDK into my video player iOS and tvOS applications and have noticed that when I set the IMAAdsRenderingSettings' bitrate property to kIMAAutodetectBitrate, I'm getting ads in a very low video quality and can't figure out why.  As a test, I even set the bitrate property to a high number such as 6,000 and when I receive 3 ads back the first one will play in high quality (~5000 kbps) but the subsequent ones will play in lower quality.

I can't figure out what the IMA SDK is doing as far as determining what the bitrate should be.  Can someone advise?

The issue is related to the tvOS platform more so than iOS.

Thank you,
Jason

IMA SDK

unread,
Jun 20, 2020, 12:03:10 AM6/20/20
to jasond...@gmail.com, ima...@googlegroups.com
Hi Jason,

Thank you for reaching out to us. The
bitrate when set to a value, this value is the maximum recommended bitrate. The value is in kbit/s. The SDK will pick media with bitrate below the specified max, or the closest bitrate if there is no media with smaller bitrate found. When you set your bitrate to the default value, |kIMAAutodetectBitrate|, it means the bitrate will be selected by the SDK, using the currently detected network speed (cellular or Wi-Fi). It sounds like between the first and the subsequent requests your network quality dropped to a level that lead the SDK to pick a media file which bitrate is low enough. I would also recommend that you monitor the subsequent ads' VAST XML as they might not contain any media file that would deliver a high quality video on tvOS.

Regards,
Arnaud Casame
IMA SDK Team


ref:_00D1U1174p._5004Q217t54:ref

Geethu Rajasekharan

unread,
Feb 3, 2025, 8:43:13 AMFeb 3
to Interactive Media Ads SDK
Hi,

I had figured out that the bitrate field is a maximum bitrate setting. However the core problem of forcing the SDK to select the highest possible bitrate(Or any acceptable resolution variant) still remains. How can we get the IMA SDK to do this?

Thanks and Regards,
Geethu

IMA SDK

unread,
Feb 20, 2025, 7:43:09 AMFeb 20
to geeth...@gmail.com, ima...@googlegroups.com

Hi Geethu,

Thank you for contacting the IMA SDK support team.

As suggested earlier, the SDK selects the optimal bitrate based on the device's network conditions.The value is in kbit/s. The SDK will pick media with bitrate below the specified max, or the closest bitrate if there is no media with lower bitrate found. Default value, -1, means the SDK selects the maximum bitrate. Setting the maximum bitrate using "AdsRenderingSettings " is the only way to control this behavior and ensure that the SDK respects your desired bitrate limit.

Please ensure that only one thread is maintained for same query.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-02-20 07:42:58Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q0217t54:ref" (ADR-00039303)



Kaue Castro

unread,
Feb 24, 2025, 4:12:41 PMFeb 24
to Interactive Media Ads SDK
Hello,

Does the mimeTypes property follow the same logic? I'm testing the bitrate and mimeType in some low end devices (example: LG 2017 and 2018) and trying to find ways to avoid buffering. I'm setting the bitrate to a lower value, but would like to ask if setting the mimeTypes to only mp4 can improve the performance as well. Also, what are the impactes of it? I mean, it really helps? Should we ask the ad provider to inject the proper format?

Kaue.

IMA SDK

unread,
Feb 24, 2025, 9:38:19 PMFeb 24
to ima...@googlegroups.com
Hi,

This issue is identified, where IMA is choosing the lowest bitrate media file, even in cases where a higher bitrate should be feasible. We are looking into a fix for the issue and I will let you know on this thread about any progress with the issue.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-02-24 21:38:12Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q0217t54:ref" (ADR-00039303)



IMA SDK

unread,
May 26, 2025, 9:12:32 PM (12 days ago) May 26
to ima...@googlegroups.com
 Hi,

This issue has been fixed, Kindly check and verify.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-05-26 20:12:20Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q0217t54:ref" (ADR-00039303)



Reply all
Reply to author
Forward
0 new messages