Hello Bharani, thank you very much. That worked fine. To understand the point of field mask, to i only have to reference the resource, i want to mutate? In my case, it was "campaign". If i want to update an AdGroup, the field mask is fm = protobuf_helpers.field_mask(None, ad_group) ?
Thanks Michael Am Freitag, 5. April 2019 20:41:03 UTC+2 schrieb googleadsapi-forumadvisor: > > Hello Michael, > > Regret the delay. I was checking with the team regarding this. The > FIELD_NOT_FOUND error is because the field mask is incorrect. You can also > calculate this using fm = protobuf_helpers.field_mask(None, campaign) > Please refer to our code sample > <https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/update_campaign.py#L40> > as > a reference. > > Can you try fixing the field mask and setting the value as > campaign.target_roas.target_roas.value = 10.0? If you're facing an issue, > could you share the request Id so I can check this internally? > > Let me know if you are facing an issue. > > Thanks, > Bharani, Google Ads API Team > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > https://ads-developers.googleblog.com/search/label/google_ads_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. 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/6eeda328-4a79-4611-bd54-d4ccc64fca27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
