resource_criteria_mgr_add

Back to SOAP Architecture Method Reference

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

Indicates the type of relationship between your criterion and the target resource.

  • 0 = Relationship between a criterion, and either a display unit or an ad copy.
  • 1 = Boolean AND display unit targeting relationship between a condition to either a bundle or campaign.
  • 2 = Boolean OR display unit targeting relationship between a condition to either a bundle or campaign.
  • 3 = Boolean NOT display unit targeting relationship between a condition to either a bundle or campaign.
  • 4 = Boolean AND display unit targeting relationship between a criterion to either a campaign or a bundle.
  • 5 = Boolean OR display unit targeting relationship between a criterion to either a campaign or a bundle.
  • 6 = Boolean NOT display unit targeting relationship between a criterion to either a campaign or a bundle.
  • 7 = Boolean AND frame targeting relationship between a criterion to either a campaign or a bundle.
  • 8 = Boolean OR frame targeting relationship between a criterion to either a campaign or a bundle.
  • 9 = Boolean NOT frame targeting relationship between a criterion to either a campaign or a bundle.
  • 10 = Relationship between a condition and a display unit.
  • 11 = Relationship between a grouping criterion and a display unit.
bstypes:ResourceCriteriaType O

Return Values

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