diff --git a/twitter_ads/campaign.py b/twitter_ads/campaign.py index 6ceb496..542985c 100644 --- a/twitter_ads/campaign.py +++ b/twitter_ads/campaign.py @@ -60,7 +60,6 @@ class FundingInstrument(Resource, Persistence): # read-only resource_property(FundingInstrument, 'id', readonly=True) resource_property(FundingInstrument, 'name', readonly=True) -resource_property(FundingInstrument, 'cancelled', readonly=True, transform=TRANSFORM.BOOL) resource_property(FundingInstrument, 'credit_limit_local_micro', readonly=True) resource_property(FundingInstrument, 'currency', readonly=True) resource_property(FundingInstrument, 'description', readonly=True) @@ -70,9 +69,10 @@ class FundingInstrument(Resource, Persistence): resource_property(FundingInstrument, 'updated_at', readonly=True, transform=TRANSFORM.TIME) resource_property(FundingInstrument, 'deleted', readonly=True, transform=TRANSFORM.BOOL) resource_property(FundingInstrument, 'able_to_fund', readonly=True, transform=TRANSFORM.BOOL) -resource_property(FundingInstrument, 'paused', readonly=True, transform=TRANSFORM.BOOL) +resource_property(FundingInstrument, 'entity_status', readonly=True) resource_property(FundingInstrument, 'io_header', readonly=True) -resource_property(FundingInstrument, 'reasons_not_able_to_fund', readonly=True) +resource_property(FundingInstrument, 'reasons_not_able_to_fund', readonly=True, + transform=TRANSFORM.LIST) resource_property(FundingInstrument, 'start_time', readonly=True) resource_property(FundingInstrument, 'end_time', readonly=True) resource_property(FundingInstrument, 'credit_remaining_local_micro', readonly=True)