@@ -88,6 +88,7 @@ class Field(AbstractObject.Field):
8888 offsite_clo_signal_status = 'offsite_clo_signal_status'
8989 offsite_pixels_tos_accepted = 'offsite_pixels_tos_accepted'
9090 opportunity_score = 'opportunity_score'
91+ opportunity_score_weight = 'opportunity_score_weight'
9192 owner = 'owner'
9293 owner_business = 'owner_business'
9394 partner = 'partner'
@@ -695,6 +696,7 @@ def create_ad_creative(self, fields=None, params=None, batch=None, success=None,
695696 'existing_post_title' : 'string' ,
696697 'facebook_branded_content' : 'map' ,
697698 'format_transformation_spec' : 'list<map>' ,
699+ 'generative_asset_spec' : 'map' ,
698700 'image_crops' : 'map' ,
699701 'image_file' : 'string' ,
700702 'image_hash' : 'string' ,
@@ -732,6 +734,7 @@ def create_ad_creative(self, fields=None, params=None, batch=None, success=None,
732734 'title' : 'string' ,
733735 'url_tags' : 'string' ,
734736 'use_page_actor_override' : 'bool' ,
737+ 'wamo_whatsapp_identity_spec' : 'map' ,
735738 }
736739 enums = {
737740 'applink_treatment_enum' : AdCreative .ApplinkTreatment .__dict__ .values (),
@@ -1192,6 +1195,7 @@ def create_ad(self, fields=None, params=None, batch=None, success=None, failure=
11921195 'conversion_domain' : 'string' ,
11931196 'creative' : 'AdCreative' ,
11941197 'creative_asset_groups_spec' : 'Object' ,
1198+ 'creative_automation_spec' : 'Object' ,
11951199 'date_format' : 'string' ,
11961200 'display_sequence' : 'unsigned int' ,
11971201 'draft_adgroup_id' : 'string' ,
@@ -1409,6 +1413,7 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14091413 param_types = {
14101414 'adlabels' : 'list<Object>' ,
14111415 'adset_schedule' : 'list<Object>' ,
1416+ 'attribution_count_type' : 'attribution_count_type_enum' ,
14121417 'attribution_spec' : 'list<map>' ,
14131418 'automatic_manual_state' : 'automatic_manual_state_enum' ,
14141419 'bid_adjustments' : 'Object' ,
@@ -1422,6 +1427,7 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14221427 'campaign_attribution' : 'Object' ,
14231428 'campaign_id' : 'string' ,
14241429 'campaign_spec' : 'Object' ,
1430+ 'cost_bidding_mode' : 'cost_bidding_mode_enum' ,
14251431 'creative_sequence' : 'list<string>' ,
14261432 'creative_sequence_repetition_pattern' : 'creative_sequence_repetition_pattern_enum' ,
14271433 'daily_budget' : 'unsigned int' ,
@@ -1439,6 +1445,7 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14391445 'full_funnel_exploration_mode' : 'full_funnel_exploration_mode_enum' ,
14401446 'is_ba_skip_delayed_eligible' : 'bool' ,
14411447 'is_budget_schedule_enabled' : 'bool' ,
1448+ 'is_dc_follow_optimized' : 'bool' ,
14421449 'is_dynamic_creative' : 'bool' ,
14431450 'is_incremental_attribution_enabled' : 'bool' ,
14441451 'is_sac_cfca_terms_certified' : 'bool' ,
@@ -1447,7 +1454,9 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14471454 'lifetime_min_spend_target' : 'unsigned int' ,
14481455 'lifetime_spend_cap' : 'unsigned int' ,
14491456 'line_number' : 'unsigned int' ,
1457+ 'live_video_ad_campaign_config' : 'Object' ,
14501458 'max_budget_spend_percentage' : 'unsigned int' ,
1459+ 'meta_moment_maker_spec' : 'map' ,
14511460 'min_budget_spend_percentage' : 'unsigned int' ,
14521461 'multi_event_conversion_attribution_window_seconds' : 'unsigned int' ,
14531462 'multi_optimization_goal_weight' : 'multi_optimization_goal_weight_enum' ,
@@ -1460,6 +1469,7 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14601469 'rb_prediction_id' : 'string' ,
14611470 'regional_regulated_categories' : 'list<regional_regulated_categories_enum>' ,
14621471 'regional_regulation_identities' : 'map' ,
1472+ 'relative_value' : 'float' ,
14631473 'rf_prediction_id' : 'string' ,
14641474 'source_adset_id' : 'string' ,
14651475 'start_time' : 'datetime' ,
@@ -1476,10 +1486,12 @@ def create_ad_set(self, fields=None, params=None, batch=None, success=None, fail
14761486 'value_rules_applied' : 'bool' ,
14771487 }
14781488 enums = {
1489+ 'attribution_count_type_enum' : AdSet .AttributionCountType .__dict__ .values (),
14791490 'automatic_manual_state_enum' : AdSet .AutomaticManualState .__dict__ .values (),
14801491 'bid_strategy_enum' : AdSet .BidStrategy .__dict__ .values (),
14811492 'billing_event_enum' : AdSet .BillingEvent .__dict__ .values (),
14821493 'budget_source_enum' : AdSet .BudgetSource .__dict__ .values (),
1494+ 'cost_bidding_mode_enum' : AdSet .CostBiddingMode .__dict__ .values (),
14831495 'creative_sequence_repetition_pattern_enum' : AdSet .CreativeSequenceRepetitionPattern .__dict__ .values (),
14841496 'destination_type_enum' : AdSet .DestinationType .__dict__ .values (),
14851497 'execution_options_enum' : AdSet .ExecutionOptions .__dict__ .values (),
@@ -1771,6 +1783,7 @@ def create_ad_video(self, fields=None, params=None, batch=None, success=None, fa
17711783 'publish_event_id' : 'unsigned int' ,
17721784 'referenced_sticker_id' : 'string' ,
17731785 'replace_video_id' : 'string' ,
1786+ 'selected_audio_spec' : 'map' ,
17741787 'slideshow_spec' : 'map' ,
17751788 'source' : 'file' ,
17761789 'source_instagram_media_id' : 'string' ,
@@ -2527,10 +2540,13 @@ def create_campaign(self, fields=None, params=None, batch=None, success=None, fa
25272540 'buying_type' : 'string' ,
25282541 'daily_budget' : 'unsigned int' ,
25292542 'execution_options' : 'list<execution_options_enum>' ,
2543+ 'frequency_control_specs' : 'list<Object>' ,
25302544 'is_adset_budget_sharing_enabled' : 'bool' ,
25312545 'is_budget_schedule_enabled' : 'bool' ,
25322546 'is_direct_send_campaign' : 'bool' ,
25332547 'is_message_campaign' : 'bool' ,
2548+ 'is_meta_moment_maker_enabled' : 'bool' ,
2549+ 'is_reels_trending_ads_enabled' : 'bool' ,
25342550 'is_skadnetwork_attribution' : 'bool' ,
25352551 'iterative_split_test_configs' : 'list<Object>' ,
25362552 'lifetime_budget' : 'unsigned int' ,
@@ -2751,6 +2767,7 @@ def create_custom_audience(self, fields=None, params=None, batch=None, success=N
27512767 param_types = {
27522768 'allowed_domains' : 'list<string>' ,
27532769 'associated_audience_id' : 'unsigned int' ,
2770+ 'audience_labels' : 'list<audience_labels_enum>' ,
27542771 'claim_objective' : 'claim_objective_enum' ,
27552772 'content_type' : 'content_type_enum' ,
27562773 'countries' : 'string' ,
@@ -2792,6 +2809,7 @@ def create_custom_audience(self, fields=None, params=None, batch=None, success=N
27922809 'whats_app_business_phone_number_id' : 'string' ,
27932810 }
27942811 enums = {
2812+ 'audience_labels_enum' : CustomAudience .AudienceLabels .__dict__ .values (),
27952813 'claim_objective_enum' : CustomAudience .ClaimObjective .__dict__ .values (),
27962814 'content_type_enum' : CustomAudience .ContentType .__dict__ .values (),
27972815 'customer_file_source_enum' : CustomAudience .CustomerFileSource .__dict__ .values (),
@@ -3440,9 +3458,12 @@ def create_message_campaign(self, fields=None, params=None, batch=None, success=
34403458 param_types = {
34413459 'bid_amount' : 'unsigned int' ,
34423460 'daily_budget' : 'unsigned int' ,
3461+ 'end_time' : 'unsigned int' ,
34433462 'lifetime_budget' : 'unsigned int' ,
34443463 'name' : 'string' ,
34453464 'page_id' : 'string' ,
3465+ 'pixel_id' : 'unsigned int' ,
3466+ 'start_time' : 'unsigned int' ,
34463467 }
34473468 enums = {
34483469 }
@@ -3515,9 +3536,11 @@ def create_message(self, fields=None, params=None, batch=None, success=None, fai
35153536 if batch is None and (success is not None or failure is not None ):
35163537 api_utils .warning ('`success` and `failure` callback only work for batch call.' )
35173538 param_types = {
3539+ 'custom_audience_id' : 'string' ,
35183540 'message' : 'Object' ,
35193541 'message_id' : 'unsigned int' ,
35203542 'messenger_delivery_data' : 'map' ,
3543+ 'min_conversation_gap_seconds' : 'unsigned int' ,
35213544 }
35223545 enums = {
35233546 }
@@ -3857,6 +3880,7 @@ def create_reach_frequency_prediction(self, fields=None, params=None, batch=None
38573880 'is_higher_average_frequency' : 'bool' ,
38583881 'is_reach_and_frequency_io_buying' : 'bool' ,
38593882 'is_reserved_buying' : 'bool' ,
3883+ 'meta_moment_maker_spec' : 'map' ,
38603884 'num_curve_points' : 'unsigned int' ,
38613885 'objective' : 'string' ,
38623886 'optimization_goal' : 'string' ,
@@ -4479,11 +4503,13 @@ def create_value_rule_set(self, fields=None, params=None, batch=None, success=No
44794503 api_utils .warning ('`success` and `failure` callback only work for batch call.' )
44804504 from facebook_business .adobjects .adsvalueadjustmentrulecollection import AdsValueAdjustmentRuleCollection
44814505 param_types = {
4506+ 'entry_point' : 'entry_point_enum' ,
44824507 'name' : 'string' ,
44834508 'product_type' : 'product_type_enum' ,
44844509 'rules' : 'list<map>' ,
44854510 }
44864511 enums = {
4512+ 'entry_point_enum' : AdsValueAdjustmentRuleCollection .EntryPoint .__dict__ .values (),
44874513 'product_type_enum' : AdsValueAdjustmentRuleCollection .ProductType .__dict__ .values (),
44884514 }
44894515 request = FacebookRequest (
@@ -4669,6 +4695,7 @@ def create_video_ad(self, fields=None, params=None, batch=None, success=None, fa
46694695 'offsite_clo_signal_status' : 'int' ,
46704696 'offsite_pixels_tos_accepted' : 'bool' ,
46714697 'opportunity_score' : 'float' ,
4698+ 'opportunity_score_weight' : 'int' ,
46724699 'owner' : 'string' ,
46734700 'owner_business' : 'Business' ,
46744701 'partner' : 'string' ,
0 commit comments