Google Ads Data Manager V1 Client - Class Location (0.2.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class Location.

The baseline location of the request. Baseline location is on OR-list of ISO 3166-1 alpha-2 region codes of the requested regions.

Generated from protobuf message google.ads.datamanager.v1.Baseline.Location

Namespace

Google \ Ads \ DataManager \ V1 \ Baseline

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ region_codes array

List of ISO 3166-1 alpha-2 region codes.

getRegionCodes

List of ISO 3166-1 alpha-2 region codes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRegionCodes

List of ISO 3166-1 alpha-2 region codes.

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