Skip to content

Commit 94dde1a

Browse files
generatedunixname89002005295453meta-codesync[bot]
authored andcommitted
Auto-generated java SDK code update
Summary: ignore-conflict-markers Reviewed By: satwikareddy3 Differential Revision: D85354396 fbshipit-source-id: cbaf9133aa5906b100f3d662e19b650889ec5ee4
1 parent 964dd9e commit 94dde1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2819
-1223
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.facebook.business.sdk</groupId>
55
<artifactId>facebook-java-business-sdk</artifactId>
66
<packaging>jar</packaging>
7-
<version>23.0.6</version>
7+
<version>24.0.0</version>
88
<name>${project.groupId}:${project.artifactId}</name>
99
<description>Facebook Business Solutions SDK for Java</description>
1010
<url>https://developers.facebook.com/docs/marketing-api/sdks</url>

src/main/java/com/facebook/ads/sdk/APIConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
package com.facebook.ads.sdk;
2525

2626
public class APIConfig {
27-
public static final String DEFAULT_API_VERSION = "v23.0";
27+
public static final String DEFAULT_API_VERSION = "v24.0";
2828
public static final String DEFAULT_API_BASE = "https://graph.facebook.com";
2929
public static final String DEFAULT_VIDEO_API_BASE = "https://graph-video.facebook.com";
30-
public static final String USER_AGENT = "fbbizsdk-java-v23.0.6";
30+
public static final String USER_AGENT = "fbbizsdk-java-v24.0.0";
3131
};

