Skip to content

Commit 76c9c04

Browse files
generatedunixname89002005295453meta-codesync[bot]
authored andcommitted
Auto-generated java SDK code update
Summary: ignore-conflict-markers Reviewed By: satwikareddy3 Differential Revision: D95912515 fbshipit-source-id: 75cdb8e9be48aefaba21eaf2ef629631e0b79974
1 parent 8642b76 commit 76c9c04

154 files changed

Lines changed: 17761 additions & 5548 deletions

File tree

Some content is hidden

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

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>24.0.1</version>
7+
<version>25.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/ABTestPostTestActions.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
public class ABTestPostTestActions extends APINode {
4444
@SerializedName("auto_change_budget_to_winner")
4545
private Long mAutoChangeBudgetToWinner = null;
46+
@SerializedName("winner_budget")
47+
private String mWinnerBudget = null;
4648
protected static Gson gson = null;
4749

4850
public ABTestPostTestActions() {
@@ -203,6 +205,15 @@ public ABTestPostTestActions setFieldAutoChangeBudgetToWinner(Long value) {
203205
return this;
204206
}
205207

208+
public String getFieldWinnerBudget() {
209+
return mWinnerBudget;
210+
}
211+
212+
public ABTestPostTestActions setFieldWinnerBudget(String value) {
213+
this.mWinnerBudget = value;
214+
return this;
215+
}
216+
206217

207218

208219

@@ -221,6 +232,7 @@ public ABTestPostTestActions setFieldAutoChangeBudgetToWinner(Long value) {
221232

222233
public ABTestPostTestActions copyFrom(ABTestPostTestActions instance) {
223234
this.mAutoChangeBudgetToWinner = instance.mAutoChangeBudgetToWinner;
235+
this.mWinnerBudget = instance.mWinnerBudget;
224236
this.context = instance.context;
225237
this.rawValue = instance.rawValue;
226238
return this;

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 = "v24.0";
27+
public static final String DEFAULT_API_VERSION = "v25.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-v24.0.1";
30+
public static final String USER_AGENT = "fbbizsdk-java-v25.0.0";
3131
};

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ public APINodeList<AdCreative> getLastResponse() {
604604
"link_destination_display_url",
605605
"link_og_id",
606606
"link_url",
607+
"marketing_message_structured_spec",
607608
"media_sourcing_spec",
608609
"messenger_sponsored_message",
609610
"name",
@@ -622,6 +623,7 @@ public APINodeList<AdCreative> getLastResponse() {
622623
"portrait_customizations",
623624
"product_data",
624625
"product_set_id",
626+
"product_suggestion_settings",
625627
"recommender_settings",
626628
"regional_regulation_disclaimer_spec",
627629
"source_facebook_post_id",
@@ -1021,6 +1023,13 @@ public APIRequestGetAdCreatives requestLinkUrlField (boolean value) {
10211023
this.requestField("link_url", value);
10221024
return this;
10231025
}
1026+
public APIRequestGetAdCreatives requestMarketingMessageStructuredSpecField () {
1027+
return this.requestMarketingMessageStructuredSpecField(true);
1028+
}
1029+
public APIRequestGetAdCreatives requestMarketingMessageStructuredSpecField (boolean value) {
1030+
this.requestField("marketing_message_structured_spec", value);
1031+
return this;
1032+
}
10241033
public APIRequestGetAdCreatives requestMediaSourcingSpecField () {
10251034
return this.requestMediaSourcingSpecField(true);
10261035
}
@@ -1147,6 +1156,13 @@ public APIRequestGetAdCreatives requestProductSetIdField (boolean value) {
11471156
this.requestField("product_set_id", value);
11481157
return this;
11491158
}
1159+
public APIRequestGetAdCreatives requestProductSuggestionSettingsField () {
1160+
return this.requestProductSuggestionSettingsField(true);
1161+
}
1162+
public APIRequestGetAdCreatives requestProductSuggestionSettingsField (boolean value) {
1163+
this.requestField("product_suggestion_settings", value);
1164+
return this;
1165+
}
11501166
public APIRequestGetAdCreatives requestRecommenderSettingsField () {
11511167
return this.requestRecommenderSettingsField(true);
11521168
}

0 commit comments

Comments
 (0)