[IMA SDK IOS] Double URL Encoding when Ad Tag URL Contains Maros

10 views
Skip to first unread message

Miftah Fathudin

unread,
Jun 9, 2025, 2:10:04 AMJun 9
to Interactive Media Ads SDK
Hi IMA SDK Team,

We noticed that the IMA SDK for IOS is doing url encoding to the query parameters whenever there are macros in the ad tag url. Is this something expected? Because it made some of the existing query parameters invalid and even made the ad request to fail. We don't see this behavior in the IMA SDK for Android and HTML5 though. Is there a plan to fix this? Thank you!

Sample URL: 
https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/vmap_ad_samples&sz=640x480&cust_params=sample_ar%3Dpreonly&ciu_szs=300x250%2C728x90&gdfp_req=1&ad_rule=1&output=vmap&unviewed_position_start=1&env=vp&impl=s&correlator=&msid=[APPBUNDLE]&sample_encoded_value=https%3A%2F%2Fvidio.com

URL requested by the SDK:
https://pubads.g.doubleclick.net/gampad/ads?iu=%2F21775744923%2Fexternal%2Fvmap_ad_samples&sz=640x480&cust_params=sample_ar%253Dpreonly&ciu_szs=300x250%252C728x90&gdfp_req=1&ad_rule=1&output=xml_vmap1&unviewed_position_start=1&env=vp&correlator=2382248376788010&msid=com.kmk.vidio&sample_encoded_value=https%253A%252F%252Fvidio.com&sdkv=h.3.453.0%2Fn.ios.3.23.0%2Fcom.kmk.vidio&osd=2&frm=0&vis=1&sdr=1&hl=en&attmas=denied&idtype=idfa&rdid=00000000-0000-0000-0000-000000000000&paid=3E328B81-2160-4568-9011-10CA08B03B8F&vid1=A7BD9831-3AD2-F407-1EA3-4090945F88A9&paid2=B73E53AB-4653-4F28-96DB-2FC2B8F32E0F&paopt=0&vid2=E5D38555-C1F1-AEF3-9093-565DB8B9ED0F&ms=11&is_amp=0&js=ima-ios.3.23.0&an=com.kmk.vidio&u_so=l&ctv=0&sdki=445&ptt=20&sdk_apis=7%2C8&omid_p=Google1%2Fios.3.23.0&sid=42DA33D7-8FCA-43A1-B61B-E5D0FB55BD54&a3p=CowCEgYIARAHGAAaBggBEAAYACLaAUE0QUFBQkpOckItTDRaZUJ0eWdiMVB0V2NUbk9OS3RBSzBuQUpRdGREQm43akoxZjFMbGVfeFZvVDh1T3JVVFdnd05WZHN2QUhEblA2aXBwaXBBdTdFOEFlYzFmTjZlemlEUlNoajVidGJ4blZSOE1yYUtsRDJhMU9QNzZEOTRfbUxDSWJlQi1PWktHVlVQU09xTEJLT0tBcFk2TVdYdXRPNVY1cXcyWUpGTmlGOS01ZmJnOUJ6WmxXMTZYYVljMFB0OXlTQ0Jac3RJR1hBVHhhRGR2ODlNY0ZBKhtVSUQySU1BU2VjdXJlU2lnbmFsc0FkYXB0ZXIwAA..&nel=0&eid=95322027%2C95326337%2C95331589%2C95332046&url=com.kmk.vidio.adsenseformobileapps.com%2F&dlt=1749113827998&idt=353&dt=1749113828406&eo_id=18ED3D26-33A9-4C8A-A0B5-B7D933AB67F5&eo_id_ts=1749111322&scor=1345214778551122&ppid=998eb5704c894841bbe3f7c7bedbf6acvidio&submodel=arm64

IMA SDK

unread,
Jun 9, 2025, 9:01:51 AMJun 9
to miftah....@vidio.com, ima...@googlegroups.com

Hi,

Thank you for contacting the IMA SDK Support team.

We have checked the provided URL using the latest iOS IMA SDK, and it is not double-encoding the parameter values with macros. Could you please let us know which version of the SDK you are currently using? We recommend testing with the latest SDK and letting us know if you still encounter any issues.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-06-09 13:01:39Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01ree4V:ref" (ADR-00312472)



Reply all
Reply to author
Forward
0 new messages