Google Ads API -> AdWords

60 views
Skip to first unread message

constr...@gmail.com

unread,
May 6, 2022, 3:47:22 PM5/6/22
to Google Ads API and AdWords API Forum
Hey,

I'm having a problem with the development of the google ads API, when I get response from campaigns, it returns an error of failure to connect the addresses.

Error occurs when time traverse the return.

// Iterate over all rows in all pages and prints the requested field values for the
            // campaign in each row.
            foreach (var googleAdsRow in searchPagedResponse)
            {
                var row = new TableRow();
                row.Cells.Add(new TableCell()
                {
                    Text = googleAdsRow.Campaign.Id.ToString()
                });
                row.Cells.Add(new TableCell()
                {
                    Text = googleAdsRow.Campaign.Name
                });
                row.Cells.Add(new TableCell()
                {
                    Text = googleAdsRow.Campaign.Status.ToString()
                });
                CampaignTable.Rows.Add(row);
            }

The error is.

Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1651866174.649000000","description":"Failed to pick subchannel","file":"..\..\..\src\core\ext\filters\client_channel\client_channel.cc","file_line":3159,"referenced_errors":[{"created":"@1651866174.649000000","description":"failed to connect to all addresses","file":"..\..\..\src\core\lib\transport\error_utils.cc","file_line":147,"grpc_status":14}]}")

Google Ads API Forum Advisor

unread,
May 6, 2022, 4:00:46 PM5/6/22
to constr...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, could you please provide the complete request and response logs, with the request-id?

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 can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


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