Policy

One policy rule

Returns one policy rule of the project with its parameters and scope.

get/projects/{project_id}/policy-rules/{rule_id}

Request

  • Base URL: https://adslighthouse.com/api/v1
  • URL: https://adslighthouse.com/api/v1/projects/{project_id}/policy-rules/{rule_id}
  • Auth: HTTP bearer

Path parameters

project_idstring required

The project: its id, its brand domain (for example nike.example) or its exact project or brand name. Unknown or ambiguous references return not_found; call list_projects then.

rule_idstring required

The policy rule id from list_policy_rules.

Response

One policy rule

idstring required
project_idstring required
namestring required
type'forbidden_terms' | 'brand_term' | 'direct_linking' | 'promo_code' | 'position_limit' | 'affiliate_id' required
enabledboolean required
readableboolean required

False when the stored configuration no longer parses; such a rule is skipped.

open_casesinteger required
created_atstring required
updated_atstring required
request_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.