Yandex Mobile Ads
Loading...
Searching...
No Matches
Assets
YandexMobileAds
Base
AdInfo.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
10
using
System;
11
12
namespace
YandexMobileAds.Base
13
{
17
public
class
AdInfo
18
{
19
23
public
string
AdUnitId
{
get
;
private
set
; }
24
28
public
AdSize
AdSize
{
get
;
private
set
; }
29
30
internal
AdInfo
(
string
adUnitId,
AdSize
adSize)
31
{
32
this.AdUnitId = adUnitId;
33
this.AdSize = adSize;
34
}
35
36
override
public
string
ToString
()
37
{
38
return
$
"AdInfo(AdUnitId='{this.AdUnitId}', AdSize={AdSize})"
;
39
}
40
41
}
42
}
YandexMobileAds.Base.AdInfo
Container for base Ad information.
Definition
AdInfo.cs:18
YandexMobileAds.Base.AdInfo.ToString
override string ToString()
Definition
AdInfo.cs:36
YandexMobileAds.Base.AdInfo.AdUnitId
string AdUnitId
AdUnitId of the ad.
Definition
AdInfo.cs:23
YandexMobileAds.Base.AdSize
This class represents the size of the ad.
Definition
AdSize.cs:16
YandexMobileAds.Base
Definition
AdError.cs:13
Generated by
1.9.8