AmbireTech / adex-interface

ADX platform v5 as plugin for ambire-wallet
GNU General Public License v3.0
0 stars 0 forks source link

Edit active campaigns #223

Closed ivopaunov closed 1 month ago

ivopaunov commented 1 month ago

Add functionallity to edit active campaigns

backen route is not ready but the body will be


pricingBounds: Joi.object({
        [EventType.IMPRESSION]: Joi.object({
            min: Joi.number().required(),
            max: Joi.number().required()
        }).required(),
        [EventType.CLICK]: Joi.object({
            min: Joi.number().required(),
            max: Joi.number().required()
        }).required()
    }),
targetingInput: Joi.object({
        version: Joi.string().required(),
        inputs: Joi.object({
            location: targetingInputSingle.required(),
            categories: targetingInputSingle.required(),
            advanced: Joi.object({
                includeIncentivized: Joi.boolean().required(),
                disableFrequencyCapping: Joi.boolean().required(),
                limitDailyAverageSpending: Joi.boolean().required()
            }).required()
        }).required()
    })
}```

and campaign id in the route 
ivopaunov commented 1 month ago

keep stop/pause for admins - just in case

ivopaunov commented 1 month ago

backen update https://github.com/AmbireTech/adex-backend/pull/257