Hi Ankit,
Thank you for posting your concern.
If you want to add a new criterion, you need to use the 'ADD' operator in order
to do it. However, please note the old criterion will not be removed
automatically when you will add a new criterion.
Furthermore, you need to use the CampaignCriterion
When I update a campaign with a new criterion using operator 'SET', I am
getting an error saying 'INVALID ID'. But if I use 'ADD' operator it adds
the new criterion but doesn't remove the earlier one.
shall I remove the non-required criterions and then add the new one? I
don't know I am confused