Reference documentation and code samples for the Google Ads Ad Manager V1 Client class GeoTargeting.
Represents a list of targeted and excluded geos.
Generated from protobuf message google.ads.admanager.v1.GeoTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeted_geos |
array
Optional. A list of geo resource names that should be targeted/included. |
↳ excluded_geos |
array
Optional. A list of geo resource names that should be excluded. |
getTargetedGeos
Optional. A list of geo resource names that should be targeted/included.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTargetedGeos
Optional. A list of geo resource names that should be targeted/included.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludedGeos
Optional. A list of geo resource names that should be excluded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setExcludedGeos
Optional. A list of geo resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|