<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohamed Gani</title>
    <description>The latest articles on DEV Community by Mohamed Gani (@mohamed_gani_y8).</description>
    <link>https://dev.to/mohamed_gani_y8</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3566207%2F3bd46746-5fec-45cb-8166-e368c201a363.png</url>
      <title>DEV Community: Mohamed Gani</title>
      <link>https://dev.to/mohamed_gani_y8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohamed_gani_y8"/>
    <language>en</language>
    <item>
      <title>Publish and Monetize Your Games on Y8.com</title>
      <dc:creator>Mohamed Gani</dc:creator>
      <pubDate>Wed, 15 Oct 2025 08:44:27 +0000</pubDate>
      <link>https://dev.to/mohamed_gani_y8/how-to-submit-your-game-to-y8com-and-integrate-the-y8-sdk-39bn</link>
      <guid>https://dev.to/mohamed_gani_y8/how-to-submit-your-game-to-y8com-and-integrate-the-y8-sdk-39bn</guid>
      <description>&lt;p&gt;If you're a game developer looking to publish your HTML5 or Unity WebGL game on Y8.com and earn revenue, this quick guide will help you get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧩 Step 1: Create an Account and Upload Your Game&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To submit a game:&lt;br&gt;
👉 Go to &lt;a href="https://www.y8.com/upload" rel="noopener noreferrer"&gt;https://www.y8.com/upload&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You'll need a &lt;strong&gt;Y8 developer account.&lt;/strong&gt; &lt;br&gt;
After logging in, you can upload your game package directly through this page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💰 Step 2: Choose Your Revenue Share Program&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Y8 offers two types of revenue share models:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- AFP (AdSense for Platforms)&lt;/strong&gt; — You get paid directly by Google through your own AdSense account.&lt;br&gt;
&lt;strong&gt;- Manual Revenue Share&lt;/strong&gt; — You send Y8 invoices, and the payment is handled manually.&lt;/p&gt;

&lt;p&gt;To apply for AFP, first create a Studio:&lt;/p&gt;

&lt;p&gt;Visit &lt;a href="https://www.y8.com/studios" rel="noopener noreferrer"&gt;https://www.y8.com/studios&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once your studio is approved, you'll be able to apply for AFP directly from your studio page.&lt;/p&gt;

&lt;p&gt;🔔 Important Note for New Developers&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For new developers:&lt;/strong&gt;&lt;br&gt;
To get your &lt;strong&gt;Studio approved&lt;/strong&gt; and &lt;strong&gt;Revenue Share (AFP or Manual)&lt;/strong&gt; enabled, please contact &lt;strong&gt;Y8 Support&lt;/strong&gt; after creating your account.&lt;/p&gt;

&lt;p&gt;⚠️ &lt;strong&gt;Studio approval requires at least one game&lt;/strong&gt; to be live or approved on &lt;strong&gt;Y8&lt;/strong&gt;.&lt;br&gt;
Once you have a published or approved game, the Y8 team can review and enable your studio and revenue share options.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧠 Step 3: Create an Application for Your Game&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before integrating the SDK, register your game as an application:&lt;/p&gt;

