Update the event’s status
HTTP method | Endpoint |
PATCH | /v1/offers/{offer_id}/offer_events/{event_id} |
Path parameters
Parameter | Description |
offer_id | The unique id for the offer. |
event_id | The unique id for the offer event. |
status | Status Can choose is active·paused. |
revenue | Event revenue. |
percent_revenue | Event percent revenue. |
payout | Event payout. |
percent_payout | Event percent payout. |
Note: To change event status to active, you will need t to reset revenue and payout if previous value is null.
Note: If is_private=1, you won’t be able to set payout and offer_payout_tier.
Response body parameters
Field | Type | Description | |
id | integer | The unique id for the event. | |
name | string | Offer Event name. | |
revenue_type | string | Event revenue type. Allowed values: RPC · RPA · RPS · RPA+RPS | |
revenue | string | Event revenue. | |
percent_revenue | string | Event percent revenue. | |
payout_type | string | Event payout type. Allowed values: CPC · CPA · CPS · CPA+CPS | |
payout | string | Event payout. | |
percent_payout | string | Event percent payout. | |
status | string | The status of the event. Allowed values: active paused | |
is_private | integer | Enabling this setting will track revenue of event only, affiliate do not have access to private events, custom affiliate payouts can not be set nor can 3rd party affiliate postbacks be placed. Allowed values: 1: Open 0: Close | |
approve_conversions | integer | Whether Conversions for this Offer must be manually approved. If enabled, Conversions will receive a "status" of "pending" when generated. Allowed values: 1: Open 0: Close | |
is_allowed_multiple | integer | Enabling this setting will allow multiple conversions to be recorded per user for only one click id. Allowed values: 1: Open 0: Close | |
is_end_point | integer | Enabling this setting will close the active click session when this event is converted. Allowed values: 1: Open 0: Close | |
conversion_protocol | integer | The Conversion tracking method to use for the offer event. Allowed values: 1 mage Pixel 2 ostback URL 3 Frame Pixel | |
offer_payout_tier | |||
tier_id | integer | The unique id for the tier. | |
tier_payout | string | Tier payout. |
Example request
Request PATCH
Request PATCH
Example response
Last updated