Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `snakecase' for "AdManagerApi":String #198

Open
elistemann opened this issue Aug 28, 2024 · 1 comment
Open

undefined method `snakecase' for "AdManagerApi":String #198

elistemann opened this issue Aug 28, 2024 · 1 comment

Comments

@elistemann
Copy link

elistemann commented Aug 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@elistemann and others