Hi Abhishek,
Thank you for contacting the Mobile Ads SDK Support team.
Unlike anchored adaptive banners, inline adapter banners load using an inline adaptive banner size. To create an inline adaptive ad size, complete the following:
Could you please confirm if the issue occurs in our Google sample application after implementing the changes based on your requirements? If so, kindly share your sample application where the issue can be reproduced.
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, you can share your files with me by performing the following steps:
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.![]() |
Mobile Ads SDK Team |
[2025-02-24 07:09:17Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
Hi Abhishek,
The inline adaptive banner sizes work best when using the full available width. In most cases, this size is the full width of the device screen in use, or the full width of the banner's parent content. You must know the width of the view to place in the ad, the device width, the parent content width, and applicable safe areas.
You may need to update or create new line items to work with adaptive sizes. Also refer to Serve reservations in adaptive banners help center article for more information. If this doesn’t help kindly provide us with the sample project as requested earlier.
![]() |
Mobile Ads SDK Team |
[2025-02-24 15:03:32Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
Hi Abhishek,
In the provided function I observed that The width issue is caused by where you calculate the margin. To resolve this, kindly use below code to calculate the full screen ad size and verify the results.
fun getAdSize(activity: Activity): AdSize { val displayMetrics: DisplayMetrics = activity.resources.displayMetrics var adWidthPixels = displayMetrics.widthPixels if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { val windowMetrics: WindowMetrics = activity.windowManager.currentWindowMetrics adWidthPixels = windowMetrics.bounds.width() } val density = displayMetrics.density val adWidth = ((adWidthPixels - adMargin) / density).roundToInt() return AdSize.getInlineAdaptiveBannerAdSize(adWidth, 60) }
![]() |
Mobile Ads SDK Team |
[2025-02-25 13:07:55Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
Hi,
Could you kindly provide the sample project privately for further investigation:
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, you can share your files via reply to author option by performing the following steps:
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.
![]() |
Mobile Ads SDK Team |
[2025-02-25 23:34:02Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
Hi,
Thank you for getting back to us.
I'm afraid that we'll need detailed debug information from a device where it's observed in order to actually make any progress in diagnosing this. The only way for us to investigate further is by creating a project where the issue is reproducible.
Could you kindly provide the sample project or Charles log privately for further investigation:
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, you can share your files to us via reply to author option or by performing the following steps:
1. Navigate to
2. Fill out all fields, and attach your file(s).
3. Please reply back to this thread when you have uploaded your file(s). Please do not share this link.
![]() |
Mobile Ads SDK Team |
[2025-02-26 22:16:57Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
After checking with the tool layout inspector, it was found that:
Sometimes the width of the banner ad view (adView) being displayed is smaller than the screen width.
Sometimes the adView width is normal, but the content inside it is smaller than the screen width and is not centered.
Hi,
Thank you for contacting the Mobile Ads SDK Support team.
I ran the Google Sample Application ads that are showing correctly.
Could you please confirm if the issue occurs in our Google sample application after implementing the changes based on your requirements? If so, kindly share your sample application where the issue can be reproduced.
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, you can share your files with me by performing the following steps:
2. Fill out all fields, and attach your file(s).
![]() |
Mobile Ads SDK Team |
[2025-04-24 19:52:45Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)
Hi,
We kindly request your support in providing the necessary information like sample project and charles logs.This information will help us conduct a thorough investigation and check with the wider team if required.Without them, we will not be able to proceed further in identifying the root cause of the issue.
kindly provide the sample project or Charles log privately for further investigation:
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, you can share your files with me by performing the following steps:
1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002vH3FmQAK&entry.80707362=002892892. 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.
![]() |
Mobile Ads SDK Team |
[2025-04-25 20:50:06Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH3Fm:ref" (ADR-00289289)