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

An AdSense dynamic allocation creative.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ slot_id` | `string` Output only. The ID of ad slot (inventory) that an advertiser might want to target. |
| `↳ backfill_snippet` | `string` Optional. The code snippet (ad tag) from Ad Exchange or AdSense to traffic the dynamic allocation creative. Only valid Ad Exchange or AdSense parameters will be considered. Any extraneous HTML or JavaScript will be ignored. |

### getSlotId

Output only. The ID of ad slot (inventory) that an advertiser might want to
target.

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

### hasSlotId

### clearSlotId

### setSlotId

Output only. The ID of ad slot (inventory) that an advertiser might want to
target.

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

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

### getBackfillSnippet

Optional. The code snippet (ad tag) from Ad Exchange or AdSense to traffic
the dynamic allocation creative. Only valid Ad Exchange or AdSense
parameters will be considered. Any extraneous HTML or JavaScript will be
ignored.

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

### hasBackfillSnippet

### clearBackfillSnippet

### setBackfillSnippet

Optional. The code snippet (ad tag) from Ad Exchange or AdSense to traffic
the dynamic allocation creative. Only valid Ad Exchange or AdSense
parameters will be considered. Any extraneous HTML or JavaScript will be
ignored.

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

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