Reference documentation and code samples for the Google Ads Ad Manager V1 Client class InventoryUrlTargeting.
Represents a list of targeted and excluded inventory URLs and Sites.
Generated from protobuf message google.ads.admanager.v1.InventoryUrlTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeted_inventory_urls |
string[]
Optional. A list of inventory URL resource names that should be targeted/included. |
↳ excluded_inventory_urls |
string[]
Optional. A list of inventory URL resource names that should be excluded. |
getTargetedInventoryUrls
Optional. A list of inventory URL resource names that should be targeted/included.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setTargetedInventoryUrls
Optional. A list of inventory URL resource names that should be targeted/included.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludedInventoryUrls
Optional. A list of inventory URL resource names that should be excluded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setExcludedInventoryUrls
Optional. A list of inventory URL resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|