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 StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
name StringName of the preference
type StringType 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.