Space Ad Mobile 9.5.1
Space Ad Mobile makes ads easy to add into your mobile game: one unified workflow for LevelPlay, AdMob, Yandex.Ads across banners, interstitials and rewarded.
Loading...
Searching...
No Matches
YandexAdEventsDispatcher.cs
1using UnityEngine;
2
3namespace SCG.SpaceAdMobile
4{
8 [AddComponentMenu("SCG/SpaceAdMobile/" + nameof(AdEventsDispatcher))]
10 {
11 public override void AdLoadFailed(object error) => FailedEvent?.Invoke((string)error);
12
13 public override void AdContentFailed(object error) => FailedEvent?.Invoke((string)error);
14 }
15}
UnityEvent< string > FailedEvent
Invoked when an ad load fails or ad content fails to load, passing the error message as a string.
Serves as an abstract base class for dispatching events related to the lifecycle of advertisements,...
override void AdLoadFailed(object error)
Invoked when an ad load fails, passing the error message as a string.
override void AdContentFailed(object error)
Invoked when an ad content fails, passing the error message as a string.
Provides yandex ad events dispatcher functionality.