Hi,
As it was stated there I need to remove the ad and add new one
Despite the fact I tried to do it in this way;
AdGroupAd textAdGroupAd = new AdGroupAd();
textAdGroupAd.adGroupId = adGroupId; //Id of existing ad group
textAdGroupAd.ad = textAd; //Id of existing ad that I want to be altered
// Create the operation.
AdGroupAdOperation operation = new AdGroupAdOperation();
operation.@operator = Operator.SET;
operation.operand = textAdGroupAd;
And actually it was a success. In history I see that the ad was removed and added a new one. As I understood the removal process was made under the hood.
Is it ok to do so? Or I'm misusing the API?