User

The object contains user data and links to related objects.

Used in resources: User

Field nameTypeConditionsDescription
accountobjectreadableFinancial data of the user.
active_bannersintegerreadable min_value=-2147483647 max_value=2147483647Number of active banners.
additional_emailslist of emailreadable writableList of additional user's emails.
additional_infoAdditionalUserInforeadable writableThe object that contains additional information about the user.
agencyAgencyreadableUser agency information. It is returned only for the agency tokens acquired with the Client Credentials Grant method.
agency_usernamestringreadableMain user agency name, if applicable.
available_mailingslist of stringreadableUser available mailing lists.
branch_usernamestringreadableMain agency user name, if applicable.
currencystringreadable default_fieldUser currency.
emailemailreadable default_fieldEmail
firstnamestringreadable default_fieldFirst name
ididreadable default_field min_value=1 max_value=2147483647User ID.
info_currencystringreadable writable default_fieldUser currency.
languagestringreadable writable default_field
choices =
  • ru - Russian
  • en - English
User language.
lastnamestringreadable default_fieldLast name
mailingslist of stringreadable writableUser mailing lists.
max_active_bannersintegerreadable min_value=-2147483647 max_value=2147483647Maximum number of active banners.
permissionsobjectreadableList of user permissions specified in the following format: 'permission' -> 'true/false'. For example: {'can_create_ads': true}.
regionsUserRegionsreadableObject containing information about regions for installation when creating advertisements.
statusstringreadable writable default_field
choices =
  • active - Active
  • deleted - Deleted
  • blocked - Blocked
Status
typeslist of stringreadable default_fieldUser types.
usernamestringreadable default_fieldUser login in the service.