late 0.0.1291

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema). Request ids: responses carry an X-Request-Id header with the id we log the request under. Quote it when reporting a problem. A valid x-request-id you send is reused as that id.
Documentation
# CreateAdRuleRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** |  | 
**account_id** | **String** | The ads connection (account ID from `GET /v1/accounts`). | 
**ad_account_id** | **String** | Platform ad account ID, from `GET /v1/ads/accounts`. | 
**level** | [**models::AdRuleLevel**]AdRuleLevel.md |  | 
**campaign_ids** | Option<**Vec<String>**> | Only check these platform campaign IDs (or their ad sets). Leave out to check the whole ad account. | [optional]
**conditions** | [**models::AdRuleConditions**]AdRuleConditions.md |  | 
**actions** | [**Vec<models::AdRuleAction>**]AdRuleAction.md | Each type at most once, and at most one of `pause`, `activate` and `adjust_budget`. | 
**schedule** | Option<[**models::AdRuleSchedule**]AdRuleSchedule.md> | Leave it out to run every 60 minutes. | [optional]
**cooldown_minutes** | Option<**i32**> | How long the rule leaves an object alone after acting on it. | [optional][default to 1440]
**enabled** | Option<**bool**> |  | [optional][default to true]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)