Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:all-features:admob [2019/08/04 19:43]
bouh [Testing and publishing your game on Android (or iOS)]
gdevelop5:all-features:admob [2019/11/20 10:02] (current)
bouh More specific on condition for ads
Line 34: Line 34:
  
 <note important>​The first identifier is the **app id**. The second is the **ad unit identifier**. You need to know these identifiers to insert them in the game properties and actions parameters to display the ads. Copy them or leave the screen open. </​note>​ <note important>​The first identifier is the **app id**. The second is the **ad unit identifier**. You need to know these identifiers to insert them in the game properties and actions parameters to display the ads. Copy them or leave the screen open. </​note>​
 +## Setup Payments in Admob
 +
 +Before your ads can be displayed, you need to set up the payment method in your account. Go to the Payments page and fill in the necessary information:​
 +
 +{{ :​gdevelop5:​all-features:​admob-payments-menu.png?​nolink |}}
 +
 +When your account is ready, Admob will tell you so by showing that your account is *approved*:
 +
 +{{ :​gdevelop5:​all-features:​admob-account-approved.png?​nolink |}}
 +
 +Ads should now be able to be shown.
 +
 +<note warning>​It can take a few hours (~4) for ads to show the first time. If ads are not showing, double check that you've entered all the necessary information in this page and that you properly configured your game (see next section).</​note>​
  
 ## Setting up your game  ## Setting up your game 
Line 63: Line 76:
  
 * To display the ad as soon as it is ready, set "​**Display on Load complete**"​ to '​Yes'​. * To display the ad as soon as it is ready, set "​**Display on Load complete**"​ to '​Yes'​.
-To test your ads before publishing your game, set "​**Test Mode**"​ to '​Yes'​.+While your account is not yet approved it is possible to view the space that the ad will take by activating the  ​"​**Test Mode**"​ to '​Yes'​.
  
 ## Testing and publishing your game on Android (or iOS) ## Testing and publishing your game on Android (or iOS)
Line 73: Line 86:
 The one-click packaging for Android service included with GDevelop is compatible with Admob, so no additional tooling or development kits are needed. The one-click packaging for Android service included with GDevelop is compatible with Admob, so no additional tooling or development kits are needed.
  
-<​note>​It may take a few days for the Admob service to provide ads to appear in your application,​ especially video content.</​note>​ 
  
-<note important>​Ads are not visible in preview, only in .apk</​note>​+In summary, before you launch your application with ads, you must: 
 + 
 +  * Admob account need to be approuved. 
 +  * Disable test mode 
 +  * Set the **app id**, and **ad unit identifier** 
 +  * Wait few hours-days before first ads. 
 + 
 +<note important>​ 
 +  * Ads are not visible in preview, ​**only in .apk** 
 +  * It may take a few days for the Admob service to provide ads to appear in your application,​ especially video content. 
 +</​note>​
  
 ## Example ## Example