OfferTargeting::addTargetRuleToOffer Method

Associates a TargetRuleOffer with an Offer.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
rule_id IntegerThe TargetRule.id to assign to the Offer.
offer_id IntegerThe Offer.id to assign the rule to.
action StringThe rule action in {allow, deny}

POST Response Notes

The new TargetRuleOffer with attached TargetRule

Return response will be in the following format: ApiLibraryModelOfferTargetRuleOffer.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact [email protected] for technical support.