Re: Why validateOnly require exemptionRequests ???

2010-09-09 Thread AdWords API Advisor
Hi Suraj, This is a known bug in the client library due to the (buggy) way that soap4r handles property hashes... Check http://code.google.com/p/google-api-adwords-ruby/issues/detail?id=19 for more information on the bug. Essentially, what you need to do is create an object instead, and use that.

Re: Why validateOnly require exemptionRequests ???

2010-09-08 Thread Suraj Khakurel
Hi, Thanks for your replay, If i set exemptionRequests to nil, then it generate three nodes of exemptionRequests in request xml. And if i don't set any thing then two nodes { :adGroupId => x, :ad => text_ad

Re: Why validateOnly require exemptionRequests ???

2010-07-16 Thread AdWords API Advisor
Hi Suraj, These fields are part of AdGroupAdOperation class. You can set the exemptionRequests field of your AdGroupAdOperation object to nil in your code before making the mutate() call. Cheers, Anash P. Oommen, AdWords API Advisor. On Jul 15, 10:53 pm, Suraj Khakurel wrote: > Hi > > I had pas

Why validateOnly require exemptionRequests ???

2010-07-15 Thread Suraj Khakurel
Hi I had passed the header with parameter validateOnly is true using ruby client library. Below is my request xml. As you see in the xml there is two "exemptionRequests" nodes attached with request. I think because of these two empty nodes i am getting following error: [RequiredError.REQUIRED