Class McmEarnings
The earnings for a given month between a parent and child publisher in MCM
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class McmEarnings : IMessage<McmEarnings>, IEquatable<McmEarnings>, IDeepCloneable<McmEarnings>, IBufferMessage, IMessage
Constructors
McmEarnings()
Declaration
public McmEarnings()
McmEarnings(McmEarnings)
Declaration
public McmEarnings(McmEarnings other)
Parameters
| Type | Name | Description |
|---|---|---|
| McmEarnings | other |
Properties
Child
Output only. The resource name of the ChildPublisher's Ad Manager network
in the MCM relationship. Format: networks/{network_code}
Declaration
public string Child { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChildAsNetworkName
NetworkName-typed view over the Child resource name property.
Declaration
public NetworkName ChildAsNetworkName { get; set; }
Property Value
| Type | Description |
|---|---|
| NetworkName |
ChildDisplayName
Output only. The name of the child publisher in the MCM relationship.
Declaration
public string ChildDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChildPayment
Output only. The portion of the total earnings paid to the child publisher.
Declaration
public Money ChildPayment { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |
ChildPublisher
Output only. The resource name of the child publisher in the MCM relationship. Format: "networks/{network_code}/childPublishers/{child_publisher_id}"
Declaration
public string ChildPublisher { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChildPublisherAsChildPublisherName
ChildPublisherName-typed view over the ChildPublisher resource name property.
Declaration
public ChildPublisherName ChildPublisherAsChildPublisherName { get; set; }
Property Value
| Type | Description |
|---|---|
| ChildPublisherName |
Deductions
Output only. The deductions for the month due to spam in micro units. Null for earnings prior to August 2020.
Declaration
public Money Deductions { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |
DelegationType
Output only. The current type of MCM delegation between the parent and child publisher.
Declaration
public DelegationTypeEnum.Types.DelegationType DelegationType { get; set; }
Property Value
| Type | Description |
|---|---|
| DelegationTypeEnum.Types.DelegationType |
EarningsProductBreakdown
Output only. The product type breakdown of earnings for a given month between a parent and child publisher in MCM.
Declaration
public RepeatedField<EarningsProductBreakdown> EarningsProductBreakdown { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<EarningsProductBreakdown> |
HasChildDisplayName
Gets whether the "child_display_name" field is set
Declaration
public bool HasChildDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasChildPublisher
Gets whether the "child_publisher" field is set
Declaration
public bool HasChildPublisher { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasDelegationType
Gets whether the "delegation_type" field is set
Declaration
public bool HasDelegationType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasParentDisplayName
Gets whether the "parent_display_name" field is set
Declaration
public bool HasParentDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Month
Output only. The year and month that the MCM earnings data applies to. The date will be specified as the first of the month.
Declaration
public Date Month { get; set; }
Property Value
| Type | Description |
|---|---|
| Date |
Parent
Output only. The parent publisher in the MCM relationship.
Format: networks/{network_code}
Declaration
public string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentAsNetworkName
NetworkName-typed view over the Parent resource name property.
Declaration
public NetworkName ParentAsNetworkName { get; set; }
Property Value
| Type | Description |
|---|---|
| NetworkName |
ParentDisplayName
Output only. The name of the parent publisher.
Declaration
public string ParentDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentPayment
Output only. The portion of the total earnings paid to the parent publisher.
Declaration
public Money ParentPayment { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |
TotalEarnings
Output only. The total earnings for the month.
Declaration
public Money TotalEarnings { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |