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

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

Baseline criteria against which insights are compared.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ baseline_location Baseline\Location

The baseline location of the request. Baseline location is an OR-list of the requested regions.

↳ location_auto_detection_enabled bool

If set to true, the service will try to automatically detect the baseline location for insights.

getBaselineLocation

The baseline location of the request. Baseline location is an OR-list of the requested regions.

Returns
Type Description
Baseline\Location|null

hasBaselineLocation

setBaselineLocation

The baseline location of the request. Baseline location is an OR-list of the requested regions.

Parameter
Name Description
var Baseline\Location
Returns
Type Description
$this

getLocationAutoDetectionEnabled

If set to true, the service will try to automatically detect the baseline location for insights.

Returns
Type Description
bool

hasLocationAutoDetectionEnabled

setLocationAutoDetectionEnabled

If set to true, the service will try to automatically detect the baseline location for insights.

Parameter
Name Description
var bool
Returns
Type Description
$this

getBaseline

Returns
Type Description
string