facebook / facebook-python-business-sdk

Python SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
1.3k stars 640 forks source link

Dynamic Product ads: The schedule of product feeds is not wroking #182

Closed FX-HAO closed 8 years ago

FX-HAO commented 8 years ago

I have gone through the pertinent documents: Setup Product Feed, Product Feed Schedule.

product_feed = ProductFeed(parent_id=<PRODUCT_CATALOG_ID>)

product_feed[ProductFeed.Field.name] = 'Test Feed'
product_feed[ProductFeed.Field.schedule] = {
    'interval': 'DAILY',
    'url': 'http://ads.example.com/sample_feed.tsv',
    'hour': 22,
}

product_feed.remote_create()

A product feed was created, but it never fetch the sample_feed.csv from specified url.

Does it not supports HTTP protocol?

rituparnamukherjee commented 8 years ago

Hi @FX-HAO ,

In the example above, the URL mentioned here is just a sample URL, does not have any data there. Can you trying a different URL which actually has a feed.