【ENGLISH】
This is first time to ask here. Please help.
I am trying to appear Google's native content ads of adsense on iOS app by using DFP , but it's not working. My situation is below.
・My app user can't show ads.
・Test device user can show ads.
・If I change adUnitID from mine to /6499/example/native, google's sample id, my app user can show ads.
From those facts, I guess normal users can't show ads because my adUnitID that I'm inserting in the code is wrong.
my adUnitID is here, "/102643165/AppFluid".
I strongly wish to solve this problem.
Thank you.
【日本語】
初めて質問させていただきます。
DFPを使用してiOSアプリにネイティブ広告を表示させようとしていますが、うまくいきません。症状としては以下です。
・アプリをリリースしたところ、一般ユーザーのデバイスにadsense広告が表示されない
・testDeviceではadsense広告が表示される
・adunitIDをグーグル公式でサンプルとして紹介されている「/6499/example/native」に設定すると、testDeviceじゃなくてもadsense広告が表示される
以上のことから考えると、私が挿入している本番用のadunitIDが間違っているような気がしています。
adUnitIDは、DFPの広告ユニットページから「タグを作成」→「モバイルアプリ」で作成した「/102643165/AppFluid」を挿入しています。サイズは「Fluid」を選択しています。オーダーは設定していません。
広告の取得コードは以下です。
Swift
1 self.adLoader = GADAdLoader(adUnitID: "/6499/example/native", rootViewController: self, adTypes: [kGADAdLoaderAdTypeNativeContent], options: []) 2 self.adLoader?.delegate = self 3 let request = DFPRequest() 4 request.testDevices = ["1f69cbc33993d6ce8c20d91c849cbe29", kGADSimulatorID] 5 self.adLoader?.load(request)
以上、アドバイスよろしくお願いいたします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。