Hi Teja, thanks for your response and following up with your team.
There's an interesting thing I just realized when playing around with the AdService. No matter which fields you actually specify in the selector, the service will always return a minimum set of fields. To illustrate, if you just list "Id" in your selector, you'll get back the following fields for all Ad objects: id url displayUrl finalUrls finalMobileUrls finalAppUrls trackingUrlTemplate finalUrlSuffix urlCustomParameters urlData automated type devicePreference systemManagedEntitySource Ad.Type headlinePart1 headlinePart2 headlinePart3 description description2 path1 path2 Interestingly, up until Ad.Type, these are just the attributes of the base Ad type. But the following ones seem to just apply for ExpandedTextAd. It gets stranger still, however: If you actually request an ad object of type ExpandedTextAd, then these extra fields are *not populated *if your selector just lists "Id". You'll need to explicitely include headlinePart1 in the selector to get an actual value for that attribute, even though it's always included in the response. Same goes for headlinePart2 etc. I find this a bit confusing. Obviously, the service would ideally always return the required/relevant set of attributes for the given ad type of the returned object. Best regards, Dorian On Monday, 22 October 2018 18:16:34 UTC+2, Teja Makani wrote: > > Hello Dorlan, > > I am Bharani's colleague, responding on this thread as she is not > available. It seems like there is no workaround, you have to pass all the > required fields to the AdService. However, I understand your concern and > shared it with our team to see whether there is any simplified process. I > will get back to you once i get more information on this concern. > > Regards, > Sai Teja, AdWords API Team. > > On Wednesday, July 11, 2018 at 8:00:49 AM UTC-4, Yang Gao wrote: >> >> Hi, I'm trying to use AdService to update only the final url of some >> existing ads but I'm getting errors saying that headline and description >> etc are required. Is there on way to update just specific components of the >> ad rather than all parts of it? If so, what's the benefit of editing vs >> just creating an entirely new ad? >> >> Thanks, >> Yang >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/2a7d54ff-0291-4b4d-b4f8-6afab61afb0e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.