listValues
Get a list of values of a user targeting characteristic.
Request format
Note
Pagination is available.
https://adfox.yandex.com/api/v1
? object=userCriteria
& action=listValues
& [criteriaID=<integer>]
& [objectID=<string>]
|
|
User characteristic ID. Allowed values: |
|
|
Characteristic value ID. |
Response format
<response>
<status>
<code>0</code>
</status>
<data>
<result>
<row0>
<criteriaID>1</criteriaID>
<ID>141140</ID>
<userID>14234</userID>
<name>Motorsport</name>
</row0>
</response>
Response parameters
|
|
Request processing status. A value of |
|
|
Number of items in the response tree. |
|
|
Item number in the response tree, where |
|
|
User characteristic ID. Allowed values: |
|
|
User characteristic value ID. |
|
|
The ID passed to the ad tag. |
|
|
Value name. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=userCriteria&action=listValues&criteriaID=8Response:
<response> <status> <code>0</code> </status> <data> <result> <row0> <criteriaID>1</criteriaID> <ID>141140</ID> <userID>14234</userID> <name>Motorsport</name> </row0> </response>
Other actions with the object
Read about other actions with the userCriteria object:
- Enable or edit a user characteristic.
- Add characteristic values.
- Edit a characteristic value.
- Delete a characteristic value.
User characteristic ID.
Allowed values: 1≤N≤63, where N is the characteristic index from 1 to 63 inclusive.
Characteristic value ID.