Hi Priya,
Ad objects are immutable. If you want to make any changes to an Ad, you must remove the Ad, and create a new Ad. This will result in a new Ad ID, so stats for the old Ad and the new Ad will appear under separate IDs in reports.
It works in a similar way in the AdWords API. If you try to change any parameters of an Ad apart from its status, you would encounter an error. To add an updated Ad, I would recommend the following:
- Create the new Ad in Paused state.
- Wait for the new ad's approvalStatus to become APPROVED.
- Make a mutate request with two operations: i) set the new ad to ENABLED and ii) Set the old ad to DISABLED.
This ensures that the old Ad is removed only after the new Ad is running.
Regards,
Shwetha, AdWords API Team.