Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Flag.
A flag for a report. Flags are used show if certain thresholds are met.
Result rows that match the filter will have the corresponding MetricValueGroup.flagValues index set to true. For more information about flags see: https://support.google.com/admanager/answer/15079975
Generated from protobuf message google.ads.admanager.v1.Report.Flag
Namespace
Google \ Ads \ AdManager \ V1 \ ReportMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ filters |
array<Google\Ads\AdManager\V1\Report\Filter>
Required. Filters to apply for the flag. |
↳ name |
string
Optional. Name of the flag. The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to the colored flags that appear in the UI. The UI will not display flags with other names, but they are available for use by API clients. |
getFilters
Required. Filters to apply for the flag.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFilters
Required. Filters to apply for the flag.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Ads\AdManager\V1\Report\Filter>
|
Returns | |
---|---|
Type | Description |
$this |
getName
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to the colored flags that appear in the UI. The UI will not display flags with other names, but they are available for use by API clients.
Returns | |
---|---|
Type | Description |
string |
setName
Optional. Name of the flag.
The flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to the colored flags that appear in the UI. The UI will not display flags with other names, but they are available for use by API clients.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |