Summary - Monetization
- Game Development course
- Expert
- Lesson 42/47
- 4 min
Reinforce monetization usage with a summary task.
Monetization Summary
Monetization covers a game's revenue model and the payment options offered to players. In the Premium model, the game is paid; in the F2P model, the game is free and revenue can be supported by IAP or advertisements. Unity Ads helps manage ad displays, while Unity IAP helps manage store purchases.
Premium / F2P
IAP / Ads
Rewarded Ads
Ethical DesignA successful revenue model should protect the player experience and transparency.
Practice Combine the Monetization Flow
Create a MonoBehaviour class named MonetizationReview. In the Start method, print information indicating that the game is F2P. Simulate a product purchase request and grant a 50-coin reward when an advertisement completes. Print the product, purchase, and reward information to the console.
Starter code
using UnityEngine;
public class MonetizationReview : MonoBehaviour
{
int coins = 0;
void Start()
{
// F2P bilgisini yazdır
// Ürün satın alma isteğini simüle et
// Reklam tamamlanma metodunu çağır
}
// Ödül metodunu tanımla
}Sample solution
using UnityEngine;
public class MonetizationReview : MonoBehaviour
{
int coins = 0;
void Start()
{
Debug.Log("Game: F2P");
string productId = "gems_pack";
Debug.Log("Purchase requested: " + productId);
OnRewardedAdCompleted();
}
void OnRewardedAdCompleted()
{
coins += 50;
Debug.Log("Reward coins: " + coins);
}
}Expected output
Game: F2P Purchase requested: gems_pack Reward coins: 50
Questions and answers
Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.
1 Which ad format gives players an in-game reward in exchange for completing an advertisement?
- Interstitial
- Banner
- Rewarded Correct answer
- Premium
Explanation: With a rewarded ad, the player receives the defined in-game reward after completing the advertisement.
2 Complete the Monetization Flow
if (adCompleted)
{
coins += ____;
}
if (adCompleted)
{
coins += 50;
}
Explanation: When the advertisement completes successfully, the player receives the defined reward of 50 coins.
3 Monetization Implementation Elements
| Term | Meaning |
|---|---|
Unity Ads |
Manages ad displays in the game |
Unity IAP |
Manages the store purchase flow |
Reward Callback |
Reports when reward condition is met |
Transparency |
Explains price and product information |