Jump to: Examples of JSON Values | GET Response Notes | API Call Builder
Sets all the offer payout groups for an offer, purging any previous groups that were set for the offer, updating
any existing ones which are passed with an id, and creating new ones that lack an id.
Name | Type | Description |
---|---|---|
NetworkId | Url | Network ID |
NetworkToken | String | Network token |
Target | String | This calls action target |
Method | String | This calls action method |
offer_id | Integer | ID of Offer object whose payout groups are being set |
offer_payout_groups_json | String | A JSON-encoded array of offer payout groups |
Examples of JSON Values
Adding two CPA payout groups
offer_payout_groups_json: [{"cashflow_group_id":"51","rate":"25.00"},{"cashflow_group_id":"59","rate":"10.00"}]
Adding two CPS payout groups
offer_payout_groups_json: [{"cashflow_group_id":"51","percent":"25.00"},{"cashflow_group_id":"59","percent":"10.00"}]
GET Response Notes
Return response will be in the following format: void.
API Call Builder
Javascript is required to use the API Call Builder.