Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AccountUserProfile

import type { AccountUserProfile } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";

AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.

interface AccountUserProfile {
accountId?: bigint;
active?: boolean;
advertiserFilter?: ObjectFilter;
campaignFilter?: ObjectFilter;
comments?: string;
email?: string;
id?: bigint;
kind?: string;
locale?: string;
name?: string;
siteFilter?: ObjectFilter;
subaccountId?: bigint;
traffickerType?: "INTERNAL_NON_TRAFFICKER" | "INTERNAL_TRAFFICKER" | "EXTERNAL_TRAFFICKER";
userAccessType?:
| "NORMAL_USER"
| "SUPER_USER"
| "INTERNAL_ADMINISTRATOR"
| "READ_ONLY_SUPER_USER";
userRoleFilter?: ObjectFilter;
userRoleId?: bigint;
}

§Properties

§
accountId?: bigint
[src]

Account ID of the user profile. This is a read-only field that can be left blank.

§
active?: boolean
[src]

Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.

§
advertiserFilter?: ObjectFilter
[src]

Filter that describes which advertisers are visible to the user profile.

§
campaignFilter?: ObjectFilter
[src]

Filter that describes which campaigns are visible to the user profile.

§
comments?: string
[src]

Comments for this user profile.

§
email?: string
[src]

Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.

§
id?: bigint
[src]

ID of the user profile. This is a read-only, auto-generated field.

§
kind?: string
[src]

Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".

§
locale?: string
[src]

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)

§
name?: string
[src]

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: "&;<>"#%,".

§
siteFilter?: ObjectFilter
[src]

Filter that describes which sites are visible to the user profile.

§
subaccountId?: bigint
[src]

Subaccount ID of the user profile. This is a read-only field that can be left blank.

§
traffickerType?: "INTERNAL_NON_TRAFFICKER" | "INTERNAL_TRAFFICKER" | "EXTERNAL_TRAFFICKER"
[src]

Trafficker type of this user profile. This is a read-only field.

§
userAccessType?: "NORMAL_USER" | "SUPER_USER" | "INTERNAL_ADMINISTRATOR" | "READ_ONLY_SUPER_USER"
[src]

User type of the user profile. This is a read-only field that can be left blank.

§
userRoleFilter?: ObjectFilter
[src]

Filter that describes which user roles are visible to the user profile.

§
userRoleId?: bigint
[src]

User role ID of the user profile. This is a required field.