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 DefaultThirdPartyDataDeclaration.

The `DefaultThirdPartyDataDeclaration` singleton resource.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the `DefaultThirdPartyDataDeclaration`. Format: `networks/{network_code}/defaultThirdPartyDataDeclaration` |
| `↳ third_party_data_declaration` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration` Optional. Returns the default [ThirdPartyDataDeclaration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration) for this network. If this setting has never been updated on your network, then this API response will be unset. |

### getName

Identifier. The resource name of the `DefaultThirdPartyDataDeclaration`.

Format: `networks/{network_code}/defaultThirdPartyDataDeclaration`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name of the `DefaultThirdPartyDataDeclaration`.

Format: `networks/{network_code}/defaultThirdPartyDataDeclaration`

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

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

### getThirdPartyDataDeclaration

Optional. Returns the default
[ThirdPartyDataDeclaration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration)
for this network. If this setting has never been updated on your network,
then this API response will be unset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration|null` |   |

### hasThirdPartyDataDeclaration

### clearThirdPartyDataDeclaration

### setThirdPartyDataDeclaration

Optional. Returns the default
[ThirdPartyDataDeclaration](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration)
for this network. If this setting has never been updated on your network,
then this API response will be unset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ThirdPartyDataDeclaration` |

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