OfferTargeting::getActiveUsesOfRule Method

Returns all active offers and cashflow groups (if enabled) that reference a specific TargetRule.

These dependencies are affected whenever a TargetRule is modified.
In order to remove a TargetRule there must not be any active offers or any cashflow rules referencing it.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
rule_id IntegerThe TargetRule.id

GET Response Notes

Returns an associative array with two indexes: offers, cashflow_groups, each of which
contains objects with 'id' and 'name' representing all the active offers and cashflow groups
that reference the specified targeting rule.
If this brand does not have the enable_cashflow_groups preference enabled, only returns
the offers count.

Return response will be in the following format: array[].

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.