Are you looking to update your text ads to expanded text ads?
This tutorial would be of help, in that case. If not, unfortunately, all fields (except status) in an expanded text ad are immutable and therefore cannot be updated. Your best bet would be to update the status of the ad to DISABLED and then create a new ad. For that purpose, you could use the
AdGroupAdService.mutate.