0.16.0 (latest) 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class EarningsProductBreakdown.

The product type breakdown of earnings for a given month between a parent and
child publisher in MCM.

Generated from protobuf message `google.ads.admanager.v1.EarningsProductBreakdown`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ product_type` | `int` The syndication product type of the child's earnings in MCM. |
| `↳ total_earnings` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The total earnings for the specified product type for the month. |
| `↳ parent_payment` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The portion of the total earnings for the specified product type paid to the parent publisher. |
| `↳ child_payment` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The portion of the total earnings for the specified product type paid to the child publisher. |
| `↳ deductions` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` The deductions for the specified product type for the month due to spam. |

### getProductType

The syndication product type of the child's earnings in MCM.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasProductType

### clearProductType

### setProductType

The syndication product type of the child's earnings in MCM.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTotalEarnings

The total earnings for the specified product type for the month.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasTotalEarnings

### clearTotalEarnings

### setTotalEarnings

The total earnings for the specified product type for the month.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getParentPayment

The portion of the total earnings for the specified product type paid to
the parent publisher.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasParentPayment

### clearParentPayment

### setParentPayment

The portion of the total earnings for the specified product type paid to
the parent publisher.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getChildPayment

The portion of the total earnings for the specified product type paid to
the child publisher.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasChildPayment

### clearChildPayment

### setChildPayment

The portion of the total earnings for the specified product type paid to
the child publisher.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDeductions

The deductions for the specified product type for the month due to spam.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasDeductions

### clearDeductions

### setDeductions

The deductions for the specified product type for the month due to spam.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |