tophatter / facebook-ruby-ads-sdk

The Facebook Marketing API in Ruby.
https://developers.facebook.com/docs/marketing-apis
MIT License
62 stars 39 forks source link

`AdAccount#create_ad_images` doesn't seem to work #22

Open Aurel-Allard opened 6 years ago

Aurel-Allard commented 6 years ago

Just tried to test the AdImages method:

this = FacebookAdsAPIClient.new('act_11456********')
account = this.get_account

ad_images = account.create_ad_images([
  'https://d38eepresuu519.cloudfront.net/485674b133dc2f1d66d20c9d52c62bec/original.jpg',
  'https://d38eepresuu519.cloudfront.net/3977d2a47b584820969e2acf4d923e33/original.jpg'
])

account variable return the right value, but the create_ad_images raises an error: "in download: uninitialized constant FacebookAds::AdAccount::Pathname (NameError)"

Any idea on how to solve that issue ? Many thanks