Enum AdRequirement
Specifies the ad a session requires before it carries traffic.
[JsonConverter(typeof(JsonStringEnumFallbackConverter<AdRequirement>))]
[JsonEnumFallback(AdRequirement.None)]
public enum AdRequirement
Fields
None = 0No ad.
Flexible = 1An ad if the app can show one; a failure to show it does not end the session.
Rewarded = 2A rewarded ad, which the user must watch to the end.
Remarks
In JSON it is a name; a name this version does not know reads as None, so the client shows no ad, and a server that needs one ends the session.