kloder-games / godot-admob

Module Admob for Godot engine
MIT License
362 stars 62 forks source link

Document Error Codes #19

Open compufox opened 6 years ago

compufox commented 6 years ago

It may be helpful to explain what each of them are and why they occur

phaitonican commented 5 years ago

Common Error Codes:

This indicates that something happened internally; for instance, an invalid response was received from the ad server.

Newly created Ad Units can take upto 2 hours to become active (SpinUp Time). Any Ad requests from newly created Ad Units would also receive Error Code 0 in response to Ad requests until they are ready to serve live ads.

The ad request was invalid; for instance, the ad unit ID was incorrect.

This commonly suggests that the Ad Request implementation is not as per the SDK’s requirements - Resources like the sample codes and sample apps provided in the developer documentation can help in implementing the functions correctly.

The ad request was unsuccessful due to network connectivity.

This could be due to a user’s phone switching networks or network disturbances distorting the communication between the app and the Ad Server. Some Telecom providers may also limit specific traffic due to policy, which can also lead to such an error.

Description (Dev Docs Link) : The ad request was successful, but no ad was returned due to lack of ad inventory.

Why is it Happening : Advertisers can target specific regions, platforms and user profiles based on business relevance, which can sometimes result in lower availability of Ads for a particular region or user profile. Error code suggests that the implementation is correct, and that the Ad Request was not filled because of lack of availability of a suitable Ad at that particular instant of time when an Ad Request was sent from the app.

Policy related restrictions on certain Apps or Ad Units will also lead to Error Code 3 being returned in response to Ad Requests.

What Can The Pub Do About it :

→ As we cannot manipulate advertiser demand, there are no particular ‘fixes’ for this error - the pub can cross-check the Ad Unit implementation to ensure that the Ad Units are implemented correctly.

→ Mediation : In some instances, certain Ad Networks may have limited performance in some regions or for specific formats, in which case the pubs can try using mediation to add other Ad Networks that may potentially perform well.

→ Check for Policy status for the Pub ID, the App and the Ad Unit ID. Also check the Brand Safety flags and Coppa status.

→ If the Pub can obtain Test Ads for an Ad Unit (Instructions) - then their implementation is correct, and the Ad Units will serve Ads normally when an Ad is available depending on advertiser demand.

Source: https://support.google.com/admob/thread/3494603?hl=en