Yandex Mobile Ads
Loading...
Searching...
No Matches
AdRequestError.cs
Go to the documentation of this file.
1/*
2 * This file is a part of the Yandex Advertising Network
3 *
4 * Version for Unity (C) 2023 YANDEX
5 *
6 * You may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
8 */
9
10using System;
11
13{
17 public class AdRequestError
18 {
22 public string Message { get; private set; }
23
27 public string AdUnitId { get; private set; }
28
29 internal AdRequestError(string message, string adUnitId)
30 {
31 this.Message = message;
32 this.AdUnitId = adUnitId;
33 }
34 }
35}
Represents an event, that occurs when the ad failed to load.
string AdUnitId
AdUnitId of the requested Ad.
string Message
Message, describing reason of the failure.