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 df67b5b commit 7df7934
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookAds/ApiConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
namespace FacebookAds;
class ApiConfig {
const APIVersion = '17.0';
const SDKVersion = '17.0.1';
const SDKVersion = '17.0.2';
const TYPE_CHECKER_STRICT_MODE = false;
}
2 changes: 2 additions & 0 deletions src/FacebookAds/Object/AdAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -3142,6 +3142,8 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe
'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
4 changes: 4 additions & 0 deletions src/FacebookAds/Object/Fields/AdAccountFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class AdAccountFields extends AbstractEnum {
const CREATED_TIME = 'created_time';
const CURRENCY = 'currency';
const CUSTOM_AUDIENCE_INFO = 'custom_audience_info';
const DEFAULT_DSA_BENEFICIARY = 'default_dsa_beneficiary';
const DEFAULT_DSA_PAYOR = 'default_dsa_payor';
const DISABLE_REASON = 'disable_reason';
const END_ADVERTISER = 'end_advertiser';
const END_ADVERTISER_NAME = 'end_advertiser_name';
Expand Down Expand Up @@ -125,6 +127,8 @@ public function getFieldTypes() {
'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

0 comments on commit 7df7934

Please sign in to comment.