界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

google-mobile-ads-rewarded

google-mobile-ads-rewarded

【效率与协作】Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK rewarded ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up rewarded ads. Don't use for "rewarded interstitial" ads.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

Ggoogle / skillsApache-2.0

技能说明

GitHub

name: google-mobile-ads-rewarded description: >- Provides instructions for implementing, integrating, or configuring Google Mobile Ads (GMA) SDK rewarded ads in Android, iOS, or Unity mobile applications. Use when the task involves setting up rewarded ads. Don't use for "rewarded interstitial" ads. metadata: version: "1.1.0" category: GoogleAds

Google Mobile Ads SDK - Rewarded Ads

Rewarded ads reward users with in-app items for interacting with full-screen ads. Rewarded ads are served after a user explicitly opts in to view a rewarded ad.

Workflow

  1. Determine the user's platform: Identify if the project is Android, iOS, or Unity. If unclear, ask before proceeding.

  2. Read the platform guide for implementation details:

    • Android: references/android-rewarded.md
    • iOS: references/ios-rewarded.md
    • Unity: references/unity-rewarded.md
  3. Follow these steps in order:

    • Load the ad
    • Register for ad event callbacks
    • Add a UI element to view the ad for a reward
    • Show the ad
    • Verify the implementation
我的收藏