Hi,

I'm using Ruby to query the TrafficEstimatorService:

srv = self.get_service(:TargetingIdeaService)
selector = {
        :requested_attribute_types => ['CRITERION', 
'GLOBAL_MONTHLY_SEARCHES'],
        :search_parameters => [ { :xsi_type => 
'RelatedToKeywordSearchParameter', :keywords => keyword_params } ],
        :idea_type => 'KEYWORD',
        :request_type => 'STATS',
        :paging => { :start_index => 0, :number_results => PAGE_SIZE }
      }
page = srv.get(selector)

When using Ruby 1.9.3 I get a NoMethodError:

undefined method `lower_camelcase' for "text":String
   
   - *file:* parameters_validator.rb 
   - *location:* handle_namespace_override 
   - *line: *113


Is this a problem on some auto-generated Ruby API stubs? The appropriate 
syntax for this operation would be:
> "test_string".camelize(:lower)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to