Properties

$configurationLoader

$configurationLoader :

Type

$isSkipReportHeader

$isSkipReportHeader :

Type

$isSkipColumnHeader

$isSkipColumnHeader :

Type

$isSkipReportSummary

$isSkipReportSummary :

Type

$isUseRawEnumValues

$isUseRawEnumValues :

Type

$isIncludeZeroImpressions

$isIncludeZeroImpressions :

Type

Methods

__construct()

__construct(null|\Google\AdsApi\AdWords\ReportSettings  $reportSettings = null)

Create a report settings builder using the user-provided report settings if it's not null.

Parameters

null|\Google\AdsApi\AdWords\ReportSettings $reportSettings

the report settings to be used as starting values.

skipReportHeader()

skipReportHeader(boolean|null  $isSkipReportHeader): \Google\AdsApi\AdWords\ReportSettingsBuilder

Whether report responses should skip the header row containing the report name and date range. This is optional and defaults to false.

Parameters

boolean|null $isSkipReportHeader

Returns

\Google\AdsApi\AdWords\ReportSettingsBuilder

this builder

skipColumnHeader()

skipColumnHeader(boolean|null  $isSkipColumnHeader): \Google\AdsApi\AdWords\ReportSettingsBuilder

Whether report responses should skip the header row containing the column names. This is optional and defaults to false.

Parameters

boolean|null $isSkipColumnHeader

Returns

\Google\AdsApi\AdWords\ReportSettingsBuilder

this builder

skipReportSummary()

skipReportSummary(boolean|null  $isSkipReportSummary): \Google\AdsApi\AdWords\ReportSettingsBuilder

Whether report responses should skip the summary row containing totals.

This is optional and defaults to false.

Parameters

boolean|null $isSkipReportSummary

Returns

\Google\AdsApi\AdWords\ReportSettingsBuilder

this builder

useRawEnumValues()

useRawEnumValues(boolean|null  $isUseRawEnumValues): \Google\AdsApi\AdWords\ReportSettingsBuilder

Whether report responses should return enum values instead of enum display values. This is optional and defaults to false.

Parameters

boolean|null $isUseRawEnumValues

Returns

\Google\AdsApi\AdWords\ReportSettingsBuilder

this builder

includeZeroImpressions()

includeZeroImpressions(boolean|null  $isIncludeZeroImpressions): \Google\AdsApi\AdWords\ReportSettingsBuilder

Whether report responses should include zero impression rows. This is optional and defaults to `null`.

Parameters

boolean|null $isIncludeZeroImpressions

Returns

\Google\AdsApi\AdWords\ReportSettingsBuilder

this builder

build()

build(): mixed

Creates a new instance of the data object being populated. This method should call defaultOptionals() and validate().

Returns

mixed —

the data object

defaultOptionals()

defaultOptionals()

Sets all optional fields to their default if they are `null`.

validate()

validate()

Checks that required fields have been included and all included fields are valid (e.g., URIs are valid).

isSkipReportHeader()

isSkipReportHeader(): boolean

Whether report responses should skip the header row containing the report name and date range.

Returns

boolean

isSkipColumnHeader()

isSkipColumnHeader(): boolean

Whether report responses should skip the header row containing the column names.

Returns

boolean

isSkipReportSummary()

isSkipReportSummary(): boolean

Whether report responses should skip the summary row containing totals.

Returns

boolean

isUseRawEnumValues()

isUseRawEnumValues(): boolean

Whether report responses should return enum values instead of enum display values.

Returns

boolean

isIncludeZeroImpressions()

isIncludeZeroImpressions(): boolean|null

Whether report responses should include zero impression rows.

Returns

boolean|null