Permission
The Permission enum represents an operation the caller is permitted to perform on a resource, such as a campaign or an ad group. The permissions field is read-only.
¶ Values
| Value | Description |
|---|---|
READ |
The caller can read the resource |
UPDATE |
The caller can update the resource |
DELETE |
The caller can delete the resource |
¶ How permissions are determined
- Where it applies. Permissions are returned on resources such as campaigns and ad groups.
- Derived from access. The set of permissions returned reflects what the caller is allowed to do based on their access to the resource’s underlying stores. A caller who can only read a resource receives
[READ], while a caller who can also manage it receivesREAD,UPDATE, and (where applicable)DELETE. - Enforcement. The field is read-only and advisory: attempting an operation that is not present in a resource’s
permissionsis rejected. - Store-level visibility. For user store group ad accounts, access is evaluated per ad group. A caller only sees ad groups for which they have access to every store in that ad group; ad groups that include stores the caller cannot access are not returned at all.