--- title: CampaignRule --- :::error **The Ruby SDK is deprecated as of 9/16/2020** The Genesys Cloud Ruby SDK (v96.0.0) will be frozen at its current version level. Any new enhancements to our API or bug fixes will not be backported. If you do need to take advantage of new features or bug fixes outside the Genesys Cloud Ruby SDK, you will need to use the Genesys Cloud REST endpoints directly. More information can be found in the [Official Announcement](https://developer.mypurecloud.com/forum/t/announcement-genesys-cloud-ruby-sdk-end-of-life/8850). ::: ## PureCloud::CampaignRule ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **id** | **String** | The globally unique identifier for the object. | [optional] | | **name** | **String** | The name of the CampaignRule. | | | **date_created** | **DateTime** | Creation time of the entity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **date_modified** | **DateTime** | Last modified time of the entity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **version** | **Integer** | Required for updates, must match the version number of the most recent update | [optional] | | **campaign_rule_entities** | [**CampaignRuleEntities**](CampaignRuleEntities.html) | The list of entities that this CampaignRule monitors. | | | **campaign_rule_conditions** | [**Array<CampaignRuleCondition>**](CampaignRuleCondition.html) | The list of conditions that are evaluated on the entities. | | | **campaign_rule_actions** | [**Array<CampaignRuleAction>**](CampaignRuleAction.html) | The list of actions that are executed if the conditions are satisfied. | | | **match_any_conditions** | **BOOLEAN** | | [optional] | | **enabled** | **BOOLEAN** | Whether or not this CampaignRule is currently enabled. Required on updates. | [optional] | | **self_uri** | **String** | The URI for this object | [optional] | {: class="table table-striped"}