Error Domain=com.google.admob Code=2 "SDK tried to perform a networking task before being initialized." UserInfo={NSLocalizedDescription=SDK tried to perform a networking task before being initialized., gad_response_info= ** Response Info **
Response ID: (null)
Network: (null)
** Mediation line items **
}
Found in AdMob docs, that code 2 is "The ad request was unsuccessful due to network connectivity. "Hi Liene,
Thank you for reaching out to us.
With regard to your concern, can you provide more details on what framework do you add that return this error? Also, the error code 2 means that there was an error loading data from the network.
Regards,
|
||||||
Hi Liene,
Thank you for sharing this with us.
If you're implementing the AdMob SDK on Unity, then you need to set all the configuration on Unity, before exporting or building it to the native iOS or Android to avoid any errors.
Hi Liene,
Thank you for sharing this with us.
Can you provide us your sample app implementation on this so that we can further look into this behavior?
If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002arjgRQAQ&entry.80707362=00106988
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.