My team is working on implementing adaptive inline banners for our apps.
Here is the link to the Google article about inline adaptive banners.
https://developers.google.com/ad-manager/mobile-ads-sdk/ios/early-access/inline-adaptive-banners
If switching to inline adaptive banners, should the “validAdSizes” array sent with each ad request be changed to use the new “adaptive size”?
Currently, for mids, the app sends the following validAdSizes value w/ each ad request, which tells the ad server to respond with an ad that fits either one of the two ad sizes.
-mobile: [“banner”, “mediumRectangle”] aka 320x50 & 300x250
-tablet:["mediumRectangle", "leaderboard"] aka 300x250 & 728x90
The GAM help page at https://support.google.com/admanager/answer/9464128 states “In app: Only write adaptive size in ValidAdSize”
The GAM documentation at https://developers.google.com/ad-manager/mobile-ads-sdk/ios/early-access/inline-adaptive-banners states otherwise:
“For Ad Manager, the `adSize` property is used for the adaptive banner ad size. The `validAdSizes` property is used as normal for the supported reservation// sizes for the ad placement.
This is optional and only needed if you wish to support reservation ad sizes.”
bannerView.validAdSizes = @[ NSValueFromGADAdSize(kGADAdSizeBanner) ];