Type description uploading

Information about uploaded user parameters

Attention.

Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

Response format

Information about uploaded user parameters


{
    "uploading" : {
        "id" :  < long > ,
        "create_time" :  < string > ,
        "content_id_type" :  < user_params_uploading_content_id_type > ,
        "action" :  < user_params_uploading_action > ,
        "status" :  < string > ,
        "comment" :  < string > 
    }
}
Parameters Description
id Upload ID.
create_time Upload time.
content_id_type Type of user identifiers.

Possible values

  • user_id — Site user ID assigned by site owner.
  • client_id — Site user ID assigned by Yandex.Metrica.
action Action which must be performed.

Possible values

  • delete_keys — deletion of parameters.
  • update — addition of parameters.
status

Upload status:

  • is_processed — Parameters have been uploaded after confirmation.
  • processed — Data has been processed correctly.
  • linkage_failure — During the upload, none of the transmitted IDs could be matched to a site user.
comment Arbitrary commentary.