MutateJobService gets stuck

29 views
Skip to first unread message

Rafael Machado

unread,
Jan 28, 2015, 3:56:11 PM1/28/15
to adwor...@googlegroups.com
I'm trying to use the C# Adwords API to batch update keywords. Sometimes the MutateJobService.mutate() method gets stuck (the code doesn't continue and it doesn't return any error either). As it doesn't return any error or any other output (it simply gets frozen), i'm not able to verify what's happening.
I would like some insight of what's causing this behaviour.

Anash P. Oommen (AdWords API Team)

unread,
Jan 29, 2015, 12:58:37 AM1/29/15
to adwor...@googlegroups.com
Hi Rafael,

API call "stuck" usually means that you have a WebRequest leak somewhere - something like this one. Are you using the latest client library?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Rafael Machado

unread,
Jan 29, 2015, 5:27:16 PM1/29/15
to adwor...@googlegroups.com
Anash,

Thank you for your reply. I'm using the last client library (v18.7.0). The program gets stuck when i call the following method:
SimpleMutateJob job = mutateJobService.mutate(operations.ToArray(), policy);

Thank you,
Rafael

Anash P. Oommen (AdWords API Team)

unread,
Feb 2, 2015, 12:48:00 AM2/2/15
to adwor...@googlegroups.com
Hi Rafael,

That seems a different case to me - could you please setup Fiddler as explained on https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages#option-2-use-fiddler and see if the request actually goes through and you get a response back? That would tell if the issue is at the client library's end, or if it is a server issue.

Cheers,
Anash
Reply all
Reply to author
Forward
0 new messages