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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Ads Ad Manager V1 Client - Class Flag (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/googleads/ad-manager/latest/V1.Report.Flag)\n- [0.1.0](/php/docs/reference/googleads/ad-manager/0.1.0/V1.Report.Flag) \nReference documentation and code samples for the Google Ads Ad Manager V1 Client class Flag.\n\nA flag for a report. Flags are used show if certain thresholds are met.\n\nResult rows that match the filter will have the corresponding\nMetricValueGroup.flagValues index set to true.\nFor more information about flags see:\n\u003chttps://support.google.com/admanager/answer/15079975\u003e\n\nGenerated from protobuf message `google.ads.admanager.v1.Report.Flag`\n\nNamespace\n---------\n\nGoogle \\\\ Ads \\\\ AdManager \\\\ V1 \\\\ Report\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFilters\n\nRequired. Filters to apply for the flag.\n\n### setFilters\n\nRequired. Filters to apply for the flag.\n\n### getName\n\nOptional. Name of the flag.\n\nThe flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to\nthe colored flags that appear in the UI. The UI will not display flags\nwith other names, but they are available for use by API clients.\n\n### setName\n\nOptional. Name of the flag.\n\nThe flag names RED, YELLOW, GREEN, BLUE, PURPLE, and GREY correspond to\nthe colored flags that appear in the UI. The UI will not display flags\nwith other names, but they are available for use by API clients."]]