Preference::findPreferenceByNameTypeAndUserId Method

Get a specific named preference for a given user by type and user id.

If the user preference does not exist:
For employees, use the brand preference.
For advertiser users and affiliate users, use the account preference.
If the account preference does not exist, the brand preference will be used.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
name String Name of the preference
type String Type of user ("employee", "advertiser" or "affiliate")
user_id IntegerID of User object

GET Response Notes

Preference value.

Return response will be in the following format: string.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.