criteria_mgr_add

Back to SOAP Architecture Method Reference

Description

The criteria_mgr_add method adds a criterion to your domain.

Parameters

Parameter Description Type Required (R) or Optional (O)
domain_id The unique ID# of your domain. bstypes:ResourceId R
name The name of the criterion. string R
type

The criterion type.

Note: The values in the request are a bitmask of the following values:

  • All = 0×0
  • Display unit = 0×1
  • Skin (frame) = 0×2
  • Content (ad copy) = 0×4
  • Condition = 0×8
int R
attributes The attributes of the criterion. string O
container_id The unique ID# of the criterion folder. bstypes:ResourceId O
geo_data The latitudinal and longitudinal geofencing data. string O

Return Values

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