Class ConversionEvent.Types.DefaultConversionValue
Defines a default value/currency for a conversion event. Both value and currency must be provided.
Implements
Namespace: Google.Analytics.Admin.V1Beta
Assembly: Google.Analytics.Admin.V1Beta.dll
Syntax
public sealed class ConversionEvent.Types.DefaultConversionValue : IMessage<ConversionEvent.Types.DefaultConversionValue>, IEquatable<ConversionEvent.Types.DefaultConversionValue>, IDeepCloneable<ConversionEvent.Types.DefaultConversionValue>, IBufferMessage, IMessage
Constructors
DefaultConversionValue()
Declaration
public DefaultConversionValue()
DefaultConversionValue(DefaultConversionValue)
Declaration
public DefaultConversionValue(ConversionEvent.Types.DefaultConversionValue other)
Parameters
Type | Name | Description |
---|---|---|
ConversionEvent.Types.DefaultConversionValue | other |
Properties
CurrencyCode
When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.
Declaration
public string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
HasCurrencyCode
Gets whether the "currency_code" field is set
Declaration
public bool HasCurrencyCode { get; }
Property Value
Type | Description |
---|---|
bool |
HasValue
Gets whether the "value" field is set
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
Value
This value will be used to populate the value for all conversions of the specified event_name where the event "value" parameter is unset.
Declaration
public double Value { get; set; }
Property Value
Type | Description |
---|---|
double |