Google Ads Ad Manager V1 Client - Class GeoTargeting (0.6.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_geos string[]

Optional. A list of geo resource names that should be targeted/included.

↳ excluded_geos string[]

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\RepeatedField<string>

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\RepeatedField<string>

setExcludedGeos

Optional. A list of geo resource names that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this