Hello everyone. Here are an example that worked for us after upgrading Google API packages.
Create method as ASYNC TASK<>, call MutateUserListsAsync instead of MutateUserListsA including await. private async Task<MutateUserListsResponse> (before: string) CreateCustomerMatchUserList(long customerId, string projeto) { // Get the UserListService. UserListServiceClient service = client.GetService (Services.V13.UserListService); // Creates the user list. UserList userList = new UserList() { Name = projeto, Description = "Dataseek - DataMidias", // Customer Match user lists can use a membership life span of 10000 to // indicate unlimited; otherwise normal values apply. // Sets the membership life span to 30 days. MembershipLifeSpan = 120, CrmBasedUserList = new CrmBasedUserListInfo() { UploadKeyType = CustomerMatchUploadKeyType.ContactInfo } }; // Creates the user list operation. UserListOperation operation = new UserListOperation() { Create = userList }; // Issues a mutate request to add the user list and prints some information. string userListResourceName ="ND"; MutateUserListsResponse response = new MutateUserListsResponse(); try { response = await service.MutateUserListsAsync( customerId.ToString(), new[] { operation }) ; } catch (GoogleAdsException ex) { string message = ex.Message; string failure = ex.Failure.ToString(); string request_id = ex.RequestId; } return response; } Em terça-feira, 14 de março de 2023 às 10:36:08 UTC-3, Dataseek Business Solutions escreveu: > Thanks for your answer. I will try some changes here. > > Em segunda-feira, 13 de março de 2023 às 12:42:35 UTC-3, Zweitze escreveu: > >> Is the target .NET Framework? I mean: not .NET Core, .NET standard. >> Then it could be a problem of the library. >> >> Check if any call to the API hangs. If so, check out: >> https://github.com/googleads/google-ads-dotnet/issues/488 >> https://github.com/googleads/google-ads-dotnet/issues/480 >> >> Extra proof could be obtained to downgrade the library to a version >> before 14.0.0. >> That would also mean you have to go back to V11. But, for a quick test, >> it's really worth it. >> >> The solution is to use async methods, and that is a very painfull >> process. If you're upgrading to V12, which sunsets in two weeks or so, you >> could be looking at weeks of development - depending on your capabilities >> with C# (esp. your proficiency with async coding) and the amount of your >> code. >> >> >> On Friday, March 10, 2023 at 4:23:24 PM UTC+1 Dataseek Business Solutions >> wrote: >> >>> Hello there, >>> >>> >>> If the request hangs , I dont get any responses. >>> >>> Its just a NO RESPONSE problem, so no log here. >>> >>> >>> >>> I GOT CONNECTED AND CAN RETRIEVE MY CUSTOMERS HERE: >>> >>> * var customerResourceNames = >>> customerService.ListAccessibleCustomers();* >>> >>> >>> My code wasnt very clear? Here goes again, DONT GET RESPONSE FROM >>> >>> >>> >>> >>> >>> >>> *UserListServiceClient service = >>> client.GetService(Services.V12.UserListService); // Creates the >>> user list. UserList userList = new UserList() {* >>> * Name = "PROJECT NAME",* >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> * Description = "Database users", // >>> Customer Match user lists can use a membership life span of 10000 to >>> // indicate unlimited; otherwise normal values apply. >>> // Sets the membership life span to 30 days. >>> MembershipLifeSpan = 90, CrmBasedUserList = new >>> CrmBasedUserListInfo() { UploadKeyType = >>> CustomerMatchUploadKeyType.ContactInfo } }; >>> // Creates the user list operation. UserListOperation >>> operation = new UserListOperation() { Create = >>> userList }; string userListResourceName = "ND"; >>> // Issues a mutate request to add the user list and prints some >>> information. * >>> >>> MutateUserListsResponse response = >>> service.MutateUserLists(customerId.ToString(), new[] { operation }); >>> >>> HANGS HERE. OK? >>> >>> >>> >>> >>> Em sexta-feira, 10 de março de 2023 às 03:57:49 UTC-3, Google Ads API >>> Forum Advisor escreveu: >>> >>>> Hi, >>>> >>>> Thank you for reaching out to us. >>>> >>>> Could you kindly elaborate and provide more details on your concern, so >>>> that we could provide precise guidance accordingly? We would also need >>>> your >>>> help in providing us with the complete API logs (*request* >>>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> >>>> and *response* >>>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> >>>> with *request-id* >>>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>) >>>> >>>> generated on your end so that we can further check if you encountered any >>>> API errors and if the request was done correctly. >>>> >>>> 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. >>>> >>>> Best regards, >>>> [image: Google Logo] Google Ads API Team >>>> >>>> ref:_00D1U1174p._5004Q2jXtVV:ref >>>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/5ef3acaf-5637-42bb-b02d-690cf79a1222n%40googlegroups.com.