---
title: "PUT /userprofiles/{+profileId}/accountUserProfiles"
method: PUT
path: "/userprofiles/{+profileId}/accountUserProfiles"
tags: ["accountUserProfiles"]
---

# PUT /userprofiles/{+profileId}/accountUserProfiles

`PUT /userprofiles/{+profileId}/accountUserProfiles`

Updates an existing account user profile.

## Path parameters

- `profileId` string, required

## Request body

- AccountUserProfile — AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
  - `email` string — Email of the user profile. The email address must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
  - `accountId` string, int64 — Account ID of the user profile. This is a read-only field that can be left blank.
  - `campaignFilter` ObjectFilter — Object Filter.
    - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
    - `status` 'NONE' | 'ASSIGNED' | 'ALL' — Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
    - `objectIds` string[] — Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
  - `name` string — Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,".
  - `locale` string — Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional)
  - `advertiserFilter` ObjectFilter — Object Filter.
    - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
    - `status` 'NONE' | 'ASSIGNED' | 'ALL' — Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
    - `objectIds` string[] — Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
  - `userAccessType` 'NORMAL_USER' | 'SUPER_USER' | 'INTERNAL_ADMINISTRATOR' | 'READ_ONLY_SUPER_USER' — User type of the user profile. This is a read-only field that can be left blank.
  - `comments` string — Comments for this user profile.
  - `userRoleFilter` ObjectFilter — Object Filter.
    - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
    - `status` 'NONE' | 'ASSIGNED' | 'ALL' — Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
    - `objectIds` string[] — Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
  - `id` string, int64 — ID of the user profile. This is a read-only, auto-generated field.
  - `active` boolean — Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
  - `siteFilter` ObjectFilter — Object Filter.
    - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
    - `status` 'NONE' | 'ASSIGNED' | 'ALL' — Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
    - `objectIds` string[] — Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
  - `userRoleId` string, int64 — User role ID of the user profile. This is a required field.
  - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
  - `traffickerType` 'INTERNAL_NON_TRAFFICKER' | 'INTERNAL_TRAFFICKER' | 'EXTERNAL_TRAFFICKER' — Trafficker type of this user profile. This is a read-only field.
  - `subaccountId` string, int64 — Subaccount ID of the user profile. This is a read-only field that can be left blank.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dfareporting.md) · [All operations](https://skmtc.net/google/apis/dfareporting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dfareporting/versions/8163d57aeb31/schema)
