Class UserListLicensePricing
A user list license pricing.
Implements
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class UserListLicensePricing : IMessage<UserListLicensePricing>, IEquatable<UserListLicensePricing>, IDeepCloneable<UserListLicensePricing>, IBufferMessage, IMessage
Constructors
UserListLicensePricing()
Declaration
public UserListLicensePricing()
UserListLicensePricing(UserListLicensePricing)
Declaration
public UserListLicensePricing(UserListLicensePricing other)
Parameters
| Type | Name | Description |
|---|---|---|
| UserListLicensePricing | other |
Properties
BuyerApprovalState
Output only. The buyer approval state of this pricing.
This field is read-only.
Declaration
public UserListLicensePricing.Types.UserListPricingBuyerApprovalState BuyerApprovalState { get; set; }
Property Value
| Type | Description |
|---|---|
| UserListLicensePricing.Types.UserListPricingBuyerApprovalState |
CostMicros
Optional. The cost associated with the model, in micro units (10^-6), in
the currency specified by the currency_code field. For example, 2000000
means $2 if currency_code is USD.
Declaration
public long CostMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
CostType
Immutable. The cost type of this pricing.
Can be set only in the create operation. Can't be updated for
an existing license.
Declaration
public UserListLicensePricing.Types.UserListPricingCostType CostType { get; set; }
Property Value
| Type | Description |
|---|---|
| UserListLicensePricing.Types.UserListPricingCostType |
CurrencyCode
Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
Declaration
public string CurrencyCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndTime
Optional. End time of the pricing.
Declaration
public Timestamp EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
HasCostMicros
Gets whether the "cost_micros" field is set
Declaration
public bool HasCostMicros { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCostType
Gets whether the "cost_type" field is set
Declaration
public bool HasCostType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCurrencyCode
Gets whether the "currency_code" field is set
Declaration
public bool HasCurrencyCode { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasMaxCostMicros
Gets whether the "max_cost_micros" field is set
Declaration
public bool HasMaxCostMicros { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxCostMicros
Optional. The maximum CPM a commerce audience can be charged when the
MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in
the currency specified by the currency_code field. For example, 2000000
means $2 if currency_code is USD.
This is only relevant when cost_type is MEDIA_SHARE.
When cost_type is not MEDIA_SHARE, and this field is set, a
MAX_COST_NOT_ALLOWED error will be returned.
If not set or set to0, there is no cap.
Declaration
public long MaxCostMicros { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
PricingActive
Output only. Whether this pricing is active.
Declaration
public bool PricingActive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PricingId
Output only. The ID of this pricing.
Declaration
public long PricingId { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StartTime
Output only. Start time of the pricing.
Declaration
public Timestamp StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |