iOS: Ad Image with Blurred Background Displayed on iPhone ProMax

67 views
Skip to first unread message

ccomsi

unread,
Dec 22, 2023, 3:36:43 AM12/22/23
to Google Mobile Ads SDK Developers

안녕하세요, Hi Google Mobile Ads iOS SDK Team,

I am writing to inquire about a behavior that seems to occur exclusively on iPhone ProMax models.

Our team uses UIKit's AutoLayout to set constraints based on the aspectRatio value of the GADMediaContent class, determining the view height to match the screen width. On iPhone, iPhone Pro, and iPad Pro 12.9 models, the ad area matches the size of the material without any additional blur background area. However, on the iPhone ProMax, the ad area is set larger than the material, and we often observe material with a blur effect in the background margin area.

In the ad response for the ProMax, it appears that the html in the images section is handling both the ad image and the blur area, with the blur area being displayed using a material that is wider in width but has a greater height:

```
"ads": [{
...
"images": {
"html": "..."
"width": 430,
"height": 860,
},
...
}]
```

스크린샷 2023-12-22 오후 1.00.55.png

In contrast, for other models, the ad image is typically displayed via an image URL: ```
"ads": [{
...
"image": {
"url": "..."
"width": 1170,
"height": 612,
},
...
}]
```

스크린샷 2023-12-22 오후 1.03.07.png


This issue was reported to me by our QA team, noting that it only occurs on ProMax models.

Q1. I am curious if this is an intended behavior of the SDK. Q2. Is there a way to display ads without the background blur area? Q3. If not, could you provide a feature in the future that allows ads to be displayed without blur?

SDK version: Google-Mobile-Ads-SDK 9.13.0 Affected device: iPhone 14, 15 ProMax

Thank you for your assistance.

Mobile Ads SDK Forum Advisor

unread,
Dec 22, 2023, 9:16:17 AM12/22/23
to ccom...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

By reviewing your concern, I understand that you are facing blurred background issue in iOS app.

If the issue still persists, then provide the below information privately for further investigation. So that we can have full visibility of your implementation.

  • app ID
  • ad unit ID
  • Sample Project

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, kindly provide requested information to us via reply privately to author option or using the steps below:

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002r3GbUQAU&entry.80707362=00216486

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

This message is in relation to case "ref:!00D1U01174p.!5004Q02r3GbU:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


ccomsi

unread,
Dec 27, 2023, 12:38:24 AM12/27/23
to Google Mobile Ads SDK Developers

Hi,

I have attached the sample project and other helpful files to the link provided.

Please check them out. Thank you.


2023년 12월 22일 금요일 오후 11시 16분 17초 UTC+9에 Mobile Ads SDK Forum Advisor님이 작성:

Mobile Ads SDK Forum Advisor

unread,
Dec 27, 2023, 3:28:37 AM12/27/23
to ccom...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for providing the sample project and other details.

I can confirm for several models displaying ads with a blurred background as intended behavior. This is due to the ad response containing both the ad image and a separate blur area.

Q1. I am curious if this is an intended behavior of the SDK.

- It’s not due to SDK as response is containing both the ad image and a separate blur area.

{background-image:url(https://tpc.googlesyndication.com/simgad/12491381921957620743/14763004658117789537);background-position:top;background-size:cover;filter:blur(25px);}

Q2. Is there a way to display ads without the background blur area?

- For this you would be to reach out to the Product Support Team for further assistance.

Q3. If not, could you provide a feature in the future that allows ads to be displayed without blur?

   - I can confirm, this is not due to SDK, It also depend upon Transparent ad formats and ad unit size which is set in the account which is intended behavior from the SDK level.
 

Reply all
Reply to author
Forward
0 new messages