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

`AdProductCatalog#create_ad_product_feed` optional parameters #13

Open Greyschale opened 7 years ago

Greyschale commented 7 years ago

There are some optional parameters when creating an AdProductFeed that would be useful to be able to pass in to override the defaults.

Example: Currently only name and schedule are sent:

catalog.create_ad_product_feed(
  name: 'sample_feed',
  schedule: { url: 'https://example.com/sample.csv', interval: 'HOURLY' }
)

This would be very useful to have instead:

catalog.create_ad_product_feed(
  name: 'sample_feed',
  schedule: { url: 'https://example.com/sample.csv', interval: 'HOURLY' },
  options: { country: 'UK', default_currency: 'GBP' }
)