Admob - interstitialad.load fehlercode 21

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Admob - interstitialad.load fehlercode 21

by Anonymous » 03 Apr 2025, 03:59

Ich erhalte den folgenden Fehler, wenn ich versuche, eine interstitielle Anzeige durch Admob in meiner iOS -App zu laden. Ich denke, ich habe etwas falsch konfiguriert, aber ich bin mir nicht sicher, was die Fehlermeldung bedeutet, um weiter zu debuggen. Kann mir bitte jemand sagen, was das bedeutet? < /P>

Code: Select all

Error Domain=com.google.admob Code=21 "The ad string could not be loaded because it was invalid." UserInfo={NSLocalizedDescription=The ad string could not be loaded because it was invalid.}
< /code>
fehlerhafter Code: < /p>
let adUnitID = "ca-app-pub-3940256099942544/4411468910" // admit test interstitial ad unit id
interstitial = try await InterstitialAd.load(with: adUnitID)
Danke im Voraus!

Top