Skip to content

Commit

Permalink
Update AdCreativeFeatureDetails Fields
Browse files Browse the repository at this point in the history
Summary:
[BizSDK] Update AdCreativeFeatureDetails Fields

Add the customizations field in AdCreativeFeatureDetails node.
Also remove some unsupported fields from the AdCreativeFeatureCustomizations node.

Reviewed By: liliarizona

Differential Revision: D62890910

fbshipit-source-id: 1fdad3ce9d8c17811e67dd1d79d5026ce6b27c89
  • Loading branch information
stcheng authored and facebook-github-bot committed Sep 17, 2024
1 parent 8f7b932 commit 430e25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,11 @@

class AdCreativeFeatureCustomizationsFields extends AbstractEnum {

const BACKGROUND_COLOR = 'background_color';
const CATALOG_FEED_TAG_NAME = 'catalog_feed_tag_name';
const FONT_NAME = 'font_name';
const PRODUCT_RECOMMENDATION_TYPE = 'product_recommendation_type';
const PRODUCT_VERSIONING_FALLBACK_STRATEGY = 'product_versioning_fallback_strategy';
const SHOWCASE_CARD_DISPLAY = 'showcase_card_display';
const TEXT_STYLE = 'text_style';
const VIDEO_CROP_STYLE = 'video_crop_style';

public function getFieldTypes() {
return array(
'background_color' => 'string',
'catalog_feed_tag_name' => 'string',
'font_name' => 'string',
'product_recommendation_type' => 'string',
'product_versioning_fallback_strategy' => 'string',
'showcase_card_display' => 'string',
'text_style' => 'string',
'video_crop_style' => 'string',
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@

class AdCreativeFeatureDetailsFields extends AbstractEnum {

const CUSTOMIZATIONS = 'customizations';
const ENROLL_STATUS = 'enroll_status';

public function getFieldTypes() {
return array(
'customizations' => 'AdCreativeFeatureCustomizations',
'enroll_status' => 'string',
);
}
Expand Down

0 comments on commit 430e25e

Please sign in to comment.