Skip to main content
GET
Get an action rule

Authorizations

Authorization
string
header
required

A workspace-scoped key with read ability and actions.rules.index or actions.rules.show access to the bound account. Send Accept: application/json.

Path Parameters

workspace
integer
required

The workspace ID

action_rule
string
required

Query Parameters

account_id
integer

Optional account ID, ignored by an account-bound key. An unbound key requires exactly one active available advertising account with an active connection; omission uses that account and a supplied ID must match it. Multiple active accounts return 422 even when account_id is supplied.

Required range: x >= 1

Response

Rule with revisions and recent runs.

rule
object
required