listValues
Get a list of values of a user targeting characteristic.
Request format
Note
Pagination available.
https://adfox.yandex.com/api/v1
? object=userCriteria
& action=listValues
& [criteriaID=<integer>]
& [objectID=<string>]
|
User characteristic ID. Acceptable values: |
|
Characteristic value ID. |
* Required
Response format
<response>
<status>
<code>{integer}</code>
</status>
<result>
<data>
<row0>
<criteriaID>{integer}</criteriaID>
<ID>{integer}</ID>
<userID>{integer}</userID>
<name>{string}</name>
</row0>
</data>
</result>
</response>
Response parameters
|
Request processing status. For the key, see Error handling. |
|
The number of items in the response tree. |
|
The item number in the response tree, where N is a number from 0 to rows-1 (where |
|
User characteristic ID. Acceptable values: |
|
User characteristic value ID. |
|
The ID that's passed to the ad tag. |
|
Value name. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=userCriteria&action=listValues&criteriaID=8
Response:
<response> <status> <code>0</code> </status> <result> <data> <row0> <criteriaID>1</criteriaID> <ID>141140</ID> <userID>14234</userID> <name>Motorsport</name> </row0> </data> </result> </response>
Other actions with the object
See also 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.
Acceptable values: 1≤N≤63
, where N is the characteristic number from 1 to 63 inclusive.
Characteristic value ID.
Required