c# Services.V10.GoogleAdsService API keep failing

142 views
Skip to first unread message

Cesar Garcia

unread,
Apr 27, 2022, 8:38:40 AM4/27/22
to Google Ads API and AdWords API Forum
Hello everyone,

I'd like some help to figure out whats the issue regarding Services.V10.GoogleAdsService

The code is 

                var query =
                    @"SELECT
                            campaign.id,
                            campaign.name,
                            campaign.network_settings.target_content_network
                        FROM campaign
                        ORDER BY campaign.id";


                var googleAdsService = client.GetService(
                    Services.V10.GoogleAdsService);


                var responses = new List<SearchGoogleAdsStreamResponse>();
                googleAdsService.SearchStream(config.LinkedCustomerId, query,
                    delegate (SearchGoogleAdsStreamResponse resp)
                    {
                        responses.Add(resp);
                    }
                );

the response is 

Status(StatusCode="Internal", Detail="Internal error encountered.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1651062971.466000000","description":"Error received from peer ipv4:172.217.162.106:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":1070,"grpc_message":"Internal error encountered.","grpc_status":13}")

Best regards
Cesar Garcia

Cesar Garcia

unread,
Apr 27, 2022, 12:54:27 PM4/27/22
to Google Ads API and AdWords API Forum
Here are some log files.
summary.log
details.log

Google Ads API Forum Advisor

unread,
Apr 28, 2022, 6:20:00 AM4/28/22
to ces...@gmail.com, adwor...@googlegroups.com
Hi Cesar,

Thank you for reaching out to us.

For our team better check on this and to have a full picture on the error you may have encountered, can you share to us privately the complete API logs (request and response logs with request ID ) so our team can further check?

You may then send the requested logs 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.

Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled.

This is the specific guideline for .Net to enable it.

.Net - https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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