For the complete documentation index, see llms.txt. This page is also available as Markdown.

Routing Rules

List all routing rules

get

Returns a list of all routing rules within a specific program.

Authorizations
AuthorizationstringRequired
Path parameters
AccountSIDstringRequired

The unique identifier for the account.

ProgramIdintegerRequired

The ID of the program the rules belong to.

Query parameters
NamestringOptional

Filter rules by name.

Conditionstring · enumOptionalPossible values:
Actionstring · enumOptionalPossible values:
Rankstring · enumOptionalPossible values:
Statestring · enumOptionalPossible values:
StartDateBeforestring · date-timeOptional

Return routing rules that start before a specific date and time (ISO 8601).

StartDateAfterstring · date-timeOptional

Return routing rules that start after a specific date and time (ISO 8601).

EndDateBeforestring · date-timeOptional

Return routing rules that end before a specific date and time (ISO 8601).

EndDateAfterstring · date-timeOptional

Return routing rules that end after a specific date and time (ISO 8601).

DateLastUpdateBeforestring · date-timeOptional

Return routing rules that were last updated before a specific date and time (ISO 8601).

DateLastUpdatedAfterstring · date-timeOptional

Return routing rules that were last updated after a specific date and time (ISO 8601).

DateCreatedBeforestring · date-timeOptional

Return routing rules that were created before a specific date and time (ISO 8601).

DateCreatedAfterstring · date-timeOptional

Return routing rules that were created after a specific date and time (ISO 8601).

CreatedBystringOptional

Return routing rules that were created by a specific account user.

LastUpdatedBystringOptional

Return routing rules that were last updated by a specific account user.

SourcestringOptional

From where the routing rule was created. Possible values:

  • GENERIC — Created via the Create-a-routing-rule endpoint or the Blocking and Redirect Technical Settings screen.
  • AD — Created when an associated ad was created.
  • COMPLIANCE — Created as the result of a Compliance violation.
  • TASK — Created from the web app's Task Management system.
Responses
200

A list of routing rule objects.

application/json
get/Advertisers/{AccountSID}/Programs/{ProgramId}/BlockRedirectRules
200

A list of routing rule objects.

Retrieve a routing rule

get

Retrieves the full object details for a specific routing rule.

Authorizations
AuthorizationstringRequired
Path parameters
AccountSIDstringRequired

The unique identifier for the account.

ProgramIdintegerRequired

The ID of the program the rule belongs to.

RuleIdintegerRequired

The unique identifier for the routing rule.

Responses
200

A single routing rule object.

application/json
IdstringOptional

The unique identifier for the routing rule.

Example: 50000
NamestringOptional

Name of the routing rule.

Example: Redirect 4
Actionstring · enumOptional

What traffic will experience if the routing rule is triggered.

Example: REDIRECTPossible values:
RedirectUrlstring · uriOptional

The destination URL for REDIRECT-type rules.

Example: http://impact.com
Rankstring · enumOptional

This determines the specific routing rule's rank in relation to others that have the same conditions.

Example: HIGHPossible values:
Statestring · enumOptional

What state of use the routing rule is in.

Example: RUNNINGPossible values:
Sourcestring · enumOptional

From where the routing rule was created.

Example: GENERICPossible values:
StartDatestring · date-time · nullableOptional

The date and time the rule becomes active.

Example: 2026-01-01T00:00:00-08:00
EndDatestring · date-time · nullableOptional

The date and time the rule expires.

Example: 2026-12-31T23:59:59-08:00
DateCreatedstring · date-timeOptional

The date and time the rule was created.

Example: 2019-10-28T17:53:01-04:00
DateLastUpdatedstring · date-timeOptional

The date and time the rule was last updated.

Example: 2019-10-28T17:53:01-04:00
CreatedBystringOptional

The account user that created the rule.

Example: ACME Corp
LastUpdatedBystringOptional

The account user that last updated the rule.

Example: ACME Corp
Uristring · uri-referenceOptional

The unique reference to this routing rule in the impact.com API.

Example: /Advertisers/<AccountSID>/Programs/1000/BlockRedirectRules/50000
get/Advertisers/{AccountSID}/Programs/{ProgramId}/BlockRedirectRules/{RuleId}
200

A single routing rule object.

Last updated