Associates a Cashflow Group with a Offer for the purpose of Revenue calculations. In doing so, if the rules of the Cashflow Group match and the Affiliate belongs to the group, the revenue specified in this model will be used. Only applicable to Offers which have the "use_revenue_groups" field set to "1".
Name | Type | Description |
---|---|---|
cashflow_group_id | Array | ID of Cashflow Group object whose rules and affiliates will be used |
offer_id | Integer | The Offer to which this Revenue Group is assigned. Cannot be modified after creation. |
id | Integer | ID of unique, auto-generated object for this RevenueGroupOffer This parameter is non-writable |
percent | Nullable Decimal | The percent of the amount to revenue. Must be set if the Offer has a "revenue_type" of "cpa_percentage" or "cpa_both". |
rate | Nullable Decimal | A flat amount to revenue. Must be set if the Offer has a "revenue_type" of "cpc", "cpm", "cpa_flat", or "cpa_both". |