ドキュメント

Development

User Acquisition

Monetization

産業

Unity Ads Monetization

SDK 4.20.0

サポート対象
​

iOS API reference - Swift

iOS API reference - Objective-C

Unity Ads Monetization

SDK 4.20.0

サポート対象
​

このページは選択した言語では使用できません。
iOS developer guides
​
​
iOS developer guides
  • iOS SDK integration guide
  • Unity Ads privacy guide
  • Unity Ads SDK troubleshooting guide
  • iOS developer API references - Swift
  • iOS developer API references - Objective-C
  1. Unity Ads SDK iOS developer monetization
  2. Unity Ads SDK integration guide for iOS developers

Import the UnityAds library

Import the UnityAds library to start using the Unity Ads SDK APIs.
読み終わるまでの所要時間 1 分
最終更新 1ヶ月前

To access Unity Ads SDK APIs in an iOS project, import the
UnityAds.h
library. This enables direct use of the Unity Ads SDK classes, functions, interfaces, and listeners in your app code.
Without this import, you can’t implement ad content in your app, such as rewarded, interstitial, or banner ads.
Include the following import in every file where you need to use Unity Ads SDK API functionality.
import UnityAds
#import <UnityAds/UnityAds.h>

Copyright © 2026 Unity Technologies
法規事項プライバシーポリシークッキーDocumentation Terms of Use私の個人情報を販売または共有しないプライバシーに関する選択 (クッキー設定)

"Unity" の名称、Unity のロゴ、およびその他の Unity の商標は、米国およびその他の国における Unity Technologies またはその関係会社の商標または登録商標です (詳しくはこちら)。その他の名称またはブランドは該当する所有者の商標です。

一部のページは利便性向上のため機械翻訳を使用しており、内容に不正確な表現が含まれる場合があります。内容に齟齬または不一致が生じた場合は、英語版を正本とします。


    このページの問題を報告する
    ​
    ​