&lt;p&gt;➡️ Go to &lt;a href="https://account.y8.com/applications/" rel="noopener noreferrer"&gt;https://account.y8.com/applications/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a new application entry for your game — this will give you your &lt;strong&gt;App ID.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Integrate the Y8 SDK&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎮 JavaScript / HTML5 Games&lt;/strong&gt;&lt;br&gt;
📦 Repository: &lt;a href="https://github.com/Y8Games/y8-afp-ads-sdk-javascript" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-afp-ads-sdk-javascript&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download the &lt;code&gt;gameBreakBeta.js&lt;/code&gt; file from the repository and place it in your project folder.&lt;/li&gt;
&lt;li&gt;Add the following line to your &lt;code&gt;index.html&lt;/code&gt; file:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script src="gameBreakBeta.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Game ID Setup&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can get your Game ID from the Y8 team once your game is approved.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let _gameId = '249093'; // Replace with your assigned Game ID before going live
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Display Ads&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nextAds(); //Show interstitial ads
showReward(); //Show Rewarded Ads
pauseGame(); //Pause the game
resumeGame(); //Resume the game
rewardAdsCompleted(); //Trigger rewards after completing an ad
noRewardedAdsTryLater(); //Call if no rewarded ads are available
rewardAdsCanceled(); //Trigger if the user cancels the rewarded ad

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Testing Mode&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var _testAds = true; // Set to false when the game is ready for live
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Construct 3 Games&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;📦 Repository: &lt;a href="https://github.com/Y8Games/y8-construct3-sdk" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-construct3-sdk&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download the &lt;code&gt;c3Example_y8&lt;/code&gt; project from the repository.&lt;/li&gt;
&lt;li&gt;Open your Construct 3 project or start a new one.&lt;/li&gt;
&lt;li&gt;Right-click the &lt;strong&gt;Scripts&lt;/strong&gt; folder and choose &lt;strong&gt;Add Script&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Copy the contents of c3Example_y8/main.js into your project's &lt;code&gt;main.js&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Update your App ID in:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let _appId = 'YOUR_APP_ID';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Copy the &lt;code&gt;y8API&lt;/code&gt; event sheet from &lt;code&gt;c3Example_y8&lt;/code&gt; and paste it into your project.&lt;/li&gt;
&lt;li&gt;Once your game is approved, replace the test Game ID with your assigned one:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let _gameId = 'YOUR_GAME_ID';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Available Functions&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;showAds()   //Show interstitial ads
showRewardAds() //Show rewarded ads
rewardAdDismissed() //Skip ad, no reward, watch next time
RewardAdGained() //Reward earned, action completed.
NoRewardAds() //No ads available, try again later.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;🧩 Unity WebGL Games&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;📦 Repository: &lt;a href="https://github.com/Y8Games/y8-webgl-template" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-webgl-template&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download the &lt;code&gt;responsiveWebGL&lt;/code&gt; template and import it into your Unity project.&lt;/li&gt;
&lt;li&gt;When building for WebGL, use the Y8 template &lt;code&gt;y8Responsive&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Download the assets folder containing the required files:

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;y8MinimalAds.jslib&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;y8MinimalAds.cs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Y8AdsListener.cs&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Create a new &lt;strong&gt;GameObject&lt;/strong&gt; named &lt;code&gt;GameObjectAds&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add both &lt;code&gt;y8MinimalAds.cs&lt;/code&gt; and Y8AdsListener.cs components.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Use the following functions for ads:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;showAd()    //Show interstitial ads
showRewardAd()  //Show rewarded ads
pauseGame() //Pause the game
resumeGame()    //Resume the game
rewardAdsCompleted()    //Reward after completing an ad
noRewardedAdsTryLater() //Called when no rewarded ads are available
rewardAdsCanceled() //Triggered if the user cancels the ad
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Assign Your IDs&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;App ID&lt;/strong&gt; — Enter it under “ENTER APP ID HERE” in the Inspector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ads ID&lt;/strong&gt; (Game ID) — Enter under “ENTER ADS ID HERE”.&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;Test Ads&lt;/strong&gt; for testing; disable before publishing live.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;🎯 Step 5: Submit for QA and Go Live&lt;/strong&gt;&lt;br&gt;
Once your integration is complete and tested:&lt;/p&gt;

&lt;p&gt;✅ Submit your game for QA.&lt;br&gt;
✅ After approval, your game will go live on Y8.com and start earning revenue!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Useful Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Upload Games:&lt;/strong&gt; &lt;a href="https://www.y8.com/upload" rel="noopener noreferrer"&gt;https://www.y8.com/upload&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;- Create Studio:&lt;/strong&gt; &lt;a href="https://www.y8.com/studios" rel="noopener noreferrer"&gt;https://www.y8.com/studios&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;- Create Application:&lt;/strong&gt; &lt;a href="https://account.y8.com/applications/" rel="noopener noreferrer"&gt;https://account.y8.com/applications/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;- Y8 JavaScript SDK:&lt;/strong&gt; &lt;a href="https://github.com/Y8Games/y8-afp-ads-sdk-javascript" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-afp-ads-sdk-javascript&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;- Y8 Construct 3 SDK:&lt;/strong&gt; &lt;a href="https://github.com/Y8Games/y8-construct3-sdk" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-construct3-sdk&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;- Y8 Unity WebGL Template:&lt;/strong&gt; &lt;a href="https://github.com/Y8Games/y8-webgl-template" rel="noopener noreferrer"&gt;https://github.com/Y8Games/y8-webgl-template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;br&gt;
With Y8’s SDK integration, your game can easily monetize across HTML5, Construct 3, and Unity WebGL — all while reaching millions of players worldwide.&lt;/p&gt;

&lt;p&gt;Start uploading, integrate ads, and grow your revenue today!&lt;/p&gt;

</description>
      <category>ads</category>
      <category>gamedev</category>
      <category>adsense</category>
    </item>
  </channel>
</rss>
