REST Resource: accounts.labels
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAccountLabel is a resource used by CSS domain or CSS group to label sub-accounts, containing information such as name, ID, type, display name, and description.\u003c/p\u003e\n"],["\u003cp\u003eLabels can be manually created or automatically generated by CSS Center, indicated by the LabelType.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage AccountLabels through methods like creating, deleting, listing, and updating them via the provided API endpoints.\u003c/p\u003e\n"],["\u003cp\u003eThe AccountLabel resource has a JSON representation that includes fields like name, labelId, accountId, labelType, displayName, and description, with specific data types and formats.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.labels\n\n- [Resource: AccountLabel](#AccountLabel)\n - [JSON representation](#AccountLabel.SCHEMA_REPRESENTATION)\n- [LabelType](#LabelType)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccountLabel\n----------------------\n\nLabel assigned by CSS domain or CSS group to one of its sub-accounts.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"labelId\": string, \"accountId\": string, \"labelType\": enum (/comparison-shopping-services/api/reference/rest/v1/accounts.labels#LabelType), \"displayName\": string, \"description\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the label. Format: accounts/{account}/labels/{label} |\n| `labelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The ID of the label. |\n| `accountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The ID of account this label belongs to. |\n| `labelType` | `enum (`[LabelType](/comparison-shopping-services/api/reference/rest/v1/accounts.labels#LabelType)`)` Output only. The type of this label. |\n| `displayName` | `string` The display name of this label. |\n| `description` | `string` The description of this label. |\n\nLabelType\n---------\n\nThe label type.\n\n| Enums ||\n|--------------------------|-------------------------------------------------------------------|\n| `LABEL_TYPE_UNSPECIFIED` | Unknown label type. |\n| `MANUAL` | Indicates that the label was created manually. |\n| `AUTOMATIC` | Indicates that the label was created automatically by CSS Center. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| ### [create](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/create) | Creates a new label, not assigned to any account. |\n| ### [delete](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/delete) | Deletes a label and removes it from all accounts to which it was assigned. |\n| ### [list](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/list) | Lists the labels owned by an account. |\n| ### [patch](/comparison-shopping-services/api/reference/rest/v1/accounts.labels/patch) | Updates a label. |"]]