google-api-ads-ruby icon indicating copy to clipboard operation
google-api-ads-ruby copied to clipboard

undefined method `snakecase' for "AdManagerApi":String

Open elistemann opened this issue 5 months ago • 1 comments

After updating to google-dfp-api 3.2.0 (we prev. used 2.5.0), we see:

undefined method `snakecase' for "AdManagerApi":String (NoMethodError)

when calling service:

require 'ad_manager_api'

...

dfp = AdManagerApi::Api.new(...)
service = dfp.service(:CreativeService, :v202408) 

I assumed it's raised here: https://github.com/googleads/google-api-ads-ruby/blob/master/ads_common/lib/ads_common/api_config.rb#L93

Adding require 'ads_savon/core_ext/string' fixes the issue, but i think it shouldn't be needed.

Ruby version is 3.2.2

elistemann avatar Aug 28 '24 07:08 elistemann