Skip to content

Commit

Permalink
Adding 'RESERVED' buying type for ad campaigns on Python SDK
Browse files Browse the repository at this point in the history
Summary: Marketing API Python SDK campaign BuyingType misses "RESERVED" which needs to be added  and contains 'MIXED' which needs to be removed

Test Plan:
All Unit tests and Integration tests pass-

ritu-mbp:python-ads-sdk ritu$ python3 -m facebookads.test.integration
....................
----------------------------------------------------------------------
Ran 20 tests in 16.283s

OK
ritu-mbp:python-ads-sdk ritu$ python3 -m facebookads.test.unit
............................
----------------------------------------------------------------------
Ran 28 tests in 0.015s

OK
  • Loading branch information
Rituparna Mukherjee committed Sep 21, 2015
1 parent 2845b95 commit f737fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebookads/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ class Field(object):
class BuyingType(object):
auction = 'AUCTION'
fixed_cpm = 'FIXED_CPM'
mixed = 'MIXED'
reserved = 'RESERVED'

@classmethod
def get_endpoint(cls):
Expand Down

0 comments on commit f737fec

Please sign in to comment.