Hi, There is a Ruby example that demonstrates how to use validaetOnly header:
http://code.google.com/p/google-api-adwords-ruby/source/browse/trunk/examples/v200909/check_campaigns.rb Try to run this example and let me know if you have any issues. Best, - Eric On Mar 13, 3:05 am, qingbo <zho...@gmail.com> wrote: > Hi Eric, > > I think it's not google's server that led to this problem, but > adwords4r's implementation. > > I looked through the examples included in adwords4r source code but > didn't find any that demonstrates the usage of ApiException's, > although they're defined in every service class. Actually I'm not very > familiar with SOAP so maybe I missed something, but could someone > provide an example like the Java one I mentioned in Ruby? > > It's weekend so I can't access our dev environment easily, but I'll > provide the code and SOAP XML later if needed. > > Thanks for you response! > Qingbo > > On Mar 13, 3:22 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi Qingbo, > > > Do you have the request ID or SOAP XML that demonstrates this problem? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Mar 11, 2:31 am, qingbo <zho...@gmail.com> wrote: > > > > Hi, > > > > I'm using adwords4r but when I tried to implement the same logic as > > > the Java code in > > > >http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-he... > > > > I didn't get the expected ApiException but a GoogleInternalError > > > (subclass of ApiError) object, and its "detail" attribute is nil. > > > > Any suggestions? > > > > Thanks, > > > Qingbo -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en