FieldsMask.FromChanges doesn't seem to be working as expected

28 views
Skip to first unread message

Vlad Kuznetsov

unread,
Jul 13, 2021, 11:55:08 PM7/13/21
to AdWords API and Google Ads API Forum
Hi,

I am using Google Ads Api Client Library for dotnet.

When I load the same user list twice and then call
FieldMasks.FromChanges(userList, userList);
as the result I get the UpdateMask object with 10 paths set.

{[ "id", "read_only", "name", "description", "integration_code", "membership_life_span", "size_for_display", "size_for_search", "eligible_for_search", "eligible_for_display" ]}

I would expect the number of the elements in the mask's Paths to be zero since the user list hasn't obviously changed.

Is this by design or it is a bug?

Thank you,
Vlad.

Google Ads API Forum Advisor

unread,
Jul 15, 2021, 4:35:31 AM7/15/21
to adwor...@googlegroups.com

Hi Vlad,

Thanks for reaching out to us. Could you provide the complete request and response logs, along with the request-id so that we could provide specific recommendations?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. 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._5004Q2Kc681:ref

Vlad Kuznetsov

unread,
Jul 16, 2021, 5:15:21 PM7/16/21
to AdWords API and Google Ads API Forum
Hi Yasar,

Not sure if this is applicable. In this case there are no requests or responses available. The method above executed completely on the local machine.

Regards,
Vlad.

Google Ads API Forum Advisor

unread,
Jul 20, 2021, 11:02:01 PM7/20/21
to adwor...@googlegroups.com
Hi Vlad, 

I work with Yasar and allow me to assist you as well.

So that our team may better understand the issue, could you provide more details on how you performed loading the userlists "When I load the same user list twice and then call FieldMasks.FromChanges(userList, userList);"?

Did you invoke any API service using its (get, add, create, remove) methods? If yes, then if you have enabled logging, its request and response logs should be generated. From those logs, our team can then check the behavior of the response if it is working as expected. That said, it would greatly help our team if you could provide the said logs.

If those are available, you may send them over to our team privately or directly to our alias as Yasar earlier recommended.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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