Yandex Mobile Ads
Loading...
Searching...
No Matches
Creative.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
11{
15 public class Creative
16 {
20 public string CreativeId { get; private set; }
21
25 public string CampaignId { get; private set; }
26
30 public string PlaceId { get; private set; }
31
32 internal Creative(string creativeId, string campaignId, string placeId)
33 {
34 this.CreativeId = creativeId;
35 this.CampaignId = campaignId;
36 this.PlaceId = placeId;
37 }
38
39 public override string ToString()
40 {
41 return $"{{CreativeId={CreativeId}, CampaignId={CampaignId}, PlaceId={PlaceId}}}";
42 }
43 }
44}
Contains information about a creative in the ad.
Definition Creative.cs:16
string CreativeId
Creative ID — a unique identifier for the creative.
Definition Creative.cs:20
string CampaignId
Campaign ID — an identifier for the campaign.
Definition Creative.cs:25
string PlaceId
The unique identifier for the ad placement.
Definition Creative.cs:30
override string ToString()
Definition Creative.cs:39