Offer::getApprovedAffiliateIds Method

Returns IDs of all affiliates approved for a given offer.

  • If the offer is private or requires approval, this method returns affiliates who are approved for this offer.
  • If the offer is public, this method returns all affiliates except those who have been blocked from this offer.

See also Offer::getBlockedAffiliateIds, Offer::getUnapprovedAffiliateIds

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
id IntegerID of Offer object
sortSort Array of fields and directions to sort results by; note: only sortable field for this method is 'id'Show Sortable Fields
limitIntegerObjects per page to return; defaults to returning all found
pageIntegerResult page to return, based on limit value; defaults to 1

GET Response Notes

Array: list of Affiliate object IDs corresponding to affiliates approved for the offer

API Call Builder

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