Internal error, an invalid response was received from the ad server
Since yesterday this error occurs for me. I tried the proposed solutions from the issue #220 but I don't get it solved.
My code:
<AdMobBanner
adSize="mediumRectangle"
adUnitID="my ad unit id"
testDevices={[AdMobBanner.simulatorId]}
onAdFailedToLoad={error => console.error(error)}
/>
The error:
Internal error, an invalid response was received from the ad server. handleAdFailedToLoad C:\Users\victo\Desktop\app1\node_modules\react-native-admob\RNAdMobBanner.js:45:59 proxiedMethod C:\Users\victo\Desktop\app1\node_modules\react-proxy\modules\createPrototypeProxy.js:44:35 _invokeGuardedCallback C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:73:23 invokeGuardedCallback C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:47:40 invokeGuardedCallbackAndCatchFirstError C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:50:60 executeDispatch C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:125:132 executeDispatchesInOrder C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:130:283 executeDispatchesAndRelease C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3255:62 executeDispatchesAndReleaseTopLevel C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3259:43 forEachAccumulated C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3252:69 processEventQueue C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3309:147 runEventQueueInBatch C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3535:83 handleTopLevel C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3539:33
C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3560:55 batchedUpdates C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:2754:26 batchedUpdates C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:202:35 batchedUpdatesWithControlledComponents C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:209:34 _receiveRootNodeIDEvent C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3559:50 receiveEvent C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\Renderer\ReactNativeFiber-dev.js:3564:60 __callFunction C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:299:47 C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:111:26 __guard C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:262:6 callFunctionReturnFlushedQueue C:\Users\victo\Desktop\app1\node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:110:17
Someone have a soluction for this? Thanks.
I'm tired of saying this, I have the same problem!
I still have the problem.
my problem is still going on, have you found a @victoorlucas solution?
I too have the same problem. Can someone please help us out?
Resolved when you approve the error on the AdMob homepage!
solved, by confirming the "confirm your information" error on the AdMob homepage!
@hyorax can you please explain that in detail or provide a link?
1)Click Home page, error this:
Your ad units are not displaying ads because you haven't provided your account payments information yet.
2)Click Fix It. 3)Click Select Payment, 4)And Submit. Finish, solved for me!
I am glad you have finally solved the issue. However, there is no such warning on my account. Gotta find some other solution.
Glad that these solution worked for you @hyorax, but I still get the error.
Guys, Any fixes??
I created a new react native project and relinked the libraries. Everything worked after.
I am having the same problem @r0hit-gupta @victoorlucas did you find a solution?
@matheusrocha89 I created a new project from scratch. Installed admob and linked it. Then copy pasted the react code from my original project. I also created a new Ad Unit on Admob and used a real device to test the ads. Ads were not showing on the emulator for some reason.
I am trying on a real device and still getting this error on my console when I activate the debug mode on react native. When you were testing you used the release version or the test version of your app @r0hit-gupta ?
@hyorax After you confirm your information took some time to start to work?
@r0hit-gupta after I confirm my informations took some minutes to start to work. Now The error is The ad request was successful, but no ad was returned due to lack of ad inventory. I guess I need to configure something on my AdMOB to put some ads on my inventory, I am not sure, I will make some research about that
@matheusrocha89 try changing the banner size.
I am using AdMobInterstitial don't have size.
@matheusrocha89 I suggest you wait for some more time. It usually takes some time for new ad units to show up.
I guess could be that too, BTW I will keep this issue updated If I have some success. Thanks for the help @r0hit-gupta