Getting the following messages in my log from IOS Simulator following the docs:
Feb 28 01:31:33.720 [iOS Simulator] adListener init
Feb 28 01:31:33.759 [iOS Simulator] adListener load and show
Feb 28 01:31:33.779 [iOS Simulator] plugin.admob: Test mode active for device ‘516c41f684c6a54071e188f0bf7dbd0e’
Feb 28 01:31:34.825 [iOS Simulator] <Google> To get test ads on this device, call: request.testDevices = @[kGADSimulatorID];
Feb 28 01:31:36.757 [iOS Simulator] adListener loaded
Feb 28 01:31:36.779 [iOS Simulator] ad shown
Feb 28 01:31:36.837 [iOS Simulator] adListener displayed
Feb 28 01:31:37.785 [iOS Simulator] adListener failed
What is the correct way to provide this device number property to the AdMob calls? .init(), .load(), .show() give the error
Invalid option ‘testDevices’
when I add
, testDevices={"516c41f684c6a54071e188f0bf7dbd0e"}
The adListener messages are printed event.phase values.
Without testmode, ads display on Android devices with the same code - but not in the IOS Simulator. I want to verify that ads are shown before I update the Iphone app.
Thanks,
Henrik