src/main/java/com/facebook/ads/sdk/AdAccount.java

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,6 +3424,7 @@ public AdCreative getLastResponse() {
34243424
"destination_spec",
34253425
"dynamic_ad_voice",
34263426
"enable_launch_instant_app",
3427+
"execution_options",
34273428
"facebook_branded_content",
34283429
"format_transformation_spec",
34293430
"image_crops",
@@ -3683,6 +3684,15 @@ public APIRequestCreateAdCreative setEnableLaunchInstantApp (String enableLaunch
36833684
return this;
36843685
}
36853686

3687+
public APIRequestCreateAdCreative setExecutionOptions (List<AdCreative.EnumExecutionOptions> executionOptions) {
3688+
this.setParam("execution_options", executionOptions);
3689+
return this;
3690+
}
3691+
public APIRequestCreateAdCreative setExecutionOptions (String executionOptions) {
3692+
this.setParam("execution_options", executionOptions);
3693+
return this;
3694+
}
3695+
36863696
public APIRequestCreateAdCreative setFacebookBrandedContent (Map<String, String> facebookBrandedContent) {
36873697
this.setParam("facebook_branded_content", facebookBrandedContent);
36883698
return this;
@@ -8073,6 +8083,7 @@ public APINodeList<AdSet> getLastResponse() {
80738083
"account_id",
80748084
"adlabels",
80758085
"adset_schedule",
8086+
"anchor_event_attribution_window_days",
80768087
"asset_feed_id",
80778088
"attribution_spec",
80788089
"automatic_manual_state",
@@ -8301,6 +8312,13 @@ public APIRequestGetAdSets requestAdsetScheduleField (boolean value) {
83018312
this.requestField("adset_schedule", value);
83028313
return this;
83038314
}
8315+
public APIRequestGetAdSets requestAnchorEventAttributionWindowDaysField () {
8316+
return this.requestAnchorEventAttributionWindowDaysField(true);
8317+
}
8318+
public APIRequestGetAdSets requestAnchorEventAttributionWindowDaysField (boolean value) {
8319+
this.requestField("anchor_event_attribution_window_days", value);
8320+
return this;
8321+
}
83048322
public APIRequestGetAdSets requestAssetFeedIdField () {
83058323
return this.requestAssetFeedIdField(true);
83068324
}
@@ -8848,6 +8866,7 @@ public AdSet getLastResponse() {
88488866
"optimization_goal",
88498867
"optimization_sub_event",
88508868
"pacing_type",
8869+
"placement_soft_opt_out",
88518870
"promoted_object",
88528871
"rb_prediction_id",
88538872
"regional_regulated_categories",
@@ -9320,6 +9339,15 @@ public APIRequestCreateAdSet setPacingType (String pacingType) {
93209339
return this;
93219340
}
93229341

9342+
public APIRequestCreateAdSet setPlacementSoftOptOut (Object placementSoftOptOut) {
9343+
this.setParam("placement_soft_opt_out", placementSoftOptOut);
9344+
return this;
9345+
}
9346+
public APIRequestCreateAdSet setPlacementSoftOptOut (String placementSoftOptOut) {
9347+
this.setParam("placement_soft_opt_out", placementSoftOptOut);
9348+
return this;
9349+
}
9350+
93239351
public APIRequestCreateAdSet setPromotedObject (Object promotedObject) {
93249352
this.setParam("promoted_object", promotedObject);
93259353
return this;
@@ -9504,6 +9532,7 @@ public APINodeList<AdSet> getLastResponse() {
95049532
"account_id",
95059533
"adlabels",
95069534
"adset_schedule",
9535+
"anchor_event_attribution_window_days",
95079536
"asset_feed_id",
95089537
"attribution_spec",
95099538
"automatic_manual_state",
@@ -9705,6 +9734,13 @@ public APIRequestGetAdSetsByLabels requestAdsetScheduleField (boolean value) {
97059734
this.requestField("adset_schedule", value);
97069735
return this;
97079736
}
9737+
public APIRequestGetAdSetsByLabels requestAnchorEventAttributionWindowDaysField () {
9738+
return this.requestAnchorEventAttributionWindowDaysField(true);
9739+
}
9740+
public APIRequestGetAdSetsByLabels requestAnchorEventAttributionWindowDaysField (boolean value) {
9741+
this.requestField("anchor_event_attribution_window_days", value);
9742+
return this;
9743+
}
97089744
public APIRequestGetAdSetsByLabels requestAssetFeedIdField () {
97099745
return this.requestAssetFeedIdField(true);
97109746
}
@@ -13024,6 +13060,7 @@ public APINodeList<AdSet> getLastResponse() {
1302413060
"account_id",
1302513061
"adlabels",
1302613062
"adset_schedule",
13063+
"anchor_event_attribution_window_days",
1302713064
"asset_feed_id",
1302813065
"attribution_spec",
1302913066
"automatic_manual_state",
@@ -13207,6 +13244,13 @@ public APIRequestGetAffectedAdSets requestAdsetScheduleField (boolean value) {
1320713244
this.requestField("adset_schedule", value);
1320813245
return this;
1320913246
}
13247+
public APIRequestGetAffectedAdSets requestAnchorEventAttributionWindowDaysField () {
13248+
return this.requestAnchorEventAttributionWindowDaysField(true);
13249+
}
13250+
public APIRequestGetAffectedAdSets requestAnchorEventAttributionWindowDaysField (boolean value) {
13251+
this.requestField("anchor_event_attribution_window_days", value);
13252+
return this;
13253+
}
1321013254
public APIRequestGetAffectedAdSets requestAssetFeedIdField () {
1321113255
return this.requestAssetFeedIdField(true);
1321213256
}
@@ -13843,6 +13887,7 @@ public APINodeList<Business> getLastResponse() {
1384313887
"verification_status",
1384413888
"vertical",
1384513889
"vertical_id",
13890+
"whatsapp_business_manager_messaging_limit",
1384613891
};
1384713892

1384813893
@Override
@@ -14089,6 +14134,13 @@ public APIRequestGetAgencies requestVerticalIdField (boolean value) {
1408914134
this.requestField("vertical_id", value);
1409014135
return this;
1409114136
}
14137+
public APIRequestGetAgencies requestWhatsappBusinessManagerMessagingLimitField () {
14138+
return this.requestWhatsappBusinessManagerMessagingLimitField(true);
14139+
}
14140+
public APIRequestGetAgencies requestWhatsappBusinessManagerMessagingLimitField (boolean value) {
14141+
this.requestField("whatsapp_business_manager_messaging_limit", value);
14142+
return this;
14143+
}
1409214144
}
1409314145

1409414146
public static class APIRequestCreateAgency extends APIRequest<AdAccount> {
@@ -19643,6 +19695,7 @@ public CustomAudience getLastResponse() {
1964319695
"event_sources",
1964419696
"exclusions",
1964519697
"facebook_page_id",
19698+
"inclusionOperator",
1964619699
"inclusions",
1964719700
"is_snapshot",
1964819701
"is_value_based",
@@ -19833,6 +19886,11 @@ public APIRequestCreateCustomAudience setFacebookPageId (String facebookPageId)
1983319886
return this;
1983419887
}
1983519888

19889+
public APIRequestCreateCustomAudience setInclusionoperator (String inclusionoperator) {
19890+
this.setParam("inclusionOperator", inclusionoperator);
19891+
return this;
19892+
}
19893+
1983619894
public APIRequestCreateCustomAudience setInclusions (List<Object> inclusions) {
1983719895
this.setParam("inclusions", inclusions);
1983819896
return this;
@@ -20918,6 +20976,7 @@ public APINodeList<AdSet> getLastResponse() {
2091820976
"account_id",
2091920977
"adlabels",
2092020978
"adset_schedule",
20979+
"anchor_event_attribution_window_days",
2092120980
"asset_feed_id",
2092220981
"attribution_spec",
2092320982
"automatic_manual_state",
@@ -21106,6 +21165,13 @@ public APIRequestGetDeprecatedTargetingAdSets requestAdsetScheduleField (boolean
2110621165
this.requestField("adset_schedule", value);
2110721166
return this;
2110821167
}
21168+
public APIRequestGetDeprecatedTargetingAdSets requestAnchorEventAttributionWindowDaysField () {
21169+
return this.requestAnchorEventAttributionWindowDaysField(true);
21170+
}
21171+
public APIRequestGetDeprecatedTargetingAdSets requestAnchorEventAttributionWindowDaysField (boolean value) {
21172+
this.requestField("anchor_event_attribution_window_days", value);
21173+
return this;
21174+
}
2110921175
public APIRequestGetDeprecatedTargetingAdSets requestAssetFeedIdField () {
2111021176
return this.requestAssetFeedIdField(true);
2111121177
}
@@ -24651,6 +24717,7 @@ public CustomAudience getLastResponse() {
2465124717
"event_source_group",
2465224718
"event_sources",
2465324719
"exclusions",
24720+
"inclusionOperator",
2465424721
"inclusions",
2465524722
"is_snapshot",
2465624723
"is_value_based",
@@ -24801,6 +24868,11 @@ public APIRequestCreateProductAudience setExclusions (String exclusions) {
2480124868
return this;
2480224869
}
2480324870

24871+
public APIRequestCreateProductAudience setInclusionoperator (String inclusionoperator) {
24872+
this.setParam("inclusionOperator", inclusionoperator);
24873+
return this;
24874+
}
24875+
2480424876
public APIRequestCreateProductAudience setInclusions (List<Object> inclusions) {
2480524877
this.setParam("inclusions", inclusions);
2480624878
return this;

src/main/java/com/facebook/ads/sdk/AdAccountAdVolume.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ public static enum EnumRecommendationType {
505505
VALUE_AUTOMATIC_PLACEMENTS_V2("AUTOMATIC_PLACEMENTS_V2"),
506506
@SerializedName("AUTOMATIC_PLACEMENTS_V3")
507507
VALUE_AUTOMATIC_PLACEMENTS_V3("AUTOMATIC_PLACEMENTS_V3"),
508+
@SerializedName("AUTOMATIC_PLACEMENTS_V4")
509+
VALUE_AUTOMATIC_PLACEMENTS_V4("AUTOMATIC_PLACEMENTS_V4"),
508510
@SerializedName("AUTO_BID")
509511
VALUE_AUTO_BID("AUTO_BID"),
510512
@SerializedName("AUTO_CAT_SELECTION_ENHANCEMENT")
@@ -541,6 +543,8 @@ public static enum EnumRecommendationType {
541543
VALUE_BUSINESS_AI_AGENT_UPSELL("BUSINESS_AI_AGENT_UPSELL"),
542544
@SerializedName("CALL_ADS_DAYPARTING_L3_RECOMMENDATION")
543545
VALUE_CALL_ADS_DAYPARTING_L3_RECOMMENDATION("CALL_ADS_DAYPARTING_L3_RECOMMENDATION"),
546+
@SerializedName("CAMPAIGN_CONSOLIDATION_WITH_FLEX")
547+
VALUE_CAMPAIGN_CONSOLIDATION_WITH_FLEX("CAMPAIGN_CONSOLIDATION_WITH_FLEX"),
544548
@SerializedName("CAMPAIGN_GUIDANCE_NAVIGATOR_REELS_TIPS")
545549
VALUE_CAMPAIGN_GUIDANCE_NAVIGATOR_REELS_TIPS("CAMPAIGN_GUIDANCE_NAVIGATOR_REELS_TIPS"),
546550
@SerializedName("CAMPAIGN_SPEND_LIMIT")
@@ -625,12 +629,20 @@ public static enum EnumRecommendationType {
625629
VALUE_CREATOR_ADS_PA_CONVERSION("CREATOR_ADS_PA_CONVERSION"),
626630
@SerializedName("CTA")
627631
VALUE_CTA("CTA"),
632+
@SerializedName("CTD_LEADS_OPTIMIZATION")
633+
VALUE_CTD_LEADS_OPTIMIZATION("CTD_LEADS_OPTIMIZATION"),
628634
@SerializedName("CTD_PURCHASE_OPTIMIZATION")
629635
VALUE_CTD_PURCHASE_OPTIMIZATION("CTD_PURCHASE_OPTIMIZATION"),
630636
@SerializedName("CTM_AD_OBJECTIVE_GROWTH")
631637
VALUE_CTM_AD_OBJECTIVE_GROWTH("CTM_AD_OBJECTIVE_GROWTH"),
632638
@SerializedName("CTM_LEADS_OPTIMIZATION_UPSELL")
633639
VALUE_CTM_LEADS_OPTIMIZATION_UPSELL("CTM_LEADS_OPTIMIZATION_UPSELL"),
640+
@SerializedName("CTM_LO_ODAX_PHASE_2")
641+
VALUE_CTM_LO_ODAX_PHASE_2("CTM_LO_ODAX_PHASE_2"),
642+
@SerializedName("CTM_PO_ODAX_PHASE_2")
643+
VALUE_CTM_PO_ODAX_PHASE_2("CTM_PO_ODAX_PHASE_2"),
644+
@SerializedName("CTM_VO_ODAX_PHASE_2")
645+
VALUE_CTM_VO_ODAX_PHASE_2("CTM_VO_ODAX_PHASE_2"),
634646
@SerializedName("CTX_BUDGET_OPTIMIZATION")
635647
VALUE_CTX_BUDGET_OPTIMIZATION("CTX_BUDGET_OPTIMIZATION"),
636648
@SerializedName("CTX_CREATION_PACKAGE")
@@ -643,6 +655,8 @@ public static enum EnumRecommendationType {
643655
VALUE_CTX_CTA_UPGRADE_IN_DUPLICATION("CTX_CTA_UPGRADE_IN_DUPLICATION"),
644656
@SerializedName("CTX_CTMPO_UPGRADE")
645657
VALUE_CTX_CTMPO_UPGRADE("CTX_CTMPO_UPGRADE"),
658+
@SerializedName("CTX_CTWALO_UPGRADE")
659+
VALUE_CTX_CTWALO_UPGRADE("CTX_CTWALO_UPGRADE"),
646660
@SerializedName("CTX_CTWAPO_UPGRADE")
647661
VALUE_CTX_CTWAPO_UPGRADE("CTX_CTWAPO_UPGRADE"),
648662
@SerializedName("CTX_GUIDANCE")
@@ -715,6 +729,8 @@ public static enum EnumRecommendationType {
715729
VALUE_FRAGMENTATION_V2("FRAGMENTATION_V2"),
716730
@SerializedName("FRAGMENTATION_V3")
717731
VALUE_FRAGMENTATION_V3("FRAGMENTATION_V3"),
732+
@SerializedName("FRAGMENTATION_V4")
733+
VALUE_FRAGMENTATION_V4("FRAGMENTATION_V4"),
718734
@SerializedName("GENERATIVE_UNCROP_DUPLICATION")
719735
VALUE_GENERATIVE_UNCROP_DUPLICATION("GENERATIVE_UNCROP_DUPLICATION"),
720736
@SerializedName("GEN_AI_MVP")
@@ -749,6 +765,8 @@ public static enum EnumRecommendationType {
749765
VALUE_LANDING_PAGE_VIEW_OPTIMIZATION_GOAL_V2("LANDING_PAGE_VIEW_OPTIMIZATION_GOAL_V2"),
750766
@SerializedName("LANDING_PAGE_VIEW_PRECREATE")
751767
VALUE_LANDING_PAGE_VIEW_PRECREATE("LANDING_PAGE_VIEW_PRECREATE"),
768+
@SerializedName("LEAD_ADS_DFCA_LOOKALIKE_ADOPTION")
769+
VALUE_LEAD_ADS_DFCA_LOOKALIKE_ADOPTION("LEAD_ADS_DFCA_LOOKALIKE_ADOPTION"),
752770
@SerializedName("LEAD_ADS_GUIDANCE")
753771
VALUE_LEAD_ADS_GUIDANCE("LEAD_ADS_GUIDANCE"),
754772
@SerializedName("LEARNING_LIMITED")
@@ -775,6 +793,8 @@ public static enum EnumRecommendationType {
775793
VALUE_MESSAGING_PARTNERS("MESSAGING_PARTNERS"),
776794
@SerializedName("MESSAGING_PARTNERS_PRECREATE")
777795
VALUE_MESSAGING_PARTNERS_PRECREATE("MESSAGING_PARTNERS_PRECREATE"),
796+
@SerializedName("MESSAGING_PARTNERS_V2")
797+
VALUE_MESSAGING_PARTNERS_V2("MESSAGING_PARTNERS_V2"),
778798
@SerializedName("META_VERIFIED_ADS_PERFORMANCE_GUIDANCE")
779799
VALUE_META_VERIFIED_ADS_PERFORMANCE_GUIDANCE("META_VERIFIED_ADS_PERFORMANCE_GUIDANCE"),
780800
@SerializedName("MISSING_OR_INVALID_PARAMETERS")
@@ -801,6 +821,8 @@ public static enum EnumRecommendationType {
801821
VALUE_MULTI_TEXT("MULTI_TEXT"),
802822
@SerializedName("MUSIC")
803823
VALUE_MUSIC("MUSIC"),
824+
@SerializedName("MUSIC_V2")
825+
VALUE_MUSIC_V2("MUSIC_V2"),
804826
@SerializedName("NARROW_WEBSITE_CUSTOM_AUDIENCE")
805827
VALUE_NARROW_WEBSITE_CUSTOM_AUDIENCE("NARROW_WEBSITE_CUSTOM_AUDIENCE"),
806828
@SerializedName("NOT_APPLICABLE")
@@ -813,6 +835,8 @@ public static enum EnumRecommendationType {
813835
VALUE_OFFSITE_CONVERSION_AR("OFFSITE_CONVERSION_AR"),
814836
@SerializedName("OFFSITE_CONVERSION_BASED_ON_SIGNALS")
815837
VALUE_OFFSITE_CONVERSION_BASED_ON_SIGNALS("OFFSITE_CONVERSION_BASED_ON_SIGNALS"),
838+
@SerializedName("OFFSITE_CONVERSION_LEADS_OPTIMIZATION")
839+
VALUE_OFFSITE_CONVERSION_LEADS_OPTIMIZATION("OFFSITE_CONVERSION_LEADS_OPTIMIZATION"),
816840
@SerializedName("OFFSITE_CONVERSION_V2")
817841
VALUE_OFFSITE_CONVERSION_V2("OFFSITE_CONVERSION_V2"),
818842
@SerializedName("OMNI_OPTIMIZATION")
@@ -845,6 +869,8 @@ public static enum EnumRecommendationType {
845869
VALUE_PIXEL_OPTIMIZATION_HIE("PIXEL_OPTIMIZATION_HIE"),
846870
@SerializedName("PIXEL_OPTIMIZATION_HIE_PRECREATE")
847871
VALUE_PIXEL_OPTIMIZATION_HIE_PRECREATE("PIXEL_OPTIMIZATION_HIE_PRECREATE"),
872+
@SerializedName("PIXEL_OPTIMIZATION_HIE_V2")
873+
VALUE_PIXEL_OPTIMIZATION_HIE_V2("PIXEL_OPTIMIZATION_HIE_V2"),
848874
@SerializedName("PIXEL_SETUP")
849875
VALUE_PIXEL_SETUP("PIXEL_SETUP"),
850876
@SerializedName("PIXEL_SETUP_PRECREATE")
@@ -907,10 +933,14 @@ public static enum EnumRecommendationType {
907933
VALUE_SCALE_GOOD_CAMPAIGN_DUPLICATION("SCALE_GOOD_CAMPAIGN_DUPLICATION"),
908934
@SerializedName("SCALE_GOOD_CAMPAIGN_SMB")
909935
VALUE_SCALE_GOOD_CAMPAIGN_SMB("SCALE_GOOD_CAMPAIGN_SMB"),
936+
@SerializedName("SCALE_GOOD_CAMPAIGN_V2")
937+
VALUE_SCALE_GOOD_CAMPAIGN_V2("SCALE_GOOD_CAMPAIGN_V2"),
910938
@SerializedName("SCALE_GOOD_CAMPAIGN_V2_DUPLICATION")
911939
VALUE_SCALE_GOOD_CAMPAIGN_V2_DUPLICATION("SCALE_GOOD_CAMPAIGN_V2_DUPLICATION"),
912940
@SerializedName("SCALE_GOOD_CTX_CAMPAIGN")
913941
VALUE_SCALE_GOOD_CTX_CAMPAIGN("SCALE_GOOD_CTX_CAMPAIGN"),
942+
@SerializedName("SCALE_GOOD_CTX_CAMPAIGNS_DUPLICATION")
943+
VALUE_SCALE_GOOD_CTX_CAMPAIGNS_DUPLICATION("SCALE_GOOD_CTX_CAMPAIGNS_DUPLICATION"),
914944
@SerializedName("SEASONAL_CAMPAIGNS")
915945
VALUE_SEASONAL_CAMPAIGNS("SEASONAL_CAMPAIGNS"),
916946
@SerializedName("SEMANTIC_BASED_AUDIENCE_DUPLICATION")
@@ -987,6 +1017,8 @@ public static enum EnumRecommendationType {
9871017
VALUE_UNUSED_BUDGET("UNUSED_BUDGET"),
9881018
@SerializedName("UPPER_FUNNEL_TO_LEAD_INSTANT_FORM")
9891019
VALUE_UPPER_FUNNEL_TO_LEAD_INSTANT_FORM("UPPER_FUNNEL_TO_LEAD_INSTANT_FORM"),
1020+
@SerializedName("VALUE_CO_CAMPAIGNS_LOW_PURCHASE_DQ")
1021+
VALUE_VALUE_CO_CAMPAIGNS_LOW_PURCHASE_DQ("VALUE_CO_CAMPAIGNS_LOW_PURCHASE_DQ"),
9901022
@SerializedName("VALUE_DIAGNOSTICS_GUIDANCE")
9911023
VALUE_VALUE_DIAGNOSTICS_GUIDANCE("VALUE_DIAGNOSTICS_GUIDANCE"),
9921024
@SerializedName("VALUE_OPTIMIZATION_GOAL")
@@ -1007,6 +1039,8 @@ public static enum EnumRecommendationType {
10071039
VALUE_WA_MESSAGING_PARTNERS("WA_MESSAGING_PARTNERS"),
10081040
@SerializedName("WA_MESSAGING_PARTNERS_PRECREATE")
10091041
VALUE_WA_MESSAGING_PARTNERS_PRECREATE("WA_MESSAGING_PARTNERS_PRECREATE"),
1042+
@SerializedName("WA_MESSAGING_PARTNERS_V2")
1043+
VALUE_WA_MESSAGING_PARTNERS_V2("WA_MESSAGING_PARTNERS_V2"),
10101044
@SerializedName("WEBSITE_AND_CALLS_UPSELL")
10111045
VALUE_WEBSITE_AND_CALLS_UPSELL("WEBSITE_AND_CALLS_UPSELL"),
10121046
@SerializedName("WEBSITE_AND_INSTANT_FORM_L2")

src/main/java/com/facebook/ads/sdk/AdAccountLiveVideoAdvertiser.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public class AdAccountLiveVideoAdvertiser extends APINode {
5151
private Boolean mShouldDefaultCurrentLive = null;
5252
@SerializedName("should_default_scheduled_live")
5353
private Boolean mShouldDefaultScheduledLive = null;
54+
@SerializedName("should_default_toggle_on_from_model")
55+
private Boolean mShouldDefaultToggleOnFromModel = null;
5456
@SerializedName("should_show_lva_toggle")
5557
private Boolean mShouldShowLvaToggle = null;
5658
protected static Gson gson = null;
@@ -249,6 +251,15 @@ public AdAccountLiveVideoAdvertiser setFieldShouldDefaultScheduledLive(Boolean v
249251
return this;
250252
}
251253

254+
public Boolean getFieldShouldDefaultToggleOnFromModel() {
255+
return mShouldDefaultToggleOnFromModel;
256+
}
257+
258+
public AdAccountLiveVideoAdvertiser setFieldShouldDefaultToggleOnFromModel(Boolean value) {
259+
this.mShouldDefaultToggleOnFromModel = value;
260+
return this;
261+
}
262+
252263
public Boolean getFieldShouldShowLvaToggle() {
253264
return mShouldShowLvaToggle;
254265
}
@@ -280,6 +291,7 @@ public AdAccountLiveVideoAdvertiser copyFrom(AdAccountLiveVideoAdvertiser instan
280291
this.mLvaDefaultDurationS = instance.mLvaDefaultDurationS;
281292
this.mShouldDefaultCurrentLive = instance.mShouldDefaultCurrentLive;
282293
this.mShouldDefaultScheduledLive = instance.mShouldDefaultScheduledLive;
294+
this.mShouldDefaultToggleOnFromModel = instance.mShouldDefaultToggleOnFromModel;
283295
this.mShouldShowLvaToggle = instance.mShouldShowLvaToggle;
284296
this.context = instance.context;
285297
this.rawValue = instance.rawValue;

0 commit comments

Comments
 (0)