You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I're created a project by Xcode 12.2, that project include Scene delegate.
When I run it on device with config test device, the ads is showing.
But when I run it on device with no config test device, the ads load error
There's my code to load ads
I try to debug before load ads, I saw frame of adsBannerView is <GADBannerView: 0x107b0d550; frame = (0 89; 375 50); clipsToBounds = YES; autoresize = RM+BM; layer = <CALayer: 0x282cce2e0>>
I got an error below
`Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., gad_response_info= ** Response Info **
Response ID: (null)
Network: (null)
** Mediation line items **
}`
And the log <Google> Invalid Request. Invalid ad width or height: (375, 0)
Could you please help me?
Thanks,
The text was updated successfully, but these errors were encountered:
Hi Admob Team,
I're created a project by Xcode 12.2, that project include Scene delegate.
When I run it on device with config test device, the ads is showing.
But when I run it on device with no config test device, the ads load error
There's my code to load ads
self.adsBannerView?.adSize = kGADAdSizeBanner self.adsBannerView?.adUnitID = adUnitID self.adsBannerView?.delegate = self self.adsBannerView?.rootViewController = self self.adsBannerView?.load(GADRequest())
I try to debug before load ads, I saw frame of adsBannerView is
<GADBannerView: 0x107b0d550; frame = (0 89; 375 50); clipsToBounds = YES; autoresize = RM+BM; layer = <CALayer: 0x282cce2e0>>
I got an error below
`Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., gad_response_info= ** Response Info **
Response ID: (null)
Network: (null)
** Mediation line items **
}`
And the log
<Google> Invalid Request. Invalid ad width or height: (375, 0)
Could you please help me?
Thanks,
The text was updated successfully, but these errors were encountered: