Reference documentation and code samples for the Google Ads Ad Manager V1 Client class FieldFilter.
A filter on a specific field.
Generated from protobuf message google.ads.admanager.v1.Report.Filter.FieldFilter
Namespace
Google \ Ads \ AdManager \ V1 \ Report \ FilterMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ field
↳ operation
int
Required. The operation of this filter.
↳ values
↳ slice
↳ time_period_index
int
Optional. When using time period columns, use this to filter on a specific column.
↳ metric_value_type
int
Optional. Use to specify which metric value type to filter on. Defaults to PRIMARY.
getField
Required. The field to filter on.
hasField
clearField
setField
Required. The field to filter on.
$this
getOperation
Required. The operation of this filter.
int
setOperation
Required. The operation of this filter.
var
int
$this
getValues
Required. Values to filter to.
setValues
Required. Values to filter to.
$this
getSlice
Optional. Use to filter on a specific slice of data.
hasSlice
clearSlice
setSlice
Optional. Use to filter on a specific slice of data.
$this
getTimePeriodIndex
Optional. When using time period columns, use this to filter on a specific column.
int
hasTimePeriodIndex
clearTimePeriodIndex
setTimePeriodIndex
Optional. When using time period columns, use this to filter on a specific column.
var
int
$this
getMetricValueType
Optional. Use to specify which metric value type to filter on. Defaults to PRIMARY.
int
hasMetricValueType
clearMetricValueType
setMetricValueType
Optional. Use to specify which metric value type to filter on. Defaults to PRIMARY.
var
int
$this