REST Resource: subaccounts
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Subaccount
Contains properties of a Campaign Manager subaccount.
JSON representation |
{
"id": string,
"name": string,
"accountId": string,
"availablePermissionIds": [
string
],
"kind": string
} |
Fields |
id |
string (int64 format)
ID of this subaccount. This is a read-only, auto-generated field.
|
name |
string
Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
|
accountId |
string (int64 format)
ID of the account that contains this subaccount. This is a read-only field that can be left blank.
|
availablePermissionIds[] |
string (int64 format)
IDs of the available user role permissions for this subaccount.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#subaccount"
.
|
Methods |
|
Gets one subaccount by ID. |
|
Inserts a new subaccount. |
|
Gets a list of subaccounts, possibly filtered. |
|
Updates an existing subaccount. |
|
Updates an existing subaccount. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eThe Subaccount resource represents a Campaign Manager subaccount and contains properties like ID, name, and permissions.\u003c/p\u003e\n"],["\u003cp\u003eSubaccounts have a unique ID, name (less than 128 characters and unique within the account), and belong to a specific account.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage subaccounts through methods like get, insert, list, patch, and update to retrieve, create, and modify them.\u003c/p\u003e\n"]]],[],null,["# REST Resource: subaccounts\n\n- [Resource: Subaccount](#Subaccount)\n - [JSON representation](#Subaccount.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Subaccount\n--------------------\n\nContains properties of a Campaign Manager [subaccount](https://support.google.com/dcm/answer/2829448).\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"name\": string, \"accountId\": string, \"availablePermissionIds\": [ string ], \"kind\": string } ``` |\n\n| Fields ||\n|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of this subaccount. This is a read-only, auto-generated field. |\n| `name` | `string` Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account. |\n| `account``Id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of the account that contains this subaccount. This is a read-only field that can be left blank. |\n| `available``Permission``Ids[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` IDs of the available user role permissions for this subaccount. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#subaccount\"` . |\n\n| Methods ------- ||\n|-------------------------------------------------------------------|------------------------------------------------|\n| ### [get](/doubleclick-advertisers/rest/v4/subaccounts/get) | Gets one subaccount by ID. |\n| ### [insert](/doubleclick-advertisers/rest/v4/subaccounts/insert) | Inserts a new subaccount. |\n| ### [list](/doubleclick-advertisers/rest/v4/subaccounts/list) | Gets a list of subaccounts, possibly filtered. |\n| ### [patch](/doubleclick-advertisers/rest/v4/subaccounts/patch) | Updates an existing subaccount. |\n| ### [update](/doubleclick-advertisers/rest/v4/subaccounts/update) | Updates an existing subaccount. |"]]