Categories: Ad

AdMob Native Ads Advanced (unified)のexampleを動かしてみたらReceived invalid responseがでる対処法

native adを実装したくて、下記のドキュメントとexampleを見ながらnative adを実装してた。

googleads-mobile-ios. Contribute to googleads/googleads-mobile-ios-examples development by creating an account on GitHub.
googleads-mobile-ios-examples/Swift/admob/NativeAdvancedExample at master · g... - GitHub

しかし、”Request Error: Received invalid response”と出て一向に表示ができない。

ちなみに試しにexampleのほうでも実行してみたら同じようにエラーが出て表示されない。

なんでやねん!ってことになったのでメモ。

あまりにもわからないから、issueを投げてみたら答えを教えてくれた
cf: NativeAdvancedExample can’t load with error “Request Error: Received invalid response” #75

We do have some known issues regarding filling test ads to non-production apps. You can try changing the app bundle ID in the test app to an app that is published on the app store that you own, this may help.

ようは既にリリースされてるbundle idでやってみろとのこと。

ということで既にapp storeにあがってるbundle idでやってみたら問題なく表示された。

なんやねんその罠w

READMEとかに書いといてほしいわw

だれかの助けになればこれ幸い。

mogmet

View Comments

Share
Published by
mogmet
Tags: AndroidiOS