resource_criteria_mgr_add

Note: Each WSDL has a version number that increments independently of BroadSign Core. The parameters and return values on this page are for the most recent version. For more information, see Schema - About WSDL Versioning.

Back to API references

Description

The resource_criteria_mgr_add method adds a criterion to a resource on your domain.

You can configure the criterion to be available for assignment to any one of the following resources:

Parameters

Parameter Description Type Required (R) or Optional (O)
criteria_id The unique ID# of the criterion you are adding. bstypes:ResourceId R
domain_id The unique ID# of your domain. bstypes:ResourceId R
parent_id The unique ID# of the display unit to which the criterion will be applied. bstypes:ResourceId R
active Indicates whether or not the criterion is in an active state. Boolean O
type The criterion type:

  • 0 = None
  • 1 = Condition (AND)
  • 2 = Condition (OR)
  • 3 = Conditoin (NOT)
  • 4 = Display Unit Targeting (AND)
  • 5 = Display Unit Targeting (OR)
  • 6 = Display Unit Targeting (NOT)
  • 7 = Frame Targeting (AND)
  • 8 = Frame Targeting (OR)
  • 9 = Frame Targeting (NOT)
  • 10 = Condition
bstypes:ResourceCriteriaType O

Return Values

Value Description Type Required (R) or Optional (O)
id The unique ID# of the criterion added. bstypes:ResourceId R