Tags: Jinyoyyo/facebook-python-ads-sdk
Tags
Fixed edge_object calls for responses that don't contain data Summary: edge_object previously expected all calls to respond with a data object. However, we have some calls that return with just a plain JSON object that wasn't being accounted for (stats methods). Test Plan: - Instantiate an AdAccount object - Call get_stats() on it - It works!
Added changes to Custom Audience and Reach and Frequency Predictions Summary: Added changes to Custom Audiences, breaking changes to R&F. Added R&F object (since it was missing). Added test for CA. Test Plan: Run unit test. Run integration test. python -m facebookads.test.unit python -m facebookads.test.integration <ACCESS_TOKEN>
Merge pull request facebook#9 from bensigelman/master detect file presence correctly
Fixed package 0.2.0 setup relying on older README. Summary: Running `python setup.py install` or `pip install --upgrade facebookads` wasn't working, because the package runs setup.py which expects an older version of the README to be there. Added a conditional check to see if the old README exists and to include that, this way it will upgrade or install regardless of what version they're on. Test Plan: `pip install facebookads` `pip install --upgrade facebookads`
Added ObjectStorySpec Summary: Added ObjectStorySpec (and related Objects) to make it easier for developers to build specs for API without having to write out a giant JSON string. Test Plan: Update the config.json file Run tests python -m facebookads.test.unit python -m facebookads.test.integration <ACCESS_TOKEN>