using System;
namespace Unity.Services.Analytics
{
///
/// Helper struct to handle arguments for recording an AdImpression event.
///
public struct AdImpressionParameters
{
///
/// Indicates whether the Ad view was successful or not.
///
public AdCompletionStatus AdCompletionStatus;
///
/// The Ad SDK that provided the Ad.
///
public AdProvider AdProvider;
///
/// The unique identifier for the placement where the Ad appeared as integrated into the game.
///
public string PlacementID;
///
/// If there is a place in the game that can show Ads from multiple networks, there won’t be a single placementId. This field compensates for that by providing a single name for your placement. Ideally, this would be an easily human-readable name such as ‘revive’ or ‘daily bonus’.
/// This value is here for reporting purposes only.
///
public string PlacementName;
///
/// Optional.
/// The placementType should indicate what type of Ad is shown.
/// This value is here for reporting purposes only.
///
public AdPlacementType? PlacementType;
///
/// Optional.
/// The estimated ECPM in USD, you should populate this value if you can.
///
public double? AdEcpmUsd;
///
/// Optional.
/// The Ad SDK version you are using.
///
public string SdkVersion;
///
/// Optional.
///
public string AdImpressionID;
///
/// Optional.
///
public string AdStoreDstID;
///
/// Optional.
///
public string AdMediaType;
///
/// Optional.
///
public Int64? AdTimeWatchedMs;
///
/// Optional.
///
public Int64? AdTimeCloseButtonShownMs;
///
/// Optional.
///
public Int64? AdLengthMs;
///
/// Optional.
///
public bool? AdHasClicked;
///
/// Optional.
///
public string AdSource;
///
/// Optional.
///
public string AdStatusCallback;
}
}