Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Test Ads Still Appearing in App When "Real" is Checked. #5

Closed
ACB-prgm opened this issue Aug 14, 2021 · 18 comments
Closed

[BUG] Test Ads Still Appearing in App When "Real" is Checked. #5

ACB-prgm opened this issue Aug 14, 2021 · 18 comments
Labels
bug Something isn't working
Milestone

Comments

@ACB-prgm
Copy link
Contributor

Godot and Plugin Version

Computer Specification (Operational System, CPU, GPU and Resolution(1920x1080)

  • OS: [e.g. Catalina]
  • Version [e.g. 10.15.7 (19H15)]

Phone Specification (Android/iOS and Version)

  • Device: [e.g. iPhoneX]
  • OS: [e.g. iOS8.1]

Describe the bug
Ads still appearing in test mode despite "real" being checked

To Reproduce
Steps to reproduce the behavior:
Add enable real ads and export to IPhone.

Expected behavior
real ads to be shown

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
I have just re-exported and ensured "real" is checked and made sure to export as a release. I submitted it to the app store for review so I'll let you know when I am approved and if the problem persists on my new version. The app is about 3 weeks old now so it is weird that they are no appearing as real.

@ACB-prgm ACB-prgm added the bug Something isn't working label Aug 14, 2021
@gumaciel
Copy link
Contributor

Hi, have you done this?

On Export -> Resources -> Filters to export non-resources..., you need to put this: res://addons/admob/*.json

@ACB-prgm
Copy link
Contributor Author

res://addons/admob/*.json

Nope! Thank you!

@gumaciel
Copy link
Contributor

Sorry about that, I need to re do the video tutorial because it's missing this.

@ACB-prgm
Copy link
Contributor Author

ACB-prgm commented Aug 15, 2021

I am getting an error in Xcode now when I try to build however. I don't have time to look through it right now, but here it is:

Error:
Undefined symbols for architecture x86_64:
"ClassDB::bind_methodfi(unsigned int, MethodBind*, char const*, Variant const**, int)", referenced from:
AdMob::_bind_methods() in admob.a(admob.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@gumaciel
Copy link
Contributor

What iOS Plugin and Editor Plugin version are you using?

@ACB-prgm
Copy link
Contributor Author

0.30

@gumaciel
Copy link
Contributor

Please consider to use at least the 0.4.0, but I recommend the 0.4.2 (latest)

And the iOS: 1.1.0

@ACB-prgm
Copy link
Contributor Author

Please consider to use at least the 0.4.0, but I recommend the 0.4.2 (latest)

And the iOS: 1.1.0

Using 0.4.1, now nothing happens when the ads should show? Nothing else changed on my end.
I am loading the ads via

func _on_admob_init_complete(status, _adapter_name):
	if status == MobileAds.INITIALIZATION_STATUS.READY:
		MobileAds.load_interstitial()
		MobileAds.load_rewarded()

and then calling them via the show_Xad functions.

Any ideas?

@gumaciel
Copy link
Contributor

Hi, have you changed the iOS Plugin version for 1.1.0?

If so, please try with the "Example.tscn" located on addons/admob/develop to see if is working fine

@ACB-prgm
Copy link
Contributor Author

I am now using the ios 1.1.0 for 3.3.2 (my version of Godot). But I get the following error from the Xcode debug console:

2021-08-16 13:58:45.646147-0400 FishBowl[446:24813] init admob plugin
2021-08-16 13:58:45.646307-0400 FishBowl[446:24813] initialize admob
2021-08-16 13:58:45.658532-0400 FishBowl[446:25026]  - <Google>[I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-8477102077683085~2197552267
2021-08-16 13:58:45.664379-0400 FishBowl[446:25035]  - <Google>[I-ACS023007] Analytics v.80000000 started
2021-08-16 13:58:45.664759-0400 FishBowl[446:25035]  - <Google>[I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2021-08-16 13:58:45.676813-0400 FishBowl[446:25031]  - <Google>[I-ACS023171] Resetting App Measurement data
2021-08-16 13:58:45.684802-0400 FishBowl[446:25032]  - <Google>[I-ACS023014] Failed to delete old database file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“google-app-measurement.sql” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/var/mobile/Containers/Data/Application/96817A88-74E1-4A99-B2EC-A966C57D3764/Library/Application Support/Google/Measurement/google-app-measurement.sql, NSUnderlyingError=0x2838b4720 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2021-08-16 13:58:45.791612-0400 FishBowl[446:24813] AdMob Module not initialized
2021-08-16 13:58:45.792711-0400 FishBowl[446:24813] maxAdContentRating = GADMaxAdContentRatingParentalGuidance
2021-08-16 13:58:45.884164-0400 FishBowl[446:24813] WF: === Starting WebFilter logging for process FishBowl
2021-08-16 13:58:45.884216-0400 FishBowl[446:24813] WF: _userSettingsForUser mobile: {
    filterBlacklist =     (
    );
    filterWhitelist =     (
    );
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}
2021-08-16 13:58:45.884253-0400 FishBowl[446:24813] WF: _WebFilterIsActive returning: NO
2021-08-16 13:58:48.073244-0400 FishBowl[446:24813] GADMobileAds : 0
2021-08-16 13:58:52.051524-0400 FishBowl[446:25031]  - <Google>[I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2021-08-16 13:58:52.382471-0400 FishBowl[446:25031]  - <Google>[I-ACS023012] Analytics collection enabled
2021-08-16 13:59:00.295615-0400 FishBowl[446:25069]  - <Google>[I-ACS012056] Transaction failed. Transaction failed

And nothing happens when an ad is pressed.

@gumaciel
Copy link
Contributor

Have you updated the googlemobileadssdk.zip?

I will try to run on my Mac now to see what happens

@ACB-prgm
Copy link
Contributor Author

ACB-prgm commented Aug 16, 2021

Have you updated the googlemobileadssdk.zip?

I did. I also made sure to go through the info.plist and make sure everything was correct.

Do you think this could be a problem with my Admob?

@gumaciel
Copy link
Contributor

Probably you configured something wrong, always test with the "Example Ids"

https://developers.google.com/admob/ios/test-ads#demo_ad_units

https://developers.google.com/admob/ios/quick-start#update_your_infoplist

@gumaciel
Copy link
Contributor

@gumaciel
Copy link
Contributor

Is there anything you are finding complicated using the Plugin?

I know the Tutorial is not good, but it's just me to make these videos and it's a lot for one person to do, but I hope it helps you.

@gumaciel gumaciel added this to the 1.0.0 milestone Aug 25, 2021
gumaciel added a commit that referenced this issue Sep 1, 2021
- Added on `addons/admob/scripts/MobileAds.gd` when initializing the App if is on "release" or "debug" mode.
- Removed the `is_real` Variable and Button from editing.
@gumaciel
Copy link
Contributor

gumaciel commented Sep 1, 2021

@ACB-prgm just send a new update on master branch to only set to Real when is on release mode, please test it if you can.

@gumaciel
Copy link
Contributor

gumaciel commented Oct 4, 2021

@ACB-prgm big update released with this update: https://github.com/Poing-Studios/godot-admob-editor/releases/tag/v1.0.0

Soon you will can test here: https://godotengine.org/asset-library/asset/933

@gumaciel
Copy link
Contributor

Closing the issue due the age, if something is not working properly please open it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants