Offer::getApprovedAffiliateIds Method

Returns the affiliate IDs of all affiliates approved for a given offer. If the offer is public, this method returns IDs of all affiliates except those who have been blocked from this offer. If the offer is private or requires approval, this method returns IDs of affiliates who are approved for this offer.

See also Offer::getBlockedAffiliateIds, Offer::getUnapprovedAffiliateIds

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
id IntegerID of Offer object
sortSortSort by fields and directions 'asc' or 'desc'. Note: The only sortable field for this method is "id".Show Sortable Fields
limitIntegerLimit the number of items returned per page. Defaults to returning all found.
pageIntegerPage by the limit of items returned. Defaults to page 1.

GET Response Notes

Returns an array of affiliate 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.