Skip to content

Commit

Permalink
Add DSA Support on AdAccount
Browse files Browse the repository at this point in the history
Summary:
[BizSDK][API-Spec] Add DSA Support on AdAccount

Add default_dsa_beneficiary and default_dsa_payor two fields in adaccount.json file.

Reviewed By: scutexasece

Differential Revision: D48134776

fbshipit-source-id: b672146998f4eac5d20ac2e04624c4b41dceafd1
  • Loading branch information
stcheng authored and facebook-github-bot committed Aug 8, 2023
1 parent 4ce6acc commit a3113c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions facebook_business/adobjects/adaccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ class Field(AbstractObject.Field):
created_time = 'created_time'
currency = 'currency'
custom_audience_info = 'custom_audience_info'
default_dsa_beneficiary = 'default_dsa_beneficiary'
default_dsa_payor = 'default_dsa_payor'
disable_reason = 'disable_reason'
end_advertiser = 'end_advertiser'
end_advertiser_name = 'end_advertiser_name'
Expand Down Expand Up @@ -269,6 +271,8 @@ def api_update(self, fields=None, params=None, batch=None, success=None, failure
'business_info': 'map',
'currency': 'currency_enum',
'custom_audience_info': 'map',
'default_dsa_beneficiary': 'string',
'default_dsa_payor': 'string',
'end_advertiser': 'string',
'existing_customers': 'list<string>',
'is_notifications_enabled': 'bool',
Expand Down Expand Up @@ -4055,6 +4059,8 @@ def delete_users_of_any_audience(self, fields=None, params=None, batch=None, suc
'created_time': 'datetime',
'currency': 'string',
'custom_audience_info': 'CustomAudienceGroup',
'default_dsa_beneficiary': 'string',
'default_dsa_payor': 'string',
'disable_reason': 'unsigned int',
'end_advertiser': 'string',
'end_advertiser_name': 'string',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
requirements_filename = os.path.join(this_dir, 'requirements.txt')

PACKAGE_NAME = 'facebook_business'
PACKAGE_VERSION = '17.0.2'
PACKAGE_VERSION = '17.0.3'
PACKAGE_AUTHOR = 'Facebook'
PACKAGE_AUTHOR_EMAIL = ''
PACKAGE_URL = 'https://github.com/facebook/facebook-python-business-sdk'
Expand Down

0 comments on commit a3113c3

Please sign in to comment.