facebook-ruby-ads-sdk icon indicating copy to clipboard operation
facebook-ruby-ads-sdk copied to clipboard

`AdAccount#create_ad_images` doesn't seem to work

Open Aurel-Allard opened this issue 6 years ago • 0 comments

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

Aurel-Allard avatar Dec 06 '17 13:12 Aurel-Allard