InterstitialAd クラス

定義

アプリでスポット ビデオ広告またはスポット バナー広告を表示するコントロールを表します。 このコントロールの使用方法を示すチュートリアルとコード例については、GitHub の スポット広告広告のサンプルを参照してください。

public ref class InterstitialAd sealed
class InterstitialAd sealed
[Windows.Foundation.Metadata.Activatable(1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class InterstitialAd
function InterstitialAd()
Public NotInheritable Class InterstitialAd
継承
System.Object
InterstitialAd
属性

追加の機能と要件

ソフトウェア開発キット
サポートされる最小 OS
Windows 10 (10.0.10240.0)

コンストラクター

InterstitialAd()

InterstitialAd クラスの新しいインスタンスを初期化します。

プロパティ

CountryOrRegion

ユーザーが配置されている 2 文字の国または地域コードを取得または設定します。

Keywords

広告の対象ユーザーを対象とするキーワードを取得または設定します。

PostalCode

広告の郵便番号のターゲットを取得または設定します。

RequestTimeout

タイムアウトするまでの広告要求の完了を待機するミリ秒数を取得または設定します。

State

スポット広告の現在の状態を取得します。

メソッド

AddAdTag(String, String)

インタースティシャルAd コントロールに広告タグを追加します。

Close()

表示されているスポット広告を閉じます。

RemoveAdTag(String)

InterstitialAd コントロールから広告タグを削除します。

RequestAd(AdType, String, String)

サーバーにスポット広告をリクエストします。

Show()

スポット広告を表示します。

イベント

AdReady

スポット広告を表示する準備ができたときに発生します。

Cancelled

完了と見なされる前にユーザーが広告をキャンセルすると発生します。

Completed

広告が閉じられ、広告エクスペリエンスが完了したと見なされたときに発生します。

ErrorOccurred

InterstitialAd で操作エラーが発生したときに発生します。

適用対象

こちらもご覧ください