Google.Ads.GoogleAds.Lib.GoogleAdsException (Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))

84 views
Skip to first unread message

rentca...@gmail.com

unread,
Feb 28, 2019, 3:23:47 PM2/28/19
to AdWords API and Google Ads API Forum
Hello,

I created a campaign using version google-ads-dotnet-0.8.1, then I tried to add campaign targeting criteria and received a Deadline error.  I removed the campaign, and tried to created another campaign and now I received the following error.

Thrown by the target of an invocation.)

   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.MethodBase.Invoke(Object obj, Object[] parameters)
   at Google.Ads.GoogleAds.Examples.ExampleRunner.Run(String exampleName, GoogleAdsClient session, IEnumerable`1 args) in C:\google-ads-dotnet-0.8.1\src\Util\Examples\ExampleRunner.cs:line 93

Caused by

Google.Ads.GoogleAds.Lib.GoogleAdsException (Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))

   at Google.Api.Gax.Grpc.ApiCallExceptionExtensions.<>c__DisplayClass1_0`2.<WithExceptionCustomizer>b__0(TRequest request, CallSettings callSettings) in C:\Users\atarafamas\source\repos\gax-dotnet\releasebuild\src\Google.Api.Gax.Grpc\ApiCallExceptionExtensions.cs:line 46
   at Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClientImpl.MutateCampaignBudgets(MutateCampaignBudgetsRequest request, CallSettings callSettings) in C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 772
   at Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String customerId, IEnumerable`1 operations, Boolean partialFailure, Boolean validateOnly, CallSettings callSettings) in C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 568
   at Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String customerId, IEnumerable`1 operations, CallSettings callSettings) in C:\google-ads-dotnet-0.8.1\src\V0\ServiceHelperMethods.cs:line 252
   at Google.Ads.GoogleAds.Examples.V0.AddCampaigns.CreateBudget(GoogleAdsClient client, Int64 customerId) in C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line 180
   at Google.Ads.GoogleAds.Examples.V0.AddCampaigns.Run(GoogleAdsClient client, Int64 customerId) in C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line 78


504DEADLINE_EXCEEDEDRequest deadline exceeded. This will happen only if the caller sets a deadline that is shorter than the method's default deadline (i.e. requested deadline is not enough for the server to process the request) and the request did not finish within the deadline.

I have not set the deadline shorter as the above indicates is the cause of the issue.

How do I resolve this issue?

KDJ

googleadsapi...@google.com

unread,
Feb 28, 2019, 5:32:35 PM2/28/19
to AdWords API and Google Ads API Forum
Hi,

Could you reply privately to author with the client customer id and complete SOAP request and response, so that I can check further?

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0b15e98e-4b99-459e-b698-48c8e5055d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rentca...@gmail.com

unread,
Mar 1, 2019, 1:38:30 PM3/1/19
to AdWords API and Google Ads API Forum
Dhanya,

I'm not receiving the error anymore.  Not sure why.

KDJ

googleadsapi...@google.com

unread,
Mar 1, 2019, 2:30:02 PM3/1/19
to AdWords API and Google Ads API Forum
Hi KDJ,

Ok, no problem. Please reply back with API logs, next time you see this error.

Regards,
Dhanya, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
Reply all
Reply to author
Forward
0 new messages