Hi there,
I try to fetch ads using the GADAdLoader with ads of types
[.nativeCustomTemplate, .dfpBanner]
It works well with standard and custom sizes
NSValueFromGADAdSize(kGADAdSizeMediumRectangle),
NSValueFromGADAdSize(GADAdSizeFromCGSize(.init(width: 300, height: 600)))
When I add fluid size NSValueFromGADAdSize(kGADAdSizeFluid), the result is an internal error in
public func adLoader(_ adLoader: GADAdLoader, didFailToReceiveAdWithError error: GADRequestError)
Error receiving ad for loader <GADAdLoader: 0x283d79ac0>: Error Domain=com.google.admob Code=11 "Request Error: Internal error." UserInfo={NSLocalizedDescription=Request Error: Internal error.}
However the result is properly sent by Ad Manager As I could see in Charles Proxy (HTTP Response code 200)
I expect to receive something in
func adViewDidReceiveAd(_ bannerView: GADBannerView)
so as to display and attached the bannerView to the view hierarchy.
I work in a simple UIViewController and have instantiated a simple UIView with a frame to the self.view.
Questions.
Is is possible to use bannerView with GADAdLoader AND fluid sizes ?
Thank you