Google Ads API V8 Error

91 views
Skip to first unread message

rentca...@gmail.com

unread,
Jul 15, 2021, 6:45:28 PM7/15/21
to AdWords API and Google Ads API Forum
Hello,

I'm receiving the following error when creating a campaign.

Message: Exception has been thrown by the target of an invocation. 
Stack Trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at YSI.Cafe.RC.SiteManager.contentRender.ProcessRequest() in C:\TFS\Cafés\RentCafe\Source\ManagerCafe\contentRender.ashx.vb:line 81 
Source: mscorlib 
Inner Message 1: Status(StatusCode=""Internal"", Detail=""Failed to deserialize response message."") 
Inner Stack Trace 1:    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Google.Ads.GoogleAds.Interceptors.UnaryRpcInterceptor.<Intercept>d__2`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Google.Api.Gax.Grpc.ApiCall.GrpcCallAdapter`2.<>c__DisplayClass4_0.<<CallAsync>g__WaitAndCallHandlers|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Google.Api.Gax.TaskExtensions.WaitWithUnwrappedExceptions(Task task) in /_/Google.Api.Gax/TaskExtensions.cs:line 51
   at Google.Api.Gax.Grpc.ApiCall.GrpcCallAdapter`2.CallSync(TRequest request, CallSettings callSettings) in /_/Google.Api.Gax.Grpc/ApiCall.cs:line 92
   at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_0`2.<WithRetry>b__0(TRequest request, CallSettings callSettings) in /_/Google.Api.Gax.Grpc/ApiCallRetryExtensions.cs:line 78

It fails to return the resource name.  I'm using the .NET library.  Nothing is logged in the details.log file.  So I can not supply you with the request or response log detail.

KDJ

Google Ads API Forum Advisor

unread,
Jul 16, 2021, 2:27:45 AM7/16/21
to rentca...@gmail.com, adwor...@googlegroups.com
Hi KDJ,

The trace you provided appears to indicate an issue with the .NET client library. You may reach out to the client library owners instead, via this link, for further guidance. I hope this helps.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


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