modifyValue

Edit the values of a user targeting characteristic.<

Request format

https://adfox.yandex.com/api/v1
  ? object=userCriteria
  & action=modifyValue
  & criteriaID=<integer>
  & objectID=<integer>
  & userID=<integer>
  & name=<string>

criteriaID*

User characteristic ID.

Acceptable values: 1≤N≤63, where N is the characteristic number from 1 to 63 inclusive.

objectID*

Characteristic value ID.

See also:

userID*

The ID passed to the ad tag.

name*

Object name. It can contain Russian and Latin letters, numbers, and any symbols.

* Required

Response format

<response>
<status>
  <code>{integer}</code>
</status>
</response>

Response parameters

code

Request processing status. For the key, see Error handling.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=userCriteria&action=modifyValue&criteriaID=8&objectID=1345&userID=3799&name=woman

Response:

<response>
<status>
  <code>0</code>
</status>
</response>

Other actions with the object

See also other actions with the userCriteria object:

User characteristic ID.

Acceptable values: 1≤N≤63, where N is the characteristic number from 1 to 63 inclusive.

Characteristic value ID.

See also:

The ID passed to the ad tag.

Object name. It can contain Russian and Latin letters, numbers, and any symbols.

Required

Previous