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:
- display unit
- frame
- ad copy
- condition
- all of the above
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.
|
bstypes:ResourceCriteriaType | O |
Return Values
Value | Description | Type | Required (R) or Optional (O) |
---|---|---|---|
id | The unique ID# of the criterion added. | bstypes:ResourceId | R |