Hi Anna,
Could you clarify if you would want to edit the final URL suffix of your existing ExpandedTextAd using the java client library? If so, then to do this, you can use the
mutate() method of the
AdService. Kindly refer to the attached sample code on how to do this.
If otherwise you would want to get list of your ads (in an ad group) together with their final URL suffix, then you may do this by adding the "AdGroupAdField.
CreativeFinalUrlSuffix" field to selector of this
code example. This can be also achieved via report through the use of
Ad Performance Report by including the
CreativeFinalUrlSuffix field.
Let me know if I misunderstood your concern.
Best regards,
Peter
AdWords API Team