Tags: ShakeSpears/facebook-python-ads-sdk
Tags
Fix api object issue for batch call (issue facebook#180) Summary: Fix api object issue for batch call (issue facebook#180) Test Plan: iamingliu-mbp:python-ads-sdk jiamingliu$ python -m facebookads.test.unit Ran 32 tests in 0.009s OK ================== jiamingliu-mbp:python-ads-sdk jiamingliu$ python -m facebookads.test.integration Ran 22 tests in 15.911s FAILED (failures=1, errors=1) The failure is because new_test_campaign() doesn't provide objective for the campaign. Doesn't seem related to this diff because they fail on master.
Updating Insights class to remove fields which are not available thro… …ugh the API Summary: Some of the fields are not exposed through the Insights edge any longer. This diff removes those fields from the insights class. Test Plan: Integration tests and Unit tests pass ritu-mbp:python-ads-sdk ritu$ python -m facebookads.test.unit ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.013s OK ritu-mbp:python-ads-sdk ritu$ ritu-mbp:python-ads-sdk ritu$ python3 -m facebookads.test.unit ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.016s OK ritu-mbp:python-ads-sdk ritu$ python3 -m facebookads.test.integration .................... ---------------------------------------------------------------------- Ran 20 tests in 52.802s OK ritu-mbp:python-ads-sdk ritu$ python -m facebookads.test.integration .................... ---------------------------------------------------------------------- Ran 20 tests in 43.585s OK
PreviousNext