diff --git a/pom.xml b/pom.xml
index 74514549..bb9e53ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.facebook.business.sdk
facebook-java-business-sdk
jar
- 18.0.1
+ 18.0.2
${project.groupId}:${project.artifactId}
Facebook Business Solutions SDK for Java
https://developers.facebook.com/docs/marketing-api/sdks
diff --git a/src/main/java/com/facebook/ads/sdk/APIConfig.java b/src/main/java/com/facebook/ads/sdk/APIConfig.java
index 1a9f1349..7456f47a 100644
--- a/src/main/java/com/facebook/ads/sdk/APIConfig.java
+++ b/src/main/java/com/facebook/ads/sdk/APIConfig.java
@@ -27,5 +27,5 @@ public class APIConfig {
public static final String DEFAULT_API_VERSION = "v18.0";
public static final String DEFAULT_API_BASE = "https://graph.facebook.com";
public static final String DEFAULT_VIDEO_API_BASE = "https://graph-video.facebook.com";
- public static final String USER_AGENT = "fbbizsdk-java-v18.0.1";
+ public static final String USER_AGENT = "fbbizsdk-java-v18.0.2";
};
diff --git a/src/main/java/com/facebook/ads/sdk/AdAccount.java b/src/main/java/com/facebook/ads/sdk/AdAccount.java
index 4a845b6b..1d7279a4 100644
--- a/src/main/java/com/facebook/ads/sdk/AdAccount.java
+++ b/src/main/java/com/facebook/ads/sdk/AdAccount.java
@@ -497,10 +497,6 @@ public APIRequestCreateAd createAd() {
return new APIRequestCreateAd(this.getPrefixedId().toString(), context);
}
- public APIRequestCreateAdsConversionGoal createAdsConversionGoal() {
- return new APIRequestCreateAdsConversionGoal(this.getPrefixedId().toString(), context);
- }
-
public APIRequestGetAdsReportingMmmReports getAdsReportingMmmReports() {
return new APIRequestGetAdsReportingMmmReports(this.getPrefixedId().toString(), context);
}
@@ -6745,172 +6741,6 @@ public APIRequestCreateAd requestField (String field, boolean value) {
}
- public static class APIRequestCreateAdsConversionGoal extends APIRequest {
-
- APINode lastResponse = null;
- @Override
- public APINode getLastResponse() {
- return lastResponse;
- }
- public static final String[] PARAMS = {
- "conversion_event_value_source",
- "description",
- "goal_creation_method",
- "goal_name",
- "performance_goal",
- "single_channel_conversion_events",
- "value_adjustment_rule",
- };
-
- public static final String[] FIELDS = {
- };
-
- @Override
- public APINode parseResponse(String response, String header) throws APIException {
- return APINode.parseResponse(response, getContext(), this, header).head();
- }
-
- @Override
- public APINode execute() throws APIException {
- return execute(new HashMap());
- }
-
- @Override
- public APINode execute(Map extraParams) throws APIException {
- ResponseWrapper rw = executeInternal(extraParams);
- lastResponse = parseResponse(rw.getBody(), rw.getHeader());
- return lastResponse;
- }
-
- public ListenableFuture executeAsync() throws APIException {
- return executeAsync(new HashMap());
- };
-
- public ListenableFuture executeAsync(Map extraParams) throws APIException {
- return Futures.transform(
- executeAsyncInternal(extraParams),
- new Function() {
- public APINode apply(ResponseWrapper result) {
- try {
- return APIRequestCreateAdsConversionGoal.this.parseResponse(result.getBody(), result.getHeader());
- } catch (Exception e) {
- throw new RuntimeException(e);
- }
- }
- }
- );
- };
-
- public APIRequestCreateAdsConversionGoal(String nodeId, APIContext context) {
- super(context, nodeId, "/ads_conversion_goal", "POST", Arrays.asList(PARAMS));
- }
-
- @Override
- public APIRequestCreateAdsConversionGoal setParam(String param, Object value) {
- setParamInternal(param, value);
- return this;
- }
-
- @Override
- public APIRequestCreateAdsConversionGoal setParams(Map params) {
- setParamsInternal(params);
- return this;
- }
-
-
- public APIRequestCreateAdsConversionGoal setConversionEventValueSource (EnumConversionEventValueSource conversionEventValueSource) {
- this.setParam("conversion_event_value_source", conversionEventValueSource);
- return this;
- }
- public APIRequestCreateAdsConversionGoal setConversionEventValueSource (String conversionEventValueSource) {
- this.setParam("conversion_event_value_source", conversionEventValueSource);
- return this;
- }
-
- public APIRequestCreateAdsConversionGoal setDescription (String description) {
- this.setParam("description", description);
- return this;
- }
-
- public APIRequestCreateAdsConversionGoal setGoalCreationMethod (EnumGoalCreationMethod goalCreationMethod) {
- this.setParam("goal_creation_method", goalCreationMethod);
- return this;
- }
- public APIRequestCreateAdsConversionGoal setGoalCreationMethod (String goalCreationMethod) {
- this.setParam("goal_creation_method", goalCreationMethod);
- return this;
- }
-
- public APIRequestCreateAdsConversionGoal setGoalName (String goalName) {
- this.setParam("goal_name", goalName);
- return this;
- }
-
- public APIRequestCreateAdsConversionGoal setPerformanceGoal (EnumPerformanceGoal performanceGoal) {
- this.setParam("performance_goal", performanceGoal);
- return this;
- }
- public APIRequestCreateAdsConversionGoal setPerformanceGoal (String performanceGoal) {
- this.setParam("performance_goal", performanceGoal);
- return this;
- }
-
- public APIRequestCreateAdsConversionGoal setSingleChannelConversionEvents (List