RE: The field mask updated a field with subfields

557 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Apr 6, 2022, 1:57:57 AM4/6/22
to crazy...@gmail.com, adwor...@googlegroups.com
Hi Eray,

Thanks for raising this concern to the Google Ads API Support team. Please note that our team can only provide support in English. If you keep sending your reply in different languages, then we will use Google translate to check your concern.

Moving forward to your concern, It seems that you've encountered the FIELD_HAS_SUBFIELDS error. The said error is when the field mask updated a field with subfields. Fields with subfields may be cleared, but not updated. For you to fix this kind of error, I would suggest the field mask should select all the subfields of the invalid field.

Let us know if you have further questions.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZKFLI:ref

Eray Bakır

unread,
Apr 6, 2022, 2:02:58 AM4/6/22
to Google Ads API and AdWords API Forum
First of all, thank you for the information. Sorry, I sent the message in Turkish due to a technical problem. Do you have a chance to share an example of your explanation above because I did not understand the explanation very well?

6 Nisan 2022 Çarşamba tarihinde saat 08:57:57 UTC+3 itibarıyla adsapi şunları yazdı:

Google Ads API Forum Advisor

unread,
Apr 6, 2022, 2:13:31 AM4/6/22
to crazy...@gmail.com, adwor...@googlegroups.com

Hi Eray,

Thanks for getting back to us.

Could you provide us with the complete request and response logs with the request-id generated for the error you’ve encountered, so our team can better check?

For the java client library, logging can be enabled by navigating to the Client libraries > Your client library (Select Java) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZKFLI:ref

Eray Bakır

unread,
Apr 6, 2022, 2:33:11 AM4/6/22
to Google Ads API and AdWords API Forum
"For you to fix this kind of error, I recommend that the field mask select all subfields of the invalid field." If you have a chance to post an example for Net SDK on this topic, it is enough for me.

6 Nisan 2022 Çarşamba tarihinde saat 09:13:31 UTC+3 itibarıyla adsapi şunları yazdı:

Google Ads API Forum Advisor

unread,
Apr 6, 2022, 5:28:28 AM4/6/22
to crazy...@gmail.com, adwor...@googlegroups.com

Hi Eray,

Thanks for getting back to us.

For your question “If you have a chance to post an example for Net SDK on this topic, it is enough for me.”, you may check this guide which helps you to generate field masks from a modified object instead of building them from scratch. However, I can see that complete request and response logs not provided as this will help our team to investigate further. If you still persists, please provide complete logs via privately for our investigation.

Regards,

Google Ads API Forum Advisor

unread,
Apr 7, 2022, 2:38:36 AM4/7/22
to crazy...@gmail.com, adwor...@googlegroups.com

Hi Eray,
 

Thanks for reaching out to the Google Ads API Support team.


With regards to your concern, I checked the error that you encountered "FIELD_HAS_SUBFIELDS" in Google Ads API documentation this error meaning is "The field mask updated a field with subfields. Fields with subfields may be cleared, but not updated. To fix this, the field mask should select all the subfields of the invalid field".
 

Also, If you want to know more about this error you can check this documentation FieldMaskError for more information on this.


Let us know if you have any further questions. 
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZKZ75:ref
Reply all
Reply to author
Forward
0 new messages