Hi Dmytro,

Thanks for reaching out. Please refer to the following code to update 
Responsive Search Ad with AdService.mutate() in Adwords API:

// Get the AdService.

AdGroupServiceInterface adService = adWordsServices.get(session, 
AdGroupServiceInterface.class);


// Create base class ad to avoid setting type specific fields.

Ad ad = new Ad();

ad.setId(adId);


// Here is the code to update the ad


// Create ad group ad.

AdGroupAd adGroupAd = new AdGroupAd();

adGroupAd.setAdGroupId(adGroupId);

adGroupAd.setAd(ad);


Please let me know if you have any further questions.


Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USwG27:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/w87qu000000000000000000000000000000000000000000000Q428PG00WA29jui8T8aTafETVbU3kQ%40sfdc.net.

Reply via email to