For general technical questions, or help with project-specific issues like setting up ads in
your app, reach out to our support team on the
Developer Forum.
For assistance with your AdMob account, reach out to
AdMob Support.
For feedback on our documentation,
send your feedback by pressing the Send Feedback button at the top right of the
documentation page you are on.
For issues related to the code in this repository, continue filing this GitHub issue.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
Unity version: 2022.3.17f1
Google Mobile Ads Unity plugin version: 8.7.0
Platform: Android (iOS, Android, Unity Editor)
Platform OS version: (eg iOS 10, Android 9)
Any specific devices issue occurs on: _____
Mediation ad networks used, and their versions: _____
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Please share a downloadable sample project that reproduces the bug, if
available. This greatly helps us to diagnose and fix the issue faster.
i tried to add ads in my game but when i tried to access to InterstitialAd constructor i get this error : Cannot access constructor 'InterstitialAd()' here due its protection level.
Relevant Code: private InterstitialAd _interstitialAd = new InterstitialAd(Id);
Step 0: Are you in the right place?
For general technical questions, or help with project-specific issues like setting up ads in your app, reach out to our support team on the Developer Forum.
For assistance with your AdMob account, reach out to AdMob Support.
For feedback on our documentation, send your feedback by pressing the Send Feedback button at the top right of the documentation page you are on.
For issues related to the code in this repository, continue filing this GitHub issue.
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
Please share a downloadable sample project that reproduces the bug, if available. This greatly helps us to diagnose and fix the issue faster.
i tried to add ads in my game but when i tried to access to InterstitialAd constructor i get this error : Cannot access constructor 'InterstitialAd()' here due its protection level.
Relevant Code: private InterstitialAd _interstitialAd = new InterstitialAd(Id);