Re: Pause Campaign error in .NET

2010-04-23 Thread Peer Jakobsen (AdWords API Guru)
You will need to set idSpecified to true otherwise the ID is not passed which obviously wouldn't work on a set operation campanha.id = Id_Adwords campanha.idSpecified = True To activate soap tracing in .NET you could use the lib \traceextension.cs in the .net API Client Library. You would have

Re: Pause Campaign error in .NET

2010-04-23 Thread takeon
Hi Peer Thanks for reply. I added the line .idSpecified = True to the above code, however, I get the exactly the same error. I am currently looking at Fiddler as I am in debug/dev mode. If I can work it out, I'll post the request/response headers. The Immediate Debug window (in VS) shows this

Re: Pause Campaign error in .NET

2010-04-23 Thread AdWords API Advisor
Hi, Please ensure you are making the request as an AdWords account and not an MCC account. An MCC account cannot have campaigns and may result in errors like this. SOAP XML logging and other features are built in to the AdWords API .NET client library:

Re: Pause Campaign error in .NET

2010-04-23 Thread takeon
Hi Eric Please can you confirm if my understanding is correct for the above functionality: - The app first authenticates using our MCC login (and DeveloperToken etc) to retrieve the authtoken which will be used in all subsequent requests. - When pausing a campaign, the clientEmail value is