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 \ V1Methods
__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 |
|