diff --git a/README.md b/README.md index 35b732fca2..ccfb75b3ea 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The Bing Ads Java SDK includes and depends on the microsoft.bingads Maven artifa com.microsoft.bingads microsoft.bingads - 12.0.3 + 12.0.4 ``` If you are not using a Maven project, you must include the correct version of each dependency. You can review the complete list of Bing Ads Java SDK dependencies at the [Maven Repository](http://mvnrepository.com/artifact/com.microsoft.bingads/microsoft.bingads/). diff --git a/pom.xml b/pom.xml index c6eaa8baf1..f66cd82e7d 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ 4.0.0 com.microsoft.bingads - 12.0.3 + 12.0.4 Bing Ads Java SDK The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API. https://github.com/BingAds/BingAds-Java-SDK diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AccountPropertyName.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AccountPropertyName.java index bdb687f65f..4155e65c96 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AccountPropertyName.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AccountPropertyName.java @@ -18,6 +18,7 @@ * <enumeration value="TrackingUrlTemplate"/> * <enumeration value="MSCLKIDAutoTaggingEnabled"/> * <enumeration value="AdClickParallelTracking"/> + * <enumeration value="FinalUrlSuffix"/> * </restriction> * </simpleType> * @@ -34,7 +35,9 @@ public enum AccountPropertyName { @XmlEnumValue("MSCLKIDAutoTaggingEnabled") MSCLKID_AUTO_TAGGING_ENABLED("MSCLKIDAutoTaggingEnabled"), @XmlEnumValue("AdClickParallelTracking") - AD_CLICK_PARALLEL_TRACKING("AdClickParallelTracking"); + AD_CLICK_PARALLEL_TRACKING("AdClickParallelTracking"), + @XmlEnumValue("FinalUrlSuffix") + FINAL_URL_SUFFIX("FinalUrlSuffix"); private final String value; AccountPropertyName(String v) { diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ActionAdExtension.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ActionAdExtension.java index f6c4462b2b..9d86eb79e4 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ActionAdExtension.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ActionAdExtension.java @@ -20,6 +20,7 @@ * <sequence> * <element name="ActionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}ActionAdExtensionActionType"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -36,6 +37,7 @@ @XmlType(name = "ActionAdExtension", propOrder = { "actionType", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "language", "trackingUrlTemplate", @@ -50,6 +52,8 @@ public class ActionAdExtension protected ActionAdExtensionActionType actionType; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "Language", nillable = true) @@ -107,6 +111,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Ad.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Ad.java index 129720065d..ed79673d6d 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Ad.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Ad.java @@ -24,6 +24,7 @@ * <element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdEditorialStatus" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> @@ -46,6 +47,7 @@ "editorialStatus", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "forwardCompatibilityMap", "id", @@ -76,6 +78,8 @@ public class Ad { protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "ForwardCompatibilityMap", nillable = true) @@ -213,6 +217,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdAdditionalField.java index 6be706f06f..482cde9980 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdAdditionalField.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdAdditionalField.java @@ -7,7 +7,8 @@ public enum AdAdditionalField { TITLE_PART3("TitlePart3"), TEXT_PART2("TextPart2"), - IMAGES("Images"); + IMAGES("Images"), + FINAL_URL_SUFFIX("FinalUrlSuffix"); private final String value; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalField.java new file mode 100644 index 0000000000..73d635ceef --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalField.java @@ -0,0 +1,28 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +/** + * Enum class for AdExtensionAdditionalField. + */ +public enum AdExtensionAdditionalField { + + FINAL_URL_SUFFIX("FinalUrlSuffix"); + + private final String value; + + AdExtensionAdditionalField(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AdExtensionAdditionalField fromValue(String v) { + for (AdExtensionAdditionalField c : AdExtensionAdditionalField.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalFieldConverter.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalFieldConverter.java new file mode 100644 index 0000000000..41eb594712 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdExtensionAdditionalFieldConverter.java @@ -0,0 +1,34 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.ArrayList; +import java.util.Collection; + +/** + * Reserved for internal use. + */ +public class AdExtensionAdditionalFieldConverter { + + public static Collection convertToList(String enums) { + String[] values = enums.split(" "); + + Collection result = new ArrayList(); + + for (String value : values) { + result.add(AdExtensionAdditionalField.fromValue(value)); + } + + return result; + } + + public static String convertToString(Collection enums) { + String result = ""; + + for (AdExtensionAdditionalField entity : enums) { + result += (entity.value() + " "); + } + + result = result.substring(0, result.length() - 1); + + return result; + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroup.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroup.java index d3a194b30c..35fc16ad89 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroup.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroup.java @@ -23,6 +23,7 @@ * <element name="BiddingScheme" type="{https://bingads.microsoft.com/CampaignManagement/v12}BiddingScheme" minOccurs="0"/> * <element name="CpcBid" type="{https://bingads.microsoft.com/CampaignManagement/v12}Bid" minOccurs="0"/> * <element name="EndDate" type="{https://bingads.microsoft.com/CampaignManagement/v12}Date" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -49,6 +50,7 @@ "biddingScheme", "cpcBid", "endDate", + "finalUrlSuffix", "forwardCompatibilityMap", "id", "language", @@ -73,6 +75,8 @@ public class AdGroup { protected Bid cpcBid; @XmlElement(name = "EndDate", nillable = true) protected Date endDate; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "ForwardCompatibilityMap", nillable = true) protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap; @XmlElement(name = "Id", nillable = true) @@ -219,6 +223,30 @@ public void setEndDate(Date value) { this.endDate = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the forwardCompatibilityMap property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalField.java new file mode 100644 index 0000000000..040685b015 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalField.java @@ -0,0 +1,28 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +/** + * Enum class for AdGroupAdditionalField. + */ +public enum AdGroupAdditionalField { + + FINAL_URL_SUFFIX("FinalUrlSuffix"); + + private final String value; + + AdGroupAdditionalField(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AdGroupAdditionalField fromValue(String v) { + for (AdGroupAdditionalField c : AdGroupAdditionalField.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalFieldConverter.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalFieldConverter.java new file mode 100644 index 0000000000..63076721ec --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupAdditionalFieldConverter.java @@ -0,0 +1,34 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.ArrayList; +import java.util.Collection; + +/** + * Reserved for internal use. + */ +public class AdGroupAdditionalFieldConverter { + + public static Collection convertToList(String enums) { + String[] values = enums.split(" "); + + Collection result = new ArrayList(); + + for (String value : values) { + result.add(AdGroupAdditionalField.fromValue(value)); + } + + return result; + } + + public static String convertToString(Collection enums) { + String result = ""; + + for (AdGroupAdditionalField entity : enums) { + result += (entity.value() + " "); + } + + result = result.substring(0, result.length() - 1); + + return result; + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalField.java new file mode 100644 index 0000000000..19dc8ee8d4 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalField.java @@ -0,0 +1,28 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +/** + * Enum class for AdGroupCriterionAdditionalField. + */ +public enum AdGroupCriterionAdditionalField { + + FINAL_URL_SUFFIX("FinalUrlSuffix"); + + private final String value; + + AdGroupCriterionAdditionalField(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AdGroupCriterionAdditionalField fromValue(String v) { + for (AdGroupCriterionAdditionalField c : AdGroupCriterionAdditionalField.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalFieldConverter.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalFieldConverter.java new file mode 100644 index 0000000000..9d3e9f2bb1 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroupCriterionAdditionalFieldConverter.java @@ -0,0 +1,34 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.ArrayList; +import java.util.Collection; + +/** + * Reserved for internal use. + */ +public class AdGroupCriterionAdditionalFieldConverter { + + public static Collection convertToList(String enums) { + String[] values = enums.split(" "); + + Collection result = new ArrayList(); + + for (String value : values) { + result.add(AdGroupCriterionAdditionalField.fromValue(value)); + } + + return result; + } + + public static String convertToString(Collection enums) { + String result = ""; + + for (AdGroupCriterionAdditionalField entity : enums) { + result += (entity.value() + " "); + } + + result = result.substring(0, result.length() - 1); + + return result; + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter10.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter10.java index 11d72af062..ac66a3db81 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter10.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter10.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter10 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.ConversionGoalTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AudienceTypeConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.ConversionGoalTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AudienceTypeConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter11.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter11.java index 8f1a6e5119..d829366c11 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter11.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter11.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter11 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.ProfileTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionTypeConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.ProfileTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionTypeConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter12.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter12.java index 205cb75c6e..e553434ac3 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter12.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter12.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter12 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdAdditionalFieldConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.ProductAudienceTypeConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdAdditionalFieldConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.ProductAudienceTypeConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter13.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter13.java new file mode 100644 index 0000000000..c4de767f13 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter13.java @@ -0,0 +1,20 @@ + +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.Collection; +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class Adapter13 + extends XmlAdapter> +{ + + + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.KeywordAdditionalFieldConverter.convertToList(value)); + } + + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.KeywordAdditionalFieldConverter.convertToString(value)); + } + +} diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter14.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter14.java new file mode 100644 index 0000000000..49c4c056f3 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter14.java @@ -0,0 +1,20 @@ + +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.Collection; +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class Adapter14 + extends XmlAdapter> +{ + + + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.ConversionGoalTypeConverter.convertToList(value)); + } + + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.ConversionGoalTypeConverter.convertToString(value)); + } + +} diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter15.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter15.java new file mode 100644 index 0000000000..3a99d13ca3 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter15.java @@ -0,0 +1,20 @@ + +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.Collection; +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class Adapter15 + extends XmlAdapter> +{ + + + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.ProfileTypeConverter.convertToList(value)); + } + + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.ProfileTypeConverter.convertToString(value)); + } + +} diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter16.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter16.java new file mode 100644 index 0000000000..f716db5067 --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter16.java @@ -0,0 +1,20 @@ + +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.Collection; +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class Adapter16 + extends XmlAdapter> +{ + + + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdAdditionalFieldConverter.convertToList(value)); + } + + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdAdditionalFieldConverter.convertToString(value)); + } + +} diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter2.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter2.java index 29a5e7342a..a3d9a03a40 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter2.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter2.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter2 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignCriterionTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupAdditionalFieldConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignCriterionTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupAdditionalFieldConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter3.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter3.java index ebbb75339e..1d959c2426 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter3.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter3.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter3 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignCriterionTypeConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignCriterionTypeConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter4.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter4.java index de6732a98c..e4ebaab640 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter4.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter4.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter4 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignAdditionalFieldConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignTypeConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.CampaignAdditionalFieldConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignTypeConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter5.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter5.java index 3ef557a7ca..14b2eb9af3 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter5.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter5.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter5 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionsTypeFilterConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignAdditionalFieldConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionsTypeFilterConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.CampaignAdditionalFieldConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter6.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter6.java index 4012200fff..5ff9bce37d 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter6.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter6.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter6 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.MediaEnabledEntityFilterConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionAdditionalFieldConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.MediaEnabledEntityFilterConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionAdditionalFieldConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter7.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter7.java index 303a5ed630..1d1dd9108b 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter7.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter7.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter7 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.AudienceTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionsTypeFilterConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.AudienceTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionsTypeFilterConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter8.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter8.java index ad1ff24fc6..2b9db8d29f 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter8.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter8.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter8 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionAdditionalFieldConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.AdGroupCriterionTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.AdExtensionAdditionalFieldConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter9.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter9.java index 4f0fe38d58..7594762b2e 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter9.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Adapter9.java @@ -5,16 +5,16 @@ import javax.xml.bind.annotation.adapters.XmlAdapter; public class Adapter9 - extends XmlAdapter> + extends XmlAdapter> { - public Collection unmarshal(String value) { - return (com.microsoft.bingads.v12.campaignmanagement.ProductAudienceTypeConverter.convertToList(value)); + public Collection unmarshal(String value) { + return (com.microsoft.bingads.v12.campaignmanagement.MediaEnabledEntityFilterConverter.convertToList(value)); } - public String marshal(Collection value) { - return (com.microsoft.bingads.v12.campaignmanagement.ProductAudienceTypeConverter.convertToString(value)); + public String marshal(Collection value) { + return (com.microsoft.bingads.v12.campaignmanagement.MediaEnabledEntityFilterConverter.convertToString(value)); } } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AddAdGroupCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AddAdGroupCriterionsRequest.java index b9c1f20f2a..38330e8b3c 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AddAdGroupCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AddAdGroupCriterionsRequest.java @@ -41,7 +41,7 @@ public class AddAdGroupCriterionsRequest { @XmlElement(name = "AdGroupCriterions", nillable = true) protected ArrayOfAdGroupCriterion adGroupCriterions; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter8 .class) + @XmlJavaTypeAdapter(Adapter11 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AddCampaignCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AddCampaignCriterionsRequest.java index df2fdf07f6..d98f2f9b03 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AddCampaignCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AddCampaignCriterionsRequest.java @@ -41,7 +41,7 @@ public class AddCampaignCriterionsRequest { @XmlElement(name = "CampaignCriterions", nillable = true) protected ArrayOfCampaignCriterion campaignCriterions; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter2 .class) + @XmlJavaTypeAdapter(Adapter3 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AppAdExtension.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AppAdExtension.java index 99c1077ae5..5c7f23a063 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AppAdExtension.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AppAdExtension.java @@ -23,6 +23,7 @@ * <element name="DisplayText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="UrlCustomParameters" type="{https://bingads.microsoft.com/CampaignManagement/v12}CustomParameters" minOccurs="0"/> @@ -42,6 +43,7 @@ "displayText", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "trackingUrlTemplate", "urlCustomParameters" @@ -62,6 +64,8 @@ public class AppAdExtension protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "TrackingUrlTemplate", nillable = true) @@ -213,6 +217,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Audience.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Audience.java index 79ecc70da3..eca398bb8d 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Audience.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Audience.java @@ -85,7 +85,7 @@ public class Audience { @XmlElement(name = "SupportedCampaignTypes", nillable = true) protected ArrayOfstring supportedCampaignTypes; @XmlElement(name = "Type", type = String.class) - @XmlJavaTypeAdapter(Adapter7 .class) + @XmlJavaTypeAdapter(Adapter10 .class) protected Collection type; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/AudienceCriterion.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/AudienceCriterion.java index 2593ba5d89..63d89c238b 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/AudienceCriterion.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/AudienceCriterion.java @@ -41,7 +41,7 @@ public class AudienceCriterion @XmlElement(name = "AudienceId", nillable = true) protected Long audienceId; @XmlElement(name = "AudienceType", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter7 .class) + @XmlJavaTypeAdapter(Adapter10 .class) protected Collection audienceType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/BiddableAdGroupCriterion.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/BiddableAdGroupCriterion.java index 016672ae47..7b66313e3f 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/BiddableAdGroupCriterion.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/BiddableAdGroupCriterion.java @@ -23,6 +23,7 @@ * <element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdGroupCriterionEditorialStatus" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="UrlCustomParameters" type="{https://bingads.microsoft.com/CampaignManagement/v12}CustomParameters" minOccurs="0"/> @@ -41,6 +42,7 @@ "editorialStatus", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "trackingUrlTemplate", "urlCustomParameters" @@ -60,6 +62,8 @@ public class BiddableAdGroupCriterion protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "TrackingUrlTemplate", nillable = true) @@ -187,6 +191,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Campaign.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Campaign.java index b18b84356b..9dcf92201c 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Campaign.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Campaign.java @@ -26,6 +26,7 @@ * <element name="DailyBudget" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ExperimentId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -54,6 +55,7 @@ "dailyBudget", "description", "experimentId", + "finalUrlSuffix", "forwardCompatibilityMap", "id", "name", @@ -82,6 +84,8 @@ public class Campaign { protected String description; @XmlElement(name = "ExperimentId", nillable = true) protected Long experimentId; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "ForwardCompatibilityMap", nillable = true) protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap; @XmlElement(name = "Id", nillable = true) @@ -100,7 +104,7 @@ public class Campaign { @XmlElement(name = "UrlCustomParameters", nillable = true) protected CustomParameters urlCustomParameters; @XmlElement(name = "CampaignType", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter3 .class) + @XmlJavaTypeAdapter(Adapter4 .class) protected Collection campaignType; @XmlElement(name = "Settings", nillable = true) protected ArrayOfSetting settings; @@ -253,6 +257,30 @@ public void setExperimentId(Long value) { this.experimentId = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the forwardCompatibilityMap property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignAdditionalField.java index 8c174b94c5..839d688bf8 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignAdditionalField.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignAdditionalField.java @@ -5,7 +5,8 @@ */ public enum CampaignAdditionalField { - EXPERIMENT_ID("ExperimentId"); + EXPERIMENT_ID("ExperimentId"), + FINAL_URL_SUFFIX("FinalUrlSuffix"); private final String value; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignCriterionType.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignCriterionType.java index 5f9d514e4c..db278f9b0f 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignCriterionType.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/CampaignCriterionType.java @@ -15,9 +15,15 @@ public enum CampaignCriterionType { RADIUS("Radius"), DEVICE("Device"), LOCATION_INTENT("LocationIntent"), + AUDIENCE("Audience"), + CUSTOM_AUDIENCE("CustomAudience"), + IN_MARKET_AUDIENCE("InMarketAudience"), + REMARKETING_LIST("RemarketingList"), COMPANY_NAME("CompanyName"), JOB_FUNCTION("JobFunction"), - INDUSTRY("Industry"); + INDUSTRY("Industry"), + PRODUCT_AUDIENCE("ProductAudience"), + SIMILAR_REMARKETING_LIST("SimilarRemarketingList"); private final String value; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ConversionGoal.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ConversionGoal.java index 6f72867b69..b4ac406c0c 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ConversionGoal.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ConversionGoal.java @@ -86,7 +86,7 @@ public class ConversionGoal { @XmlSchemaType(name = "string") protected ConversionGoalTrackingStatus trackingStatus; @XmlElement(name = "Type", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter10 .class) + @XmlJavaTypeAdapter(Adapter14 .class) protected Collection type; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteAdGroupCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteAdGroupCriterionsRequest.java index d46d914fbf..e325a5970a 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteAdGroupCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteAdGroupCriterionsRequest.java @@ -45,7 +45,7 @@ public class DeleteAdGroupCriterionsRequest { @XmlElement(name = "AdGroupId") protected Long adGroupId; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter8 .class) + @XmlJavaTypeAdapter(Adapter11 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteCampaignCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteCampaignCriterionsRequest.java index a8ad31bdc9..b0e41936ef 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteCampaignCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/DeleteCampaignCriterionsRequest.java @@ -45,7 +45,7 @@ public class DeleteCampaignCriterionsRequest { @XmlElement(name = "CampaignId") protected Long campaignId; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter2 .class) + @XmlJavaTypeAdapter(Adapter3 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionIdsByAccountIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionIdsByAccountIdRequest.java index f6b0aafdb0..8e6edded5a 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionIdsByAccountIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionIdsByAccountIdRequest.java @@ -44,7 +44,7 @@ public class GetAdExtensionIdsByAccountIdRequest { @XmlElement(name = "AccountId") protected Long accountId; @XmlElement(name = "AdExtensionType", type = String.class) - @XmlJavaTypeAdapter(Adapter5 .class) + @XmlJavaTypeAdapter(Adapter7 .class) protected Collection adExtensionType; @XmlElement(name = "AssociationType", nillable = true) @XmlSchemaType(name = "string") diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsAssociationsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsAssociationsRequest.java index c617927743..5b126a89dc 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsAssociationsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsAssociationsRequest.java @@ -25,6 +25,7 @@ * <element name="AdExtensionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdExtensionsTypeFilter" minOccurs="0"/> * <element name="AssociationType" type="{https://bingads.microsoft.com/CampaignManagement/v12}AssociationType" minOccurs="0"/> * <element name="EntityIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdExtensionAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -38,7 +39,8 @@ "accountId", "adExtensionType", "associationType", - "entityIds" + "entityIds", + "returnAdditionalFields" }) @XmlRootElement(name = "GetAdExtensionsAssociationsRequest") public class GetAdExtensionsAssociationsRequest { @@ -46,13 +48,16 @@ public class GetAdExtensionsAssociationsRequest { @XmlElement(name = "AccountId") protected Long accountId; @XmlElement(name = "AdExtensionType", type = String.class) - @XmlJavaTypeAdapter(Adapter5 .class) + @XmlJavaTypeAdapter(Adapter7 .class) protected Collection adExtensionType; @XmlElement(name = "AssociationType") @XmlSchemaType(name = "string") protected AssociationType associationType; @XmlElement(name = "EntityIds", nillable = true) protected ArrayOflong entityIds; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter8 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the accountId property. @@ -150,4 +155,28 @@ public void setEntityIds(ArrayOflong value) { this.entityIds = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsByIdsRequest.java index 39e59ebdab..bdbd484de3 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdExtensionsByIdsRequest.java @@ -23,6 +23,7 @@ * <element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="AdExtensionIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> * <element name="AdExtensionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdExtensionsTypeFilter" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdExtensionAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +36,8 @@ @XmlType(name = "", propOrder = { "accountId", "adExtensionIds", - "adExtensionType" + "adExtensionType", + "returnAdditionalFields" }) @XmlRootElement(name = "GetAdExtensionsByIdsRequest") public class GetAdExtensionsByIdsRequest { @@ -45,8 +47,11 @@ public class GetAdExtensionsByIdsRequest { @XmlElement(name = "AdExtensionIds", nillable = true) protected ArrayOflong adExtensionIds; @XmlElement(name = "AdExtensionType", type = String.class) - @XmlJavaTypeAdapter(Adapter5 .class) + @XmlJavaTypeAdapter(Adapter7 .class) protected Collection adExtensionType; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter8 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the accountId property. @@ -120,4 +125,28 @@ public void setAdExtensionType(Collection value) { this.adExtensionType = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupCriterionsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupCriterionsByIdsRequest.java index 2605ae784f..5445dea4ea 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupCriterionsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupCriterionsByIdsRequest.java @@ -23,6 +23,7 @@ * <element name="AdGroupCriterionIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> * <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="CriterionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdGroupCriterionType" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdGroupCriterionAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +36,8 @@ @XmlType(name = "", propOrder = { "adGroupCriterionIds", "adGroupId", - "criterionType" + "criterionType", + "returnAdditionalFields" }) @XmlRootElement(name = "GetAdGroupCriterionsByIdsRequest") public class GetAdGroupCriterionsByIdsRequest { @@ -45,8 +47,11 @@ public class GetAdGroupCriterionsByIdsRequest { @XmlElement(name = "AdGroupId") protected Long adGroupId; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter8 .class) + @XmlJavaTypeAdapter(Adapter11 .class) protected Collection criterionType; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter6 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the adGroupCriterionIds property. @@ -120,4 +125,28 @@ public void setCriterionType(Collection value) { this.criterionType = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByCampaignIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByCampaignIdRequest.java index fc5c78316d..8eb44be1d7 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByCampaignIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByCampaignIdRequest.java @@ -1,11 +1,13 @@ package com.microsoft.bingads.v12.campaignmanagement; +import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** @@ -19,6 +21,7 @@ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="CampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdGroupAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,17 @@ */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "campaignId" + "campaignId", + "returnAdditionalFields" }) @XmlRootElement(name = "GetAdGroupsByCampaignIdRequest") public class GetAdGroupsByCampaignIdRequest { @XmlElement(name = "CampaignId") protected Long campaignId; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter2 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the campaignId property. @@ -61,4 +68,28 @@ public void setCampaignId(Long value) { this.campaignId = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByIdsRequest.java index 96820c4a7c..78aa6dce88 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdGroupsByIdsRequest.java @@ -1,11 +1,13 @@ package com.microsoft.bingads.v12.campaignmanagement; +import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** @@ -20,6 +22,7 @@ * <sequence> * <element name="CampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="AdGroupIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdGroupAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "campaignId", - "adGroupIds" + "adGroupIds", + "returnAdditionalFields" }) @XmlRootElement(name = "GetAdGroupsByIdsRequest") public class GetAdGroupsByIdsRequest { @@ -40,6 +44,9 @@ public class GetAdGroupsByIdsRequest { protected Long campaignId; @XmlElement(name = "AdGroupIds", nillable = true) protected ArrayOflong adGroupIds; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter2 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the campaignId property. @@ -89,4 +96,28 @@ public void setAdGroupIds(ArrayOflong value) { this.adGroupIds = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByAdGroupIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByAdGroupIdRequest.java index fd068c8895..d656acdba9 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByAdGroupIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByAdGroupIdRequest.java @@ -45,7 +45,7 @@ public class GetAdsByAdGroupIdRequest { @XmlElement(name = "AdTypes", nillable = true) protected ArrayOfAdType adTypes; @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter12 .class) + @XmlJavaTypeAdapter(Adapter16 .class) protected Collection returnAdditionalFields; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByEditorialStatusRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByEditorialStatusRequest.java index 889b5b93d4..d1dc9ee066 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByEditorialStatusRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByEditorialStatusRequest.java @@ -51,7 +51,7 @@ public class GetAdsByEditorialStatusRequest { @XmlElement(name = "AdTypes", nillable = true) protected ArrayOfAdType adTypes; @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter12 .class) + @XmlJavaTypeAdapter(Adapter16 .class) protected Collection returnAdditionalFields; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByIdsRequest.java index e03bfdb13e..7ee9065ae2 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAdsByIdsRequest.java @@ -49,7 +49,7 @@ public class GetAdsByIdsRequest { @XmlElement(name = "AdTypes", nillable = true) protected ArrayOfAdType adTypes; @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter12 .class) + @XmlJavaTypeAdapter(Adapter16 .class) protected Collection returnAdditionalFields; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAudiencesByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAudiencesByIdsRequest.java index 40bc43bb4d..d733cbf0c6 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAudiencesByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetAudiencesByIdsRequest.java @@ -41,7 +41,7 @@ public class GetAudiencesByIdsRequest { @XmlElement(name = "AudienceIds", nillable = true) protected ArrayOflong audienceIds; @XmlElement(name = "Type", type = String.class) - @XmlJavaTypeAdapter(Adapter7 .class) + @XmlJavaTypeAdapter(Adapter10 .class) protected Collection type; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignCriterionsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignCriterionsByIdsRequest.java index 65082ec5a0..3696bd42db 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignCriterionsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignCriterionsByIdsRequest.java @@ -45,7 +45,7 @@ public class GetCampaignCriterionsByIdsRequest { @XmlElement(name = "CampaignId") protected Long campaignId; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter2 .class) + @XmlJavaTypeAdapter(Adapter3 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByAccountIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByAccountIdRequest.java index 0f30d18185..e964bdc53f 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByAccountIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByAccountIdRequest.java @@ -43,10 +43,10 @@ public class GetCampaignsByAccountIdRequest { @XmlElement(name = "AccountId") protected Long accountId; @XmlElement(name = "CampaignType", type = String.class) - @XmlJavaTypeAdapter(Adapter3 .class) + @XmlJavaTypeAdapter(Adapter4 .class) protected Collection campaignType; @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter4 .class) + @XmlJavaTypeAdapter(Adapter5 .class) protected Collection returnAdditionalFields; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByIdsRequest.java index 2f2b6bb721..9b82615476 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetCampaignsByIdsRequest.java @@ -47,10 +47,10 @@ public class GetCampaignsByIdsRequest { @XmlElement(name = "CampaignIds", nillable = true) protected ArrayOflong campaignIds; @XmlElement(name = "CampaignType", type = String.class) - @XmlJavaTypeAdapter(Adapter3 .class) + @XmlJavaTypeAdapter(Adapter4 .class) protected Collection campaignType; @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter4 .class) + @XmlJavaTypeAdapter(Adapter5 .class) protected Collection returnAdditionalFields; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByIdsRequest.java index 565f8761eb..6c25df6bee 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByIdsRequest.java @@ -41,7 +41,7 @@ public class GetConversionGoalsByIdsRequest { @XmlElement(name = "ConversionGoalIds", nillable = true) protected ArrayOflong conversionGoalIds; @XmlElement(name = "ConversionGoalTypes", type = String.class) - @XmlJavaTypeAdapter(Adapter10 .class) + @XmlJavaTypeAdapter(Adapter14 .class) protected Collection conversionGoalTypes; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByTagIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByTagIdsRequest.java index 5f59f4d3d8..7ee4a3441a 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByTagIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetConversionGoalsByTagIdsRequest.java @@ -41,7 +41,7 @@ public class GetConversionGoalsByTagIdsRequest { @XmlElement(name = "TagIds", nillable = true) protected ArrayOflong tagIds; @XmlElement(name = "ConversionGoalTypes", type = String.class) - @XmlJavaTypeAdapter(Adapter10 .class) + @XmlJavaTypeAdapter(Adapter14 .class) protected Collection conversionGoalTypes; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByAdGroupIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByAdGroupIdRequest.java index dc575ccffe..a5c367e1a4 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByAdGroupIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByAdGroupIdRequest.java @@ -1,11 +1,13 @@ package com.microsoft.bingads.v12.campaignmanagement; +import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** @@ -19,6 +21,7 @@ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}KeywordAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,17 @@ */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "adGroupId" + "adGroupId", + "returnAdditionalFields" }) @XmlRootElement(name = "GetKeywordsByAdGroupIdRequest") public class GetKeywordsByAdGroupIdRequest { @XmlElement(name = "AdGroupId") protected Long adGroupId; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter13 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the adGroupId property. @@ -61,4 +68,28 @@ public void setAdGroupId(Long value) { this.adGroupId = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByEditorialStatusRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByEditorialStatusRequest.java index 942aed0324..9b97e914c1 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByEditorialStatusRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByEditorialStatusRequest.java @@ -1,12 +1,14 @@ package com.microsoft.bingads.v12.campaignmanagement; +import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** @@ -21,6 +23,7 @@ * <sequence> * <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v12}KeywordEditorialStatus" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}KeywordAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -32,7 +35,8 @@ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "adGroupId", - "editorialStatus" + "editorialStatus", + "returnAdditionalFields" }) @XmlRootElement(name = "GetKeywordsByEditorialStatusRequest") public class GetKeywordsByEditorialStatusRequest { @@ -42,6 +46,9 @@ public class GetKeywordsByEditorialStatusRequest { @XmlElement(name = "EditorialStatus") @XmlSchemaType(name = "string") protected KeywordEditorialStatus editorialStatus; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter13 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the adGroupId property. @@ -91,4 +98,28 @@ public void setEditorialStatus(KeywordEditorialStatus value) { this.editorialStatus = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByIdsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByIdsRequest.java index 5808d42a41..95e1fac6fd 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByIdsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetKeywordsByIdsRequest.java @@ -1,11 +1,13 @@ package com.microsoft.bingads.v12.campaignmanagement; +import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** @@ -20,6 +22,7 @@ * <sequence> * <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="KeywordIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> + * <element name="ReturnAdditionalFields" type="{https://bingads.microsoft.com/CampaignManagement/v12}KeywordAdditionalField" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "adGroupId", - "keywordIds" + "keywordIds", + "returnAdditionalFields" }) @XmlRootElement(name = "GetKeywordsByIdsRequest") public class GetKeywordsByIdsRequest { @@ -40,6 +44,9 @@ public class GetKeywordsByIdsRequest { protected Long adGroupId; @XmlElement(name = "KeywordIds", nillable = true) protected ArrayOflong keywordIds; + @XmlElement(name = "ReturnAdditionalFields", type = String.class, nillable = true) + @XmlJavaTypeAdapter(Adapter13 .class) + protected Collection returnAdditionalFields; /** * Gets the value of the adGroupId property. @@ -89,4 +96,28 @@ public void setKeywordIds(ArrayOflong value) { this.keywordIds = value; } + /** + * Gets the value of the returnAdditionalFields property. + * + * @return + * possible object is + * {@link String } + * + */ + public Collection getReturnAdditionalFields() { + return returnAdditionalFields; + } + + /** + * Sets the value of the returnAdditionalFields property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReturnAdditionalFields(Collection value) { + this.returnAdditionalFields = value; + } + } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaAssociationsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaAssociationsRequest.java index 9935ef5e7f..8b33343b74 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaAssociationsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaAssociationsRequest.java @@ -39,7 +39,7 @@ public class GetMediaAssociationsRequest { @XmlElement(name = "MediaEnabledEntities", type = String.class) - @XmlJavaTypeAdapter(Adapter6 .class) + @XmlJavaTypeAdapter(Adapter9 .class) protected Collection mediaEnabledEntities; @XmlElement(name = "MediaIds", nillable = true) protected ArrayOflong mediaIds; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaMetaDataByAccountIdRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaMetaDataByAccountIdRequest.java index 21a768883d..f971170b44 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaMetaDataByAccountIdRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetMediaMetaDataByAccountIdRequest.java @@ -39,7 +39,7 @@ public class GetMediaMetaDataByAccountIdRequest { @XmlElement(name = "MediaEnabledEntities", type = String.class) - @XmlJavaTypeAdapter(Adapter6 .class) + @XmlJavaTypeAdapter(Adapter9 .class) protected Collection mediaEnabledEntities; @XmlElement(name = "PageInfo", nillable = true) protected Paging pageInfo; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetProfileDataFileUrlRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetProfileDataFileUrlRequest.java index 8f19b5c3fd..ac73aa08b0 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/GetProfileDataFileUrlRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/GetProfileDataFileUrlRequest.java @@ -41,7 +41,7 @@ public class GetProfileDataFileUrlRequest { @XmlElement(name = "LanguageLocale", nillable = true) protected String languageLocale; @XmlElement(name = "ProfileType", type = String.class) - @XmlJavaTypeAdapter(Adapter11 .class) + @XmlJavaTypeAdapter(Adapter15 .class) protected Collection profileType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ICampaignManagementService.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ICampaignManagementService.java index 76923ec32f..f8565f4a3e 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ICampaignManagementService.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ICampaignManagementService.java @@ -56,8 +56,8 @@ public Future addCampaignsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddCampaignsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddCampaigns", action = "AddCampaigns") @WebResult(name = "AddCampaignsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -97,8 +97,8 @@ public Future getCampaignsByAccountIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetCampaignsByAccountIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCampaignsByAccountId", action = "GetCampaignsByAccountId") @WebResult(name = "GetCampaignsByAccountIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -138,8 +138,8 @@ public Future getCampaignsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetCampaignsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCampaignsByIds", action = "GetCampaignsByIds") @WebResult(name = "GetCampaignsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -179,8 +179,8 @@ public Future deleteCampaignsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteCampaignsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteCampaigns", action = "DeleteCampaigns") @WebResult(name = "DeleteCampaignsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -220,8 +220,8 @@ public Future updateCampaignsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateCampaignsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateCampaigns", action = "UpdateCampaigns") @WebResult(name = "UpdateCampaignsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -261,8 +261,8 @@ public Future getNegativeSitesByCampaignIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetNegativeSitesByCampaignIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetNegativeSitesByCampaignIds", action = "GetNegativeSitesByCampaignIds") @WebResult(name = "GetNegativeSitesByCampaignIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -302,8 +302,8 @@ public Future setNegativeSitesToCampaignsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.SetNegativeSitesToCampaignsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SetNegativeSitesToCampaigns", action = "SetNegativeSitesToCampaigns") @WebResult(name = "SetNegativeSitesToCampaignsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -343,8 +343,8 @@ public Future getConfigValueAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetConfigValueResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetConfigValue", action = "GetConfigValue") @WebResult(name = "GetConfigValueResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -384,8 +384,8 @@ public Future getBSCCountriesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetBSCCountriesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetBSCCountries", action = "GetBSCCountries") @WebResult(name = "GetBSCCountriesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -425,8 +425,8 @@ public Future addAdGroupsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddAdGroupsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddAdGroups", action = "AddAdGroups") @WebResult(name = "AddAdGroupsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -466,8 +466,8 @@ public Future deleteAdGroupsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAdGroupsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAdGroups", action = "DeleteAdGroups") @WebResult(name = "DeleteAdGroupsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -507,8 +507,8 @@ public Future getAdGroupsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdGroupsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdGroupsByIds", action = "GetAdGroupsByIds") @WebResult(name = "GetAdGroupsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -548,8 +548,8 @@ public Future getAdGroupsByCampaignIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdGroupsByCampaignIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdGroupsByCampaignId", action = "GetAdGroupsByCampaignId") @WebResult(name = "GetAdGroupsByCampaignIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -589,8 +589,8 @@ public Future updateAdGroupsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateAdGroupsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateAdGroups", action = "UpdateAdGroups") @WebResult(name = "UpdateAdGroupsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -630,8 +630,8 @@ public Future getNegativeSitesByAdGroupIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetNegativeSitesByAdGroupIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetNegativeSitesByAdGroupIds", action = "GetNegativeSitesByAdGroupIds") @WebResult(name = "GetNegativeSitesByAdGroupIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -671,8 +671,8 @@ public Future setNegativeSitesToAdGroupsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.SetNegativeSitesToAdGroupsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SetNegativeSitesToAdGroups", action = "SetNegativeSitesToAdGroups") @WebResult(name = "SetNegativeSitesToAdGroupsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -712,8 +712,8 @@ public Future getGeoLocationsFileUrlAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetGeoLocationsFileUrlResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetGeoLocationsFileUrl", action = "GetGeoLocationsFileUrl") @WebResult(name = "GetGeoLocationsFileUrlResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -794,8 +794,8 @@ public Future deleteAdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAds", action = "DeleteAds") @WebResult(name = "DeleteAdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -835,8 +835,8 @@ public Future getAdsByEditorialStatusAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdsByEditorialStatusResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdsByEditorialStatus", action = "GetAdsByEditorialStatus") @WebResult(name = "GetAdsByEditorialStatusResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -876,8 +876,8 @@ public Future getAdsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdsByIds", action = "GetAdsByIds") @WebResult(name = "GetAdsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -917,8 +917,8 @@ public Future getAdsByAdGroupIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdsByAdGroupIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdsByAdGroupId", action = "GetAdsByAdGroupId") @WebResult(name = "GetAdsByAdGroupIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1040,8 +1040,8 @@ public Future deleteKeywordsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteKeywordsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteKeywords", action = "DeleteKeywords") @WebResult(name = "DeleteKeywordsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1081,8 +1081,8 @@ public Future getKeywordsByEditorialStatusAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetKeywordsByEditorialStatusResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetKeywordsByEditorialStatus", action = "GetKeywordsByEditorialStatus") @WebResult(name = "GetKeywordsByEditorialStatusResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1122,8 +1122,8 @@ public Future getKeywordsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetKeywordsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetKeywordsByIds", action = "GetKeywordsByIds") @WebResult(name = "GetKeywordsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1163,8 +1163,8 @@ public Future getKeywordsByAdGroupIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetKeywordsByAdGroupIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetKeywordsByAdGroupId", action = "GetKeywordsByAdGroupId") @WebResult(name = "GetKeywordsByAdGroupIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1245,8 +1245,8 @@ public Future appealEditorialRejectionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AppealEditorialRejectionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AppealEditorialRejections", action = "AppealEditorialRejections") @WebResult(name = "AppealEditorialRejectionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1286,8 +1286,8 @@ public Future getEditorialReasonsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetEditorialReasonsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetEditorialReasonsByIds", action = "GetEditorialReasonsByIds") @WebResult(name = "GetEditorialReasonsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1327,8 +1327,8 @@ public Future getAccountMigrationStatusesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAccountMigrationStatusesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAccountMigrationStatuses", action = "GetAccountMigrationStatuses") @WebResult(name = "GetAccountMigrationStatusesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1368,8 +1368,8 @@ public Future setAccountPropertiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.SetAccountPropertiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SetAccountProperties", action = "SetAccountProperties") @WebResult(name = "SetAccountPropertiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1409,8 +1409,8 @@ public Future getAccountPropertiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAccountPropertiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAccountProperties", action = "GetAccountProperties") @WebResult(name = "GetAccountPropertiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1450,8 +1450,8 @@ public Future addAdExtensionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddAdExtensionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddAdExtensions", action = "AddAdExtensions") @WebResult(name = "AddAdExtensionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1491,8 +1491,8 @@ public Future getAdExtensionsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdExtensionsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdExtensionsByIds", action = "GetAdExtensionsByIds") @WebResult(name = "GetAdExtensionsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1573,8 +1573,8 @@ public Future deleteAdExtensionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAdExtensionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAdExtensions", action = "DeleteAdExtensions") @WebResult(name = "DeleteAdExtensionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1614,8 +1614,8 @@ public Future getAdExtensionsEditorialReasonsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdExtensionsEditorialReasonsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdExtensionsEditorialReasons", action = "GetAdExtensionsEditorialReasons") @WebResult(name = "GetAdExtensionsEditorialReasonsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1696,8 +1696,8 @@ public Future getAdExtensionsAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdExtensionsAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdExtensionsAssociations", action = "GetAdExtensionsAssociations") @WebResult(name = "GetAdExtensionsAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1737,8 +1737,8 @@ public Future deleteAdExtensionsAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAdExtensionsAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAdExtensionsAssociations", action = "DeleteAdExtensionsAssociations") @WebResult(name = "DeleteAdExtensionsAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1778,8 +1778,8 @@ public Future getAdExtensionIdsByAccountIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdExtensionIdsByAccountIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdExtensionIdsByAccountId", action = "GetAdExtensionIdsByAccountId") @WebResult(name = "GetAdExtensionIdsByAccountIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1819,8 +1819,8 @@ public Future addMediaAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddMediaResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddMedia", action = "AddMedia") @WebResult(name = "AddMediaResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1860,8 +1860,8 @@ public Future deleteMediaAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteMediaResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteMedia", action = "DeleteMedia") @WebResult(name = "DeleteMediaResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1901,8 +1901,8 @@ public Future getMediaMetaDataByAccountIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetMediaMetaDataByAccountIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetMediaMetaDataByAccountId", action = "GetMediaMetaDataByAccountId") @WebResult(name = "GetMediaMetaDataByAccountIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1942,8 +1942,8 @@ public Future getMediaMetaDataByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetMediaMetaDataByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetMediaMetaDataByIds", action = "GetMediaMetaDataByIds") @WebResult(name = "GetMediaMetaDataByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -1983,8 +1983,8 @@ public Future getMediaAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetMediaAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetMediaAssociations", action = "GetMediaAssociations") @WebResult(name = "GetMediaAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2024,8 +2024,8 @@ public Future getAdGroupCriterionsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAdGroupCriterionsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAdGroupCriterionsByIds", action = "GetAdGroupCriterionsByIds") @WebResult(name = "GetAdGroupCriterionsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2147,8 +2147,8 @@ public Future deleteAdGroupCriterionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAdGroupCriterionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAdGroupCriterions", action = "DeleteAdGroupCriterions") @WebResult(name = "DeleteAdGroupCriterionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2188,8 +2188,8 @@ public Future applyProductPartitionActionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.ApplyProductPartitionActionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "ApplyProductPartitionActions", action = "ApplyProductPartitionActions") @WebResult(name = "ApplyProductPartitionActionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2229,8 +2229,8 @@ public Future getBMCStoresByCustomerIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetBMCStoresByCustomerIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetBMCStoresByCustomerId", action = "GetBMCStoresByCustomerId") @WebResult(name = "GetBMCStoresByCustomerIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2270,8 +2270,8 @@ public Future addNegativeKeywordsToEntitiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddNegativeKeywordsToEntitiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddNegativeKeywordsToEntities", action = "AddNegativeKeywordsToEntities") @WebResult(name = "AddNegativeKeywordsToEntitiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2311,8 +2311,8 @@ public Future getNegativeKeywordsByEntityIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetNegativeKeywordsByEntityIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetNegativeKeywordsByEntityIds", action = "GetNegativeKeywordsByEntityIds") @WebResult(name = "GetNegativeKeywordsByEntityIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2352,8 +2352,8 @@ public Future deleteNegativeKeywordsFromEntitiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteNegativeKeywordsFromEntitiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteNegativeKeywordsFromEntities", action = "DeleteNegativeKeywordsFromEntities") @WebResult(name = "DeleteNegativeKeywordsFromEntitiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2393,8 +2393,8 @@ public Future getSharedEntitiesByAccountIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetSharedEntitiesByAccountIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetSharedEntitiesByAccountId", action = "GetSharedEntitiesByAccountId") @WebResult(name = "GetSharedEntitiesByAccountIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2434,8 +2434,8 @@ public Future addSharedEntityAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddSharedEntityResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddSharedEntity", action = "AddSharedEntity") @WebResult(name = "AddSharedEntityResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2475,8 +2475,8 @@ public Future getListItemsBySharedListAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetListItemsBySharedListResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetListItemsBySharedList", action = "GetListItemsBySharedList") @WebResult(name = "GetListItemsBySharedListResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2516,8 +2516,8 @@ public Future addListItemsToSharedListAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddListItemsToSharedListResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddListItemsToSharedList", action = "AddListItemsToSharedList") @WebResult(name = "AddListItemsToSharedListResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2557,8 +2557,8 @@ public Future updateSharedEntitiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateSharedEntitiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateSharedEntities", action = "UpdateSharedEntities") @WebResult(name = "UpdateSharedEntitiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2598,8 +2598,8 @@ public Future deleteListItemsFromSharedListAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteListItemsFromSharedListResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteListItemsFromSharedList", action = "DeleteListItemsFromSharedList") @WebResult(name = "DeleteListItemsFromSharedListResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2639,8 +2639,8 @@ public Future setSharedEntityAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.SetSharedEntityAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SetSharedEntityAssociations", action = "SetSharedEntityAssociations") @WebResult(name = "SetSharedEntityAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2680,8 +2680,8 @@ public Future deleteSharedEntityAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteSharedEntityAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteSharedEntityAssociations", action = "DeleteSharedEntityAssociations") @WebResult(name = "DeleteSharedEntityAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2721,8 +2721,8 @@ public Future getSharedEntityAssociationsBySharedEntityIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetSharedEntityAssociationsBySharedEntityIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetSharedEntityAssociationsBySharedEntityIds", action = "GetSharedEntityAssociationsBySharedEntityIds") @WebResult(name = "GetSharedEntityAssociationsBySharedEntityIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2762,8 +2762,8 @@ public Future getSharedEntityAssociationsByEntityIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetSharedEntityAssociationsByEntityIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetSharedEntityAssociationsByEntityIds", action = "GetSharedEntityAssociationsByEntityIds") @WebResult(name = "GetSharedEntityAssociationsByEntityIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2803,8 +2803,8 @@ public Future deleteSharedEntitiesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteSharedEntitiesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteSharedEntities", action = "DeleteSharedEntities") @WebResult(name = "DeleteSharedEntitiesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2844,8 +2844,8 @@ public Future getCampaignSizesByAccountIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetCampaignSizesByAccountIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCampaignSizesByAccountId", action = "GetCampaignSizesByAccountId") @WebResult(name = "GetCampaignSizesByAccountIdResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2885,8 +2885,8 @@ public Future addCampaignCriterionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddCampaignCriterionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddCampaignCriterions", action = "AddCampaignCriterions") @WebResult(name = "AddCampaignCriterionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2926,8 +2926,8 @@ public Future updateCampaignCriterionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateCampaignCriterionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateCampaignCriterions", action = "UpdateCampaignCriterions") @WebResult(name = "UpdateCampaignCriterionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -2967,8 +2967,8 @@ public Future deleteCampaignCriterionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteCampaignCriterionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteCampaignCriterions", action = "DeleteCampaignCriterions") @WebResult(name = "DeleteCampaignCriterionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3008,8 +3008,8 @@ public Future getCampaignCriterionsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetCampaignCriterionsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCampaignCriterionsByIds", action = "GetCampaignCriterionsByIds") @WebResult(name = "GetCampaignCriterionsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3049,8 +3049,8 @@ public Future addBudgetsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddBudgetsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddBudgets", action = "AddBudgets") @WebResult(name = "AddBudgetsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3090,8 +3090,8 @@ public Future updateBudgetsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateBudgetsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateBudgets", action = "UpdateBudgets") @WebResult(name = "UpdateBudgetsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3131,8 +3131,8 @@ public Future deleteBudgetsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteBudgetsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteBudgets", action = "DeleteBudgets") @WebResult(name = "DeleteBudgetsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3172,8 +3172,8 @@ public Future getBudgetsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetBudgetsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetBudgetsByIds", action = "GetBudgetsByIds") @WebResult(name = "GetBudgetsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3213,8 +3213,8 @@ public Future getCampaignIdsByBudgetIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetCampaignIdsByBudgetIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCampaignIdsByBudgetIds", action = "GetCampaignIdsByBudgetIds") @WebResult(name = "GetCampaignIdsByBudgetIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3254,8 +3254,8 @@ public Future addAudiencesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddAudiencesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddAudiences", action = "AddAudiences") @WebResult(name = "AddAudiencesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3295,8 +3295,8 @@ public Future updateAudiencesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateAudiencesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateAudiences", action = "UpdateAudiences") @WebResult(name = "UpdateAudiencesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3336,8 +3336,8 @@ public Future deleteAudiencesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteAudiencesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAudiences", action = "DeleteAudiences") @WebResult(name = "DeleteAudiencesResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3377,8 +3377,8 @@ public Future getAudiencesByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetAudiencesByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAudiencesByIds", action = "GetAudiencesByIds") @WebResult(name = "GetAudiencesByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3418,8 +3418,8 @@ public Future getUetTagsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetUetTagsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetUetTagsByIds", action = "GetUetTagsByIds") @WebResult(name = "GetUetTagsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3459,8 +3459,8 @@ public Future addUetTagsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddUetTagsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddUetTags", action = "AddUetTags") @WebResult(name = "AddUetTagsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3500,8 +3500,8 @@ public Future updateUetTagsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateUetTagsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateUetTags", action = "UpdateUetTags") @WebResult(name = "UpdateUetTagsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3541,8 +3541,8 @@ public Future getConversionGoalsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetConversionGoalsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetConversionGoalsByIds", action = "GetConversionGoalsByIds") @WebResult(name = "GetConversionGoalsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3582,8 +3582,8 @@ public Future getConversionGoalsByTagIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetConversionGoalsByTagIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetConversionGoalsByTagIds", action = "GetConversionGoalsByTagIds") @WebResult(name = "GetConversionGoalsByTagIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3623,8 +3623,8 @@ public Future addConversionGoalsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddConversionGoalsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddConversionGoals", action = "AddConversionGoals") @WebResult(name = "AddConversionGoalsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3664,8 +3664,8 @@ public Future updateConversionGoalsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateConversionGoalsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateConversionGoals", action = "UpdateConversionGoals") @WebResult(name = "UpdateConversionGoalsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3705,8 +3705,8 @@ public Future applyOfflineConversionsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.ApplyOfflineConversionsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "ApplyOfflineConversions", action = "ApplyOfflineConversions") @WebResult(name = "ApplyOfflineConversionsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3746,8 +3746,8 @@ public Future addLabelsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddLabelsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddLabels", action = "AddLabels") @WebResult(name = "AddLabelsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3787,8 +3787,8 @@ public Future deleteLabelsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteLabelsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteLabels", action = "DeleteLabels") @WebResult(name = "DeleteLabelsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3828,8 +3828,8 @@ public Future updateLabelsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateLabelsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateLabels", action = "UpdateLabels") @WebResult(name = "UpdateLabelsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3869,8 +3869,8 @@ public Future getLabelsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetLabelsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetLabelsByIds", action = "GetLabelsByIds") @WebResult(name = "GetLabelsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3910,8 +3910,8 @@ public Future setLabelAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.SetLabelAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SetLabelAssociations", action = "SetLabelAssociations") @WebResult(name = "SetLabelAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3951,8 +3951,8 @@ public Future deleteLabelAssociationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteLabelAssociationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteLabelAssociations", action = "DeleteLabelAssociations") @WebResult(name = "DeleteLabelAssociationsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -3992,8 +3992,8 @@ public Future getLabelAssociationsByEntityIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetLabelAssociationsByEntityIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetLabelAssociationsByEntityIds", action = "GetLabelAssociationsByEntityIds") @WebResult(name = "GetLabelAssociationsByEntityIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4033,8 +4033,8 @@ public Future getLabelAssociationsByLabelIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetLabelAssociationsByLabelIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetLabelAssociationsByLabelIds", action = "GetLabelAssociationsByLabelIds") @WebResult(name = "GetLabelAssociationsByLabelIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4074,8 +4074,8 @@ public Future addExperimentsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.AddExperimentsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddExperiments", action = "AddExperiments") @WebResult(name = "AddExperimentsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4115,8 +4115,8 @@ public Future deleteExperimentsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.DeleteExperimentsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteExperiments", action = "DeleteExperiments") @WebResult(name = "DeleteExperimentsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4156,8 +4156,8 @@ public Future updateExperimentsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.UpdateExperimentsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateExperiments", action = "UpdateExperiments") @WebResult(name = "UpdateExperimentsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4197,8 +4197,8 @@ public Future getExperimentsByIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetExperimentsByIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetExperimentsByIds", action = "GetExperimentsByIds") @WebResult(name = "GetExperimentsByIdsResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") @@ -4238,8 +4238,8 @@ public Future getProfileDataFileUrlAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.campaignmanagement.GetProfileDataFileUrlResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFaultDetail_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetProfileDataFileUrl", action = "GetProfileDataFileUrl") @WebResult(name = "GetProfileDataFileUrlResponse", targetNamespace = "https://bingads.microsoft.com/CampaignManagement/v12", partName = "parameters") diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ImageAdExtension.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ImageAdExtension.java index 64c368fc90..e72f82d1d9 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ImageAdExtension.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ImageAdExtension.java @@ -22,6 +22,7 @@ * <element name="DestinationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="ImageMediaIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> * <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> @@ -41,6 +42,7 @@ "destinationUrl", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "imageMediaIds", "trackingUrlTemplate", @@ -60,6 +62,8 @@ public class ImageAdExtension protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "ImageMediaIds", nillable = true) @@ -189,6 +193,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/Keyword.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/Keyword.java index f97e20f79f..fb2efae23c 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/Keyword.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/Keyword.java @@ -24,6 +24,7 @@ * <element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v12}KeywordEditorialStatus" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> @@ -51,6 +52,7 @@ "editorialStatus", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "forwardCompatibilityMap", "id", @@ -78,6 +80,8 @@ public class Keyword { protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "ForwardCompatibilityMap", nillable = true) @@ -247,6 +251,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalField.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalField.java new file mode 100644 index 0000000000..0fe803515d --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalField.java @@ -0,0 +1,28 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +/** + * Enum class for KeywordAdditionalField. + */ +public enum KeywordAdditionalField { + + FINAL_URL_SUFFIX("FinalUrlSuffix"); + + private final String value; + + KeywordAdditionalField(String v) { + value = v; + } + + public String value() { + return value; + } + + public static KeywordAdditionalField fromValue(String v) { + for (KeywordAdditionalField c : KeywordAdditionalField.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalFieldConverter.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalFieldConverter.java new file mode 100644 index 0000000000..e8835eeb5d --- /dev/null +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/KeywordAdditionalFieldConverter.java @@ -0,0 +1,34 @@ +package com.microsoft.bingads.v12.campaignmanagement; + +import java.util.ArrayList; +import java.util.Collection; + +/** + * Reserved for internal use. + */ +public class KeywordAdditionalFieldConverter { + + public static Collection convertToList(String enums) { + String[] values = enums.split(" "); + + Collection result = new ArrayList(); + + for (String value : values) { + result.add(KeywordAdditionalField.fromValue(value)); + } + + return result; + } + + public static String convertToString(Collection enums) { + String result = ""; + + for (KeywordAdditionalField entity : enums) { + result += (entity.value() + " "); + } + + result = result.substring(0, result.length() - 1); + + return result; + } +} \ No newline at end of file diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/MediaAssociation.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/MediaAssociation.java index 64e49fa281..d16a137cd9 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/MediaAssociation.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/MediaAssociation.java @@ -41,7 +41,7 @@ public class MediaAssociation { @XmlElement(name = "EntityId") protected Long entityId; @XmlElement(name = "MediaEnabledEntity", type = String.class) - @XmlJavaTypeAdapter(Adapter6 .class) + @XmlJavaTypeAdapter(Adapter9 .class) protected Collection mediaEnabledEntity; @XmlElement(name = "MediaId") protected Long mediaId; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ObjectFactory.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ObjectFactory.java index d9e7779e23..9443d2ac0f 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ObjectFactory.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ObjectFactory.java @@ -147,9 +147,12 @@ public class ObjectFactory { private final static QName _AssetLink_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AssetLink"); private final static QName _ArrayOfAdType_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ArrayOfAdType"); private final static QName _ConversionGoalRevenue_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ConversionGoalRevenue"); + private final static QName _AdExtensionAdditionalField_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdExtensionAdditionalField"); private final static QName _AdExtensionAssociationCollection_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdExtensionAssociationCollection"); + private final static QName _KeywordAdditionalField_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "KeywordAdditionalField"); private final static QName _ItemAction_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ItemAction"); private final static QName _CustomerId_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "CustomerId"); + private final static QName _AdGroupAdditionalField_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdGroupAdditionalField"); private final static QName _AdExtensionIdentity_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdExtensionIdentity"); private final static QName _AdExtensionIdToEntityIdAssociation_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdExtensionIdToEntityIdAssociation"); private final static QName _ArrayOfAdExtensionEditorialReason_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ArrayOfAdExtensionEditorialReason"); @@ -279,6 +282,7 @@ public class ObjectFactory { private final static QName _AdStatus_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdStatus"); private final static QName _Budget_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "Budget"); private final static QName _ArrayOfKeyValuePairOfstringstring_QNAME = new QName("http://schemas.datacontract.org/2004/07/System.Collections.Generic", "ArrayOfKeyValuePairOfstringstring"); + private final static QName _AdGroupCriterionAdditionalField_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "AdGroupCriterionAdditionalField"); private final static QName _ConversionGoal_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ConversionGoal"); private final static QName _TextAsset_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "TextAsset"); private final static QName _ArrayOfUetTag_QNAME = new QName("https://bingads.microsoft.com/CampaignManagement/v12", "ArrayOfUetTag"); @@ -3879,7 +3883,7 @@ public JAXBElement createAdGroupNegativeSites(AdGroupNegat * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdExtensionsTypeFilter") - @XmlJavaTypeAdapter(Adapter5 .class) + @XmlJavaTypeAdapter(Adapter7 .class) public JAXBElement> createAdExtensionsTypeFilter(Collection value) { return new JAXBElement>(_AdExtensionsTypeFilter_QNAME, ((Class) Collection.class), null, value); } @@ -3997,7 +4001,7 @@ public JAXBElement createEventGoal(EventGoal value) { * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "CampaignAdditionalField") - @XmlJavaTypeAdapter(Adapter4 .class) + @XmlJavaTypeAdapter(Adapter5 .class) public JAXBElement> createCampaignAdditionalField(Collection value) { return new JAXBElement>(_CampaignAdditionalField_QNAME, ((Class) Collection.class), null, value); } @@ -4196,7 +4200,7 @@ public JAXBElement createReviewAdExtension(ReviewAdExtension * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdGroupCriterionType") - @XmlJavaTypeAdapter(Adapter8 .class) + @XmlJavaTypeAdapter(Adapter11 .class) public JAXBElement> createAdGroupCriterionType(Collection value) { return new JAXBElement>(_AdGroupCriterionType_QNAME, ((Class) Collection.class), null, value); } @@ -4233,7 +4237,7 @@ public JAXBElement createArrayOfSharedListItem(ArrayOfSha * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AudienceType") - @XmlJavaTypeAdapter(Adapter7 .class) + @XmlJavaTypeAdapter(Adapter10 .class) public JAXBElement> createAudienceType(Collection value) { return new JAXBElement>(_AudienceType_QNAME, ((Class) Collection.class), null, value); } @@ -4693,7 +4697,7 @@ public JAXBElement createConversionGoalStatus(ConversionGo * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "CampaignCriterionType") - @XmlJavaTypeAdapter(Adapter2 .class) + @XmlJavaTypeAdapter(Adapter3 .class) public JAXBElement> createCampaignCriterionType(Collection value) { return new JAXBElement>(_CampaignCriterionType_QNAME, ((Class) Collection.class), null, value); } @@ -4905,6 +4909,16 @@ public JAXBElement createConversionGoalRevenue(Conversion return new JAXBElement(_ConversionGoalRevenue_QNAME, ConversionGoalRevenue.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Collection }{@code <}{@link AdExtensionAdditionalField }{@code >}{@code >}} + * + */ + @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdExtensionAdditionalField") + @XmlJavaTypeAdapter(Adapter8 .class) + public JAXBElement> createAdExtensionAdditionalField(Collection value) { + return new JAXBElement>(_AdExtensionAdditionalField_QNAME, ((Class) Collection.class), null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link AdExtensionAssociationCollection }{@code >}} * @@ -4914,6 +4928,16 @@ public JAXBElement createAdExtensionAssociatio return new JAXBElement(_AdExtensionAssociationCollection_QNAME, AdExtensionAssociationCollection.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Collection }{@code <}{@link KeywordAdditionalField }{@code >}{@code >}} + * + */ + @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "KeywordAdditionalField") + @XmlJavaTypeAdapter(Adapter13 .class) + public JAXBElement> createKeywordAdditionalField(Collection value) { + return new JAXBElement>(_KeywordAdditionalField_QNAME, ((Class) Collection.class), null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link ItemAction }{@code >}} * @@ -4932,6 +4956,16 @@ public JAXBElement createCustomerId(String value) { return new JAXBElement(_CustomerId_QNAME, String.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Collection }{@code <}{@link AdGroupAdditionalField }{@code >}{@code >}} + * + */ + @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdGroupAdditionalField") + @XmlJavaTypeAdapter(Adapter2 .class) + public JAXBElement> createAdGroupAdditionalField(Collection value) { + return new JAXBElement>(_AdGroupAdditionalField_QNAME, ((Class) Collection.class), null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link AdExtensionIdentity }{@code >}} * @@ -5108,7 +5142,7 @@ public JAXBElement
createAddress(Address value) { * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "ConversionGoalType") - @XmlJavaTypeAdapter(Adapter10 .class) + @XmlJavaTypeAdapter(Adapter14 .class) public JAXBElement> createConversionGoalType(Collection value) { return new JAXBElement>(_ConversionGoalType_QNAME, ((Class) Collection.class), null, value); } @@ -5289,7 +5323,7 @@ public JAXBElement createPassword(String value) { * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "ProductAudienceType") - @XmlJavaTypeAdapter(Adapter9 .class) + @XmlJavaTypeAdapter(Adapter12 .class) public JAXBElement> createProductAudienceType(Collection value) { return new JAXBElement>(_ProductAudienceType_QNAME, ((Class) Collection.class), null, value); } @@ -5668,7 +5702,7 @@ public JAXBElement createCallAdExtension(CallAdExtension value) * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "CampaignType") - @XmlJavaTypeAdapter(Adapter3 .class) + @XmlJavaTypeAdapter(Adapter4 .class) public JAXBElement> createCampaignType(Collection value) { return new JAXBElement>(_CampaignType_QNAME, ((Class) Collection.class), null, value); } @@ -5705,7 +5739,7 @@ public JAXBElement createAppAdExtension(AppAdExtension value) { * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "MediaEnabledEntityFilter") - @XmlJavaTypeAdapter(Adapter6 .class) + @XmlJavaTypeAdapter(Adapter9 .class) public JAXBElement> createMediaEnabledEntityFilter(Collection value) { return new JAXBElement>(_MediaEnabledEntityFilter_QNAME, ((Class) Collection.class), null, value); } @@ -6013,7 +6047,7 @@ public JAXBElement createDateTime(Calendar value) { * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "ProfileType") - @XmlJavaTypeAdapter(Adapter11 .class) + @XmlJavaTypeAdapter(Adapter15 .class) public JAXBElement> createProfileType(Collection value) { return new JAXBElement>(_ProfileType_QNAME, ((Class) Collection.class), null, value); } @@ -6099,6 +6133,16 @@ public JAXBElement createArrayOfKeyValuePairO return new JAXBElement(_ArrayOfKeyValuePairOfstringstring_QNAME, ArrayOfKeyValuePairOfstringstring.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Collection }{@code <}{@link AdGroupCriterionAdditionalField }{@code >}{@code >}} + * + */ + @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdGroupCriterionAdditionalField") + @XmlJavaTypeAdapter(Adapter6 .class) + public JAXBElement> createAdGroupCriterionAdditionalField(Collection value) { + return new JAXBElement>(_AdGroupCriterionAdditionalField_QNAME, ((Class) Collection.class), null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link ConversionGoal }{@code >}} * @@ -6464,7 +6508,7 @@ public JAXBElement createArrayOfCampaignNegativeSi * */ @XmlElementDecl(namespace = "https://bingads.microsoft.com/CampaignManagement/v12", name = "AdAdditionalField") - @XmlJavaTypeAdapter(Adapter12 .class) + @XmlJavaTypeAdapter(Adapter16 .class) public JAXBElement> createAdAdditionalField(Collection value) { return new JAXBElement>(_AdAdditionalField_QNAME, ((Class) Collection.class), null, value); } diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/PriceAdExtension.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/PriceAdExtension.java index 7c82cf107a..dac890749b 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/PriceAdExtension.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/PriceAdExtension.java @@ -18,6 +18,7 @@ * <complexContent> * <extension base="{https://bingads.microsoft.com/CampaignManagement/v12}AdExtension"> * <sequence> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="PriceExtensionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}PriceExtensionType"/> * <element name="TableRows" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfPriceTableRow" minOccurs="0"/> @@ -33,6 +34,7 @@ */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PriceAdExtension", propOrder = { + "finalUrlSuffix", "language", "priceExtensionType", "tableRows", @@ -43,6 +45,8 @@ public class PriceAdExtension extends AdExtension { + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "Language", nillable = true) protected String language; @XmlElement(name = "PriceExtensionType", required = true) @@ -55,6 +59,30 @@ public class PriceAdExtension @XmlElement(name = "UrlCustomParameters", nillable = true) protected CustomParameters urlCustomParameters; + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the language property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ProductAudience.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ProductAudience.java index 149898946a..fc3d59b5c7 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ProductAudience.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ProductAudience.java @@ -39,7 +39,7 @@ public class ProductAudience { @XmlElement(name = "ProductAudienceType", type = String.class, nillable = true) - @XmlJavaTypeAdapter(Adapter9 .class) + @XmlJavaTypeAdapter(Adapter12 .class) protected Collection productAudienceType; @XmlElement(name = "TagId", nillable = true) protected Long tagId; diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/ProfileCriterion.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/ProfileCriterion.java index 4e1d8b30f3..02c3ec02bc 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/ProfileCriterion.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/ProfileCriterion.java @@ -41,7 +41,7 @@ public class ProfileCriterion @XmlElement(name = "ProfileId") protected Long profileId; @XmlElement(name = "ProfileType", type = String.class) - @XmlJavaTypeAdapter(Adapter11 .class) + @XmlJavaTypeAdapter(Adapter15 .class) protected Collection profileType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/SitelinkAdExtension.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/SitelinkAdExtension.java index 7c4e8fa9e3..3f4ef85de1 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/SitelinkAdExtension.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/SitelinkAdExtension.java @@ -23,6 +23,7 @@ * <element name="DisplayText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/> * <element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> + * <element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/> * <element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="UrlCustomParameters" type="{https://bingads.microsoft.com/CampaignManagement/v12}CustomParameters" minOccurs="0"/> @@ -42,6 +43,7 @@ "displayText", "finalAppUrls", "finalMobileUrls", + "finalUrlSuffix", "finalUrls", "trackingUrlTemplate", "urlCustomParameters" @@ -62,6 +64,8 @@ public class SitelinkAdExtension protected ArrayOfAppUrl finalAppUrls; @XmlElement(name = "FinalMobileUrls", nillable = true) protected ArrayOfstring finalMobileUrls; + @XmlElement(name = "FinalUrlSuffix", nillable = true) + protected String finalUrlSuffix; @XmlElement(name = "FinalUrls", nillable = true) protected ArrayOfstring finalUrls; @XmlElement(name = "TrackingUrlTemplate", nillable = true) @@ -213,6 +217,30 @@ public void setFinalMobileUrls(ArrayOfstring value) { this.finalMobileUrls = value; } + /** + * Gets the value of the finalUrlSuffix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinalUrlSuffix() { + return finalUrlSuffix; + } + + /** + * Sets the value of the finalUrlSuffix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinalUrlSuffix(String value) { + this.finalUrlSuffix = value; + } + /** * Gets the value of the finalUrls property. * diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateAdGroupCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateAdGroupCriterionsRequest.java index f0574d10aa..1c0710e22e 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateAdGroupCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateAdGroupCriterionsRequest.java @@ -41,7 +41,7 @@ public class UpdateAdGroupCriterionsRequest { @XmlElement(name = "AdGroupCriterions", nillable = true) protected ArrayOfAdGroupCriterion adGroupCriterions; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter8 .class) + @XmlJavaTypeAdapter(Adapter11 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateCampaignCriterionsRequest.java b/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateCampaignCriterionsRequest.java index a54f6e9077..adf24ba372 100644 --- a/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateCampaignCriterionsRequest.java +++ b/proxies/com/microsoft/bingads/v12/campaignmanagement/UpdateCampaignCriterionsRequest.java @@ -41,7 +41,7 @@ public class UpdateCampaignCriterionsRequest { @XmlElement(name = "CampaignCriterions", nillable = true) protected ArrayOfCampaignCriterion campaignCriterions; @XmlElement(name = "CriterionType", type = String.class) - @XmlJavaTypeAdapter(Adapter2 .class) + @XmlJavaTypeAdapter(Adapter3 .class) protected Collection criterionType; /** diff --git a/proxies/com/microsoft/bingads/v12/customerbilling/ICustomerBillingService.java b/proxies/com/microsoft/bingads/v12/customerbilling/ICustomerBillingService.java index c7377d10c2..8f1ec05084 100644 --- a/proxies/com/microsoft/bingads/v12/customerbilling/ICustomerBillingService.java +++ b/proxies/com/microsoft/bingads/v12/customerbilling/ICustomerBillingService.java @@ -56,8 +56,8 @@ public Future getBillingDocumentsInfoAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customerbilling.GetBillingDocumentsInfoResponse - * @throws ApiBatchFault_Exception * @throws AdApiFaultDetail_Exception + * @throws ApiBatchFault_Exception * @throws ApiFault_Exception */ @WebMethod(operationName = "GetBillingDocumentsInfo", action = "GetBillingDocumentsInfo") @@ -98,8 +98,8 @@ public Future getBillingDocumentsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customerbilling.GetBillingDocumentsResponse - * @throws ApiBatchFault_Exception * @throws AdApiFaultDetail_Exception + * @throws ApiBatchFault_Exception * @throws ApiFault_Exception */ @WebMethod(operationName = "GetBillingDocuments", action = "GetBillingDocuments") diff --git a/proxies/com/microsoft/bingads/v12/customermanagement/ICustomerManagementService.java b/proxies/com/microsoft/bingads/v12/customermanagement/ICustomerManagementService.java index 97a3ff0464..453a739c78 100644 --- a/proxies/com/microsoft/bingads/v12/customermanagement/ICustomerManagementService.java +++ b/proxies/com/microsoft/bingads/v12/customermanagement/ICustomerManagementService.java @@ -56,8 +56,8 @@ public Future getAccountsInfoAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetAccountsInfoResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAccountsInfo", action = "GetAccountsInfo") @WebResult(name = "GetAccountsInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -97,8 +97,8 @@ public Future findAccountsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.FindAccountsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "FindAccounts", action = "FindAccounts") @WebResult(name = "FindAccountsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -138,8 +138,8 @@ public Future addAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.AddAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddAccount", action = "AddAccount") @WebResult(name = "AddAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -179,8 +179,8 @@ public Future updateAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdateAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateAccount", action = "UpdateAccount") @WebResult(name = "UpdateAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -220,8 +220,8 @@ public Future getCustomerAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetCustomerResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCustomer", action = "GetCustomer") @WebResult(name = "GetCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -261,8 +261,8 @@ public Future updateCustomerAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdateCustomerResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateCustomer", action = "UpdateCustomer") @WebResult(name = "UpdateCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -302,8 +302,8 @@ public Future signupCustomerAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SignupCustomerResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SignupCustomer", action = "SignupCustomer") @WebResult(name = "SignupCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -343,8 +343,8 @@ public Future getAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAccount", action = "GetAccount") @WebResult(name = "GetAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -384,8 +384,8 @@ public Future getCustomersInfoAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetCustomersInfoResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCustomersInfo", action = "GetCustomersInfo") @WebResult(name = "GetCustomersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -425,8 +425,8 @@ public Future deleteAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.DeleteAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteAccount", action = "DeleteAccount") @WebResult(name = "DeleteAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -466,8 +466,8 @@ public Future deleteCustomerAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.DeleteCustomerResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteCustomer", action = "DeleteCustomer") @WebResult(name = "DeleteCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -507,8 +507,8 @@ public Future updateUserAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdateUserResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateUser", action = "UpdateUser") @WebResult(name = "UpdateUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -548,8 +548,8 @@ public Future updateUserRolesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdateUserRolesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateUserRoles", action = "UpdateUserRoles") @WebResult(name = "UpdateUserRolesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -589,8 +589,8 @@ public Future getUserAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetUserResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetUser", action = "GetUser") @WebResult(name = "GetUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -630,8 +630,8 @@ public Future getCurrentUserAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetCurrentUserResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCurrentUser", action = "GetCurrentUser") @WebResult(name = "GetCurrentUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -671,8 +671,8 @@ public Future deleteUserAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.DeleteUserResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "DeleteUser", action = "DeleteUser") @WebResult(name = "DeleteUserResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -712,8 +712,8 @@ public Future getUsersInfoAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetUsersInfoResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetUsersInfo", action = "GetUsersInfo") @WebResult(name = "GetUsersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -753,8 +753,8 @@ public Future getCustomerPilotFeaturesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetCustomerPilotFeaturesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetCustomerPilotFeatures", action = "GetCustomerPilotFeatures") @WebResult(name = "GetCustomerPilotFeaturesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -794,8 +794,8 @@ public Future getPilotFeaturesCountriesAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetPilotFeaturesCountriesResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetPilotFeaturesCountries", action = "GetPilotFeaturesCountries") @WebResult(name = "GetPilotFeaturesCountriesResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -835,8 +835,8 @@ public Future getAccessibleCustomerAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.GetAccessibleCustomerResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "GetAccessibleCustomer", action = "GetAccessibleCustomer") @WebResult(name = "GetAccessibleCustomerResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -876,8 +876,8 @@ public Future findAccountsOrCustomersInfoAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.FindAccountsOrCustomersInfoResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "FindAccountsOrCustomersInfo", action = "FindAccountsOrCustomersInfo") @WebResult(name = "FindAccountsOrCustomersInfoResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -917,8 +917,8 @@ public Future upgradeCustomerToAgencyAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpgradeCustomerToAgencyResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpgradeCustomerToAgency", action = "UpgradeCustomerToAgency") @WebResult(name = "UpgradeCustomerToAgencyResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -958,8 +958,8 @@ public Future addPrepayAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.AddPrepayAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddPrepayAccount", action = "AddPrepayAccount") @WebResult(name = "AddPrepayAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -999,8 +999,8 @@ public Future updatePrepayAccountAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdatePrepayAccountResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdatePrepayAccount", action = "UpdatePrepayAccount") @WebResult(name = "UpdatePrepayAccountResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1040,8 +1040,8 @@ public Future mapCustomerIdToExternalCustomerIdAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.MapCustomerIdToExternalCustomerIdResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "MapCustomerIdToExternalCustomerId", action = "MapCustomerIdToExternalCustomerId") @WebResult(name = "MapCustomerIdToExternalCustomerIdResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1081,8 +1081,8 @@ public Future mapAccountIdToExternalAccountIdsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.MapAccountIdToExternalAccountIdsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "MapAccountIdToExternalAccountIds", action = "MapAccountIdToExternalAccountIds") @WebResult(name = "MapAccountIdToExternalAccountIdsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1122,8 +1122,8 @@ public Future searchCustomersAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SearchCustomersResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SearchCustomers", action = "SearchCustomers") @WebResult(name = "SearchCustomersResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1163,8 +1163,8 @@ public Future addClientLinksAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.AddClientLinksResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "AddClientLinks", action = "AddClientLinks") @WebResult(name = "AddClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1204,8 +1204,8 @@ public Future updateClientLinksAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.UpdateClientLinksResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "UpdateClientLinks", action = "UpdateClientLinks") @WebResult(name = "UpdateClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1245,8 +1245,8 @@ public Future searchClientLinksAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SearchClientLinksResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SearchClientLinks", action = "SearchClientLinks") @WebResult(name = "SearchClientLinksResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1286,8 +1286,8 @@ public Future searchAccountsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SearchAccountsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SearchAccounts", action = "SearchAccounts") @WebResult(name = "SearchAccountsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1327,8 +1327,8 @@ public Future sendUserInvitationAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SendUserInvitationResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SendUserInvitation", action = "SendUserInvitation") @WebResult(name = "SendUserInvitationResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1368,8 +1368,8 @@ public Future searchUserInvitationsAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.SearchUserInvitationsResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "SearchUserInvitations", action = "SearchUserInvitations") @WebResult(name = "SearchUserInvitationsResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") @@ -1409,8 +1409,8 @@ public Future validateAddressAsync( * @param parameters * @return * returns com.microsoft.bingads.v12.customermanagement.ValidateAddressResponse - * @throws AdApiFaultDetail_Exception * @throws ApiFault_Exception + * @throws AdApiFaultDetail_Exception */ @WebMethod(operationName = "ValidateAddress", action = "ValidateAddress") @WebResult(name = "ValidateAddressResponse", targetNamespace = "https://bingads.microsoft.com/Customer/v12", partName = "parameters") diff --git a/proxies/com/microsoft/bingads/v12/reporting/AdGroupPerformanceReportColumn.java b/proxies/com/microsoft/bingads/v12/reporting/AdGroupPerformanceReportColumn.java index 738c4925c2..2ad8368994 100644 --- a/proxies/com/microsoft/bingads/v12/reporting/AdGroupPerformanceReportColumn.java +++ b/proxies/com/microsoft/bingads/v12/reporting/AdGroupPerformanceReportColumn.java @@ -77,6 +77,8 @@ * <enumeration value="CustomerName"/> * <enumeration value="ClickSharePercent"/> * <enumeration value="AbsoluteTopImpressionSharePercent"/> + * <enumeration value="FinalUrlSuffix"/> + * <enumeration value="CampaignType"/> * </restriction> * </simpleType> * @@ -211,7 +213,11 @@ public enum AdGroupPerformanceReportColumn { @XmlEnumValue("ClickSharePercent") CLICK_SHARE_PERCENT("ClickSharePercent"), @XmlEnumValue("AbsoluteTopImpressionSharePercent") - ABSOLUTE_TOP_IMPRESSION_SHARE_PERCENT("AbsoluteTopImpressionSharePercent"); + ABSOLUTE_TOP_IMPRESSION_SHARE_PERCENT("AbsoluteTopImpressionSharePercent"), + @XmlEnumValue("FinalUrlSuffix") + FINAL_URL_SUFFIX("FinalUrlSuffix"), + @XmlEnumValue("CampaignType") + CAMPAIGN_TYPE("CampaignType"); private final String value; AdGroupPerformanceReportColumn(String v) { diff --git a/proxies/com/microsoft/bingads/v12/reporting/AdPerformanceReportColumn.java b/proxies/com/microsoft/bingads/v12/reporting/AdPerformanceReportColumn.java index 0ab7a4c5f7..1570b70a24 100644 --- a/proxies/com/microsoft/bingads/v12/reporting/AdPerformanceReportColumn.java +++ b/proxies/com/microsoft/bingads/v12/reporting/AdPerformanceReportColumn.java @@ -73,6 +73,7 @@ * <enumeration value="AdLabels"/> * <enumeration value="CustomerId"/> * <enumeration value="CustomerName"/> + * <enumeration value="CampaignType"/> * </restriction> * </simpleType> * @@ -199,7 +200,9 @@ public enum AdPerformanceReportColumn { @XmlEnumValue("CustomerId") CUSTOMER_ID("CustomerId"), @XmlEnumValue("CustomerName") - CUSTOMER_NAME("CustomerName"); + CUSTOMER_NAME("CustomerName"), + @XmlEnumValue("CampaignType") + CAMPAIGN_TYPE("CampaignType"); private final String value; AdPerformanceReportColumn(String v) { diff --git a/proxies/com/microsoft/bingads/v12/reporting/CampaignPerformanceReportColumn.java b/proxies/com/microsoft/bingads/v12/reporting/CampaignPerformanceReportColumn.java index ede669c330..c8bff77cd0 100644 --- a/proxies/com/microsoft/bingads/v12/reporting/CampaignPerformanceReportColumn.java +++ b/proxies/com/microsoft/bingads/v12/reporting/CampaignPerformanceReportColumn.java @@ -84,6 +84,8 @@ * <enumeration value="CustomerName"/> * <enumeration value="ClickSharePercent"/> * <enumeration value="AbsoluteTopImpressionSharePercent"/> + * <enumeration value="FinalUrlSuffix"/> + * <enumeration value="CampaignType"/> * </restriction> * </simpleType> * @@ -232,7 +234,11 @@ public enum CampaignPerformanceReportColumn { @XmlEnumValue("ClickSharePercent") CLICK_SHARE_PERCENT("ClickSharePercent"), @XmlEnumValue("AbsoluteTopImpressionSharePercent") - ABSOLUTE_TOP_IMPRESSION_SHARE_PERCENT("AbsoluteTopImpressionSharePercent"); + ABSOLUTE_TOP_IMPRESSION_SHARE_PERCENT("AbsoluteTopImpressionSharePercent"), + @XmlEnumValue("FinalUrlSuffix") + FINAL_URL_SUFFIX("FinalUrlSuffix"), + @XmlEnumValue("CampaignType") + CAMPAIGN_TYPE("CampaignType"); private final String value; CampaignPerformanceReportColumn(String v) { diff --git a/proxies/com/microsoft/bingads/v12/reporting/DestinationUrlPerformanceReportColumn.java b/proxies/com/microsoft/bingads/v12/reporting/DestinationUrlPerformanceReportColumn.java index 2ec823764a..8137de1075 100644 --- a/proxies/com/microsoft/bingads/v12/reporting/DestinationUrlPerformanceReportColumn.java +++ b/proxies/com/microsoft/bingads/v12/reporting/DestinationUrlPerformanceReportColumn.java @@ -59,6 +59,7 @@ * <enumeration value="AdStatus"/> * <enumeration value="CustomerId"/> * <enumeration value="CustomerName"/> + * <enumeration value="FinalUrlSuffix"/> * </restriction> * </simpleType> * @@ -157,7 +158,9 @@ public enum DestinationUrlPerformanceReportColumn { @XmlEnumValue("CustomerId") CUSTOMER_ID("CustomerId"), @XmlEnumValue("CustomerName") - CUSTOMER_NAME("CustomerName"); + CUSTOMER_NAME("CustomerName"), + @XmlEnumValue("FinalUrlSuffix") + FINAL_URL_SUFFIX("FinalUrlSuffix"); private final String value; DestinationUrlPerformanceReportColumn(String v) { diff --git a/proxies/com/microsoft/bingads/v12/reporting/KeywordPerformanceReportColumn.java b/proxies/com/microsoft/bingads/v12/reporting/KeywordPerformanceReportColumn.java index 17dd1b9fad..f29578b2bd 100644 --- a/proxies/com/microsoft/bingads/v12/reporting/KeywordPerformanceReportColumn.java +++ b/proxies/com/microsoft/bingads/v12/reporting/KeywordPerformanceReportColumn.java @@ -75,6 +75,7 @@ * <enumeration value="Mainline1Bid"/> * <enumeration value="MainlineBid"/> * <enumeration value="FirstPageBid"/> + * <enumeration value="FinalUrlSuffix"/> * </restriction> * </simpleType> * @@ -205,7 +206,9 @@ public enum KeywordPerformanceReportColumn { @XmlEnumValue("MainlineBid") MAINLINE_BID("MainlineBid"), @XmlEnumValue("FirstPageBid") - FIRST_PAGE_BID("FirstPageBid"); + FIRST_PAGE_BID("FirstPageBid"), + @XmlEnumValue("FinalUrlSuffix") + FINAL_URL_SUFFIX("FinalUrlSuffix"); private final String value; KeywordPerformanceReportColumn(String v) { diff --git a/src/main/java/com/microsoft/bingads/internal/ServiceFactoryImpl.java b/src/main/java/com/microsoft/bingads/internal/ServiceFactoryImpl.java index c92b0ee3dd..9dc29c54af 100644 --- a/src/main/java/com/microsoft/bingads/internal/ServiceFactoryImpl.java +++ b/src/main/java/com/microsoft/bingads/internal/ServiceFactoryImpl.java @@ -29,7 +29,7 @@ public class ServiceFactoryImpl implements ServiceFactory { - private static final String VERSION = "12.0.3"; + private static final String VERSION = "12.0.4"; private static final int DEFAULT_WS_CREATE_TIMEOUT_IN_SECOND = 60; @@ -79,6 +79,7 @@ public class ServiceFactoryImpl implements ServiceFactory { setSandboxUrl("https://bulk.api.sandbox.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v12/BulkService.svc"); } }); + //End of v12 } }; diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/BulkOperation.java b/src/main/java/com/microsoft/bingads/v12/bulk/BulkOperation.java index cb67eee3cb..7ae773d15c 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/BulkOperation.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/BulkOperation.java @@ -217,14 +217,14 @@ void setZipExtractor(ZipExtractor zipExtractor) { } /** - * Gets the time interval in milliseconds between two status polling attempts. The default value is 1000 (1 second). + * Gets the time interval in milliseconds between two status polling attempts. The default value is 5000 (5 second). */ public int getStatusPollIntervalInMilliseconds() { return statusPollIntervalInMilliseconds; } /** - * Sets the time interval in milliseconds between two status polling attempts. The default value is 1000 (1 second). + * Sets the time interval in milliseconds between two status polling attempts. The default value is 5000 (5 second). */ public void setStatusPollIntervalInMilliseconds(int statusPollIntervalInMilliseconds) { this.statusPollIntervalInMilliseconds = statusPollIntervalInMilliseconds; diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkActionAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkActionAdExtension.java index 6f431ea978..352ebc6aa0 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkActionAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkActionAdExtension.java @@ -51,6 +51,8 @@ public void setActionAdExtension(ActionAdExtension actionAdExtension) { } private static final List> MAPPINGS; + + private String actionText; static { List> m = new ArrayList>(); @@ -80,7 +82,7 @@ public ActionAdExtensionActionType apply(String value) { new Function() { @Override public String apply(BulkActionAdExtension c) { - return StringExtensions.writeUrls("; ", c.getActionAdExtension().getFinalUrls()); + return StringExtensions.writeUrls("; ", c.getActionAdExtension().getFinalUrls(), c.getActionAdExtension().getId()); } }, new BiConsumer() { @@ -102,7 +104,7 @@ public void accept(String v, BulkActionAdExtension c) { new Function() { @Override public String apply(BulkActionAdExtension c) { - return StringExtensions.writeUrls("; ", c.getActionAdExtension().getFinalMobileUrls()); + return StringExtensions.writeUrls("; ", c.getActionAdExtension().getFinalMobileUrls(), c.getActionAdExtension().getId()); } }, new BiConsumer() { @@ -124,7 +126,7 @@ public void accept(String v, BulkActionAdExtension c) { new Function() { @Override public String apply(BulkActionAdExtension t) { - return StringExtensions.toOptionalBulkString(t.getActionAdExtension().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(t.getActionAdExtension().getTrackingUrlTemplate(), t.getActionAdExtension().getId()); } }, new BiConsumer() { @@ -154,7 +156,7 @@ public void accept(String v, BulkActionAdExtension c) { new Function() { @Override public String apply(BulkActionAdExtension c) { - return StringExtensions.toCustomParaBulkString(c.getActionAdExtension().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getActionAdExtension().getUrlCustomParameters(), c.getActionAdExtension().getId()); } }, new BiConsumer() { @@ -169,6 +171,21 @@ public void accept(String v, BulkActionAdExtension c) { } )); + m.add(new SimpleBulkMapping(StringTable.ActionText, + new Function() { + @Override + public String apply(BulkActionAdExtension t) { + return t.getActionText(); + } + }, + new BiConsumer() { + @Override + public void accept(String v, BulkActionAdExtension c) { + c.setActionText(v); + } + } + )); + MAPPINGS = Collections.unmodifiableList(m); } @@ -192,4 +209,13 @@ public void processMappingsToRowValues(RowValues values, boolean excludeReadonly super.processMappingsToRowValues(values, excludeReadonlyData); MappingHelpers.convertToValues(this, values, MAPPINGS); } + + public String getActionText() { + return actionText; + } + + public void setActionText(String actionText) { + this.actionText = actionText; + } + } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAd.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAd.java index 2db3ca4e90..5c69138faf 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAd.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAd.java @@ -177,7 +177,7 @@ public void accept(String v, BulkAd c) { new Function() { @Override public String apply(BulkAd c) { - return StringExtensions.writeUrls("; ", c.getAd().getFinalUrls()); + return StringExtensions.writeUrls("; ", c.getAd().getFinalUrls(), c.getAd().getId()); } }, new BiConsumer() { @@ -199,7 +199,7 @@ public void accept(String v, BulkAd c) { new Function() { @Override public String apply(BulkAd c) { - return StringExtensions.writeUrls("; ", c.getAd().getFinalMobileUrls()); + return StringExtensions.writeUrls("; ", c.getAd().getFinalMobileUrls(), c.getAd().getId()); } }, new BiConsumer() { @@ -221,7 +221,7 @@ public void accept(String v, BulkAd c) { new Function() { @Override public String apply(BulkAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getAd().getTrackingUrlTemplate(), c.getAd().getId()); } }, new BiConsumer() { @@ -236,7 +236,7 @@ public void accept(String v, BulkAd c) { new Function() { @Override public String apply(BulkAd c) { - return StringExtensions.toCustomParaBulkString(c.getAd().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getAd().getUrlCustomParameters(), c.getAd().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdExtension.java index 4fe0ef733c..4e0e1a2613 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdExtension.java @@ -163,7 +163,7 @@ public String apply(BulkAdExtension t) { return null; } - return StringExtensions.toDayTimeRangesBulkString(t.getAdExtension().getScheduling().getDayTimeRanges()); + return StringExtensions.toDayTimeRangesBulkString(t.getAdExtension().getScheduling().getDayTimeRanges(), t.getAdExtension().getId()); } }, new BiConsumer() { @@ -185,7 +185,7 @@ public String apply(BulkAdExtension t) { if (t.getAdExtension().getScheduling() == null) { return null; } - return StringExtensions.toScheduleDateBulkString(t.getAdExtension().getScheduling().getStartDate()); + return StringExtensions.toScheduleDateBulkString(t.getAdExtension().getScheduling().getStartDate(), t.getAdExtension().getId()); } }, new BiConsumer() { @@ -210,7 +210,7 @@ public String apply(BulkAdExtension t) { if (t.getAdExtension().getScheduling() == null) { return null; } - return StringExtensions.toScheduleDateBulkString(t.getAdExtension().getScheduling().getEndDate()); + return StringExtensions.toScheduleDateBulkString(t.getAdExtension().getScheduling().getEndDate(), t.getAdExtension().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroup.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroup.java index f723151d3e..56f2c66cfd 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroup.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroup.java @@ -64,8 +64,6 @@ public class BulkAdGroup extends SingleRecordBulkEntity { private PerformanceData performanceData; - private boolean isExpired; - private static final List> MAPPINGS; static { @@ -90,28 +88,18 @@ public void accept(String v, BulkAdGroup c) { new Function() { @Override public String apply(BulkAdGroup c) { - if (c.getIsExpired()) { - return "Expired"; - } - return c.getAdGroup().getStatus() != null ? c.getAdGroup().getStatus().value() : null; } }, new BiConsumer() { @Override public void accept(String v, BulkAdGroup c) { - if (v.equals("Expired")) { - c.getAdGroup().setStatus(AdGroupStatus.EXPIRED); - - c.setIsExpired(true); - } else { - c.getAdGroup().setStatus(StringExtensions.parseOptional(v, new Function() { - @Override - public AdGroupStatus apply(String value) { - return AdGroupStatus.fromValue(value); - } - })); - } + c.getAdGroup().setStatus(StringExtensions.parseOptional(v, new Function() { + @Override + public AdGroupStatus apply(String value) { + return AdGroupStatus.fromValue(value); + } + })); } } )); @@ -243,7 +231,7 @@ public void accept(String v, BulkAdGroup c) { new Function() { @Override public String apply(BulkAdGroup c) { - return StringExtensions.toAdGroupBidBulkString(c.getAdGroup().getCpcBid()); + return StringExtensions.toAdGroupBidBulkString(c.getAdGroup().getCpcBid(), c.getAdGroup().getId()); } }, new BiConsumer() { @@ -258,7 +246,7 @@ public void accept(String v, BulkAdGroup c) { new Function() { @Override public String apply(BulkAdGroup c) { - return StringExtensions.toOptionalBulkString(c.getAdGroup().getLanguage()); + return StringExtensions.toOptionalBulkString(c.getAdGroup().getLanguage(), c.getAdGroup().getId()); } }, new BiConsumer() { @@ -288,7 +276,7 @@ public void accept(String v, BulkAdGroup c) { new Function() { @Override public String apply(BulkAdGroup c) { - return StringExtensions.toOptionalBulkString(c.getAdGroup().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getAdGroup().getTrackingUrlTemplate(), c.getAdGroup().getId()); } }, new BiConsumer() { @@ -303,7 +291,7 @@ public void accept(String v, BulkAdGroup c) { new Function() { @Override public String apply(BulkAdGroup c) { - return StringExtensions.toCustomParaBulkString(c.getAdGroup().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getAdGroup().getUrlCustomParameters(), c.getAdGroup().getId()); } }, new BiConsumer() { @@ -616,17 +604,4 @@ public PerformanceData getPerformanceData() { return performanceData; } - /** - * Gets whether the AdGroup is expired. - */ - public boolean getIsExpired() { - return isExpired; - } - - /** - * Sets whether the AdGroup is expired. - */ - private void setIsExpired(boolean isExpired) { - this.isExpired = isExpired; - } } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupDynamicSearchAdTarget.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupDynamicSearchAdTarget.java index 0d59378ac6..6cfdc3ee61 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupDynamicSearchAdTarget.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupDynamicSearchAdTarget.java @@ -180,7 +180,7 @@ public void accept(String v, BulkAdGroupDynamicSearchAdTarget c) { @Override public String apply(BulkAdGroupDynamicSearchAdTarget c) { if (c.getBiddableAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getBiddableAdGroupCriterion()).getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getBiddableAdGroupCriterion()).getTrackingUrlTemplate(), c.getBiddableAdGroupCriterion().getId()); } else { return null; } @@ -201,7 +201,7 @@ public void accept(String v, BulkAdGroupDynamicSearchAdTarget c) { @Override public String apply(BulkAdGroupDynamicSearchAdTarget c) { if (c.getBiddableAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.toCustomParaBulkString(((BiddableAdGroupCriterion) c.getBiddableAdGroupCriterion()).getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(((BiddableAdGroupCriterion) c.getBiddableAdGroupCriterion()).getUrlCustomParameters(), c.getBiddableAdGroupCriterion().getId()); } else { return null; } @@ -254,7 +254,7 @@ public void accept(RowValues v, BulkAdGroupDynamicSearchAdTarget c) { public String apply(BulkAdGroupDynamicSearchAdTarget c) { if (c.getBiddableAdGroupCriterion().getCriterion() instanceof Webpage) { WebpageParameter webpageParameter = ((Webpage) c.getBiddableAdGroupCriterion().getCriterion()).getParameter(); - return StringExtensions.toCriterionNameBulkString(webpageParameter); + return StringExtensions.toCriterionNameBulkString(webpageParameter, c.getBiddableAdGroupCriterion().getId()); } return null; } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupNegativeDynamicSearchAdTarget.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupNegativeDynamicSearchAdTarget.java index 9fdb469f84..9660f37cad 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupNegativeDynamicSearchAdTarget.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupNegativeDynamicSearchAdTarget.java @@ -176,7 +176,7 @@ public void accept(RowValues v, BulkAdGroupNegativeDynamicSearchAdTarget c) { public String apply(BulkAdGroupNegativeDynamicSearchAdTarget c) { if (c.getNegativeAdGroupCriterion().getCriterion() instanceof Webpage) { WebpageParameter webpageParameter = ((Webpage) c.getNegativeAdGroupCriterion().getCriterion()).getParameter(); - return StringExtensions.toCriterionNameBulkString(webpageParameter); + return StringExtensions.toCriterionNameBulkString(webpageParameter, c.getNegativeAdGroupCriterion().getId()); } return null; } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupProductPartition.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupProductPartition.java index 1526544fdb..fc3dde99db 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupProductPartition.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkAdGroupProductPartition.java @@ -314,7 +314,7 @@ public String apply(BulkAdGroupProductPartition c) { if (bid == null) { return null; } else { - return StringExtensions.toAdGroupFixedBidBulkString(((FixedBid) bid)); + return StringExtensions.toAdGroupFixedBidBulkString(((FixedBid) bid), c.getAdGroupCriterion().getId()); } } else { return null; @@ -338,7 +338,7 @@ public void accept(String v, BulkAdGroupProductPartition c) { @Override public String apply(BulkAdGroupProductPartition c) { if (c.getAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getDestinationUrl()); + return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getDestinationUrl(), c.getAdGroupCriterion().getId()); } else { return null; } @@ -360,7 +360,7 @@ public void accept(String v, BulkAdGroupProductPartition c) { @Override public String apply(BulkAdGroupProductPartition c) { if (c.getAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.writeUrls("; ", ((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getFinalUrls()); + return StringExtensions.writeUrls("; ", ((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getFinalUrls(), c.getAdGroupCriterion().getId()); } else { return null; } @@ -389,7 +389,7 @@ public void accept(String v, BulkAdGroupProductPartition c) { @Override public String apply(BulkAdGroupProductPartition c) { if (c.getAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.writeUrls("; ", ((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getFinalMobileUrls()); + return StringExtensions.writeUrls("; ", ((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getFinalMobileUrls(), c.getAdGroupCriterion().getId()); } else { return null; } @@ -418,7 +418,7 @@ public void accept(String v, BulkAdGroupProductPartition c) { @Override public String apply(BulkAdGroupProductPartition c) { if (c.getAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getTrackingUrlTemplate(), c.getAdGroupCriterion().getId()); } else { return null; } @@ -439,7 +439,7 @@ public void accept(String v, BulkAdGroupProductPartition c) { @Override public String apply(BulkAdGroupProductPartition c) { if (c.getAdGroupCriterion() instanceof BiddableAdGroupCriterion) { - return StringExtensions.toCustomParaBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(((BiddableAdGroupCriterion) c.getAdGroupCriterion()).getUrlCustomParameters(), c.getAdGroupCriterion().getId()); } else { return null; } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaign.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaign.java index 730aeb82cf..5914541327 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaign.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaign.java @@ -302,7 +302,7 @@ public void accept(String v, BulkCampaign c) { new Function() { @Override public String apply(BulkCampaign c) { - return StringExtensions.writeCampaignLanguages(";", c.getCampaign().getLanguages()); + return StringExtensions.writeCampaignLanguages(";", c.getCampaign().getLanguages(), c.getCampaign().getId()); } }, new BiConsumer() { @@ -573,7 +573,7 @@ public void accept(String v, BulkCampaign c) { new Function() { @Override public String apply(BulkCampaign c) { - return StringExtensions.toOptionalBulkString(c.getCampaign().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getCampaign().getTrackingUrlTemplate(), c.getCampaign().getId()); } }, new BiConsumer() { @@ -588,7 +588,7 @@ public void accept(String v, BulkCampaign c) { new Function() { @Override public String apply(BulkCampaign c) { - return StringExtensions.toCustomParaBulkString(c.getCampaign().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getCampaign().getUrlCustomParameters(), c.getCampaign().getId()); } }, new BiConsumer() { @@ -619,15 +619,15 @@ public void accept(BulkCampaign c, RowValues values) { if (c.getCampaign().getBiddingScheme() instanceof MaxClicksBiddingScheme) { Bid maxCpc = ((MaxClicksBiddingScheme)c.getCampaign().getBiddingScheme()).getMaxCpc(); - values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc)); + values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc, c.getCampaign().getId())); } else if (c.getCampaign().getBiddingScheme() instanceof MaxConversionsBiddingScheme) { Bid maxCpc = ((MaxConversionsBiddingScheme)c.getCampaign().getBiddingScheme()).getMaxCpc(); - values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc)); + values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc, c.getCampaign().getId())); } else if (c.getCampaign().getBiddingScheme() instanceof TargetCpaBiddingScheme) { Bid maxCpc = ((TargetCpaBiddingScheme)c.getCampaign().getBiddingScheme()).getMaxCpc(); - values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc)); + values.put(StringTable.BidStrategyMaxCpc, StringExtensions.toBidBulkString(maxCpc, c.getCampaign().getId())); Double targetCpa = ((TargetCpaBiddingScheme)c.getCampaign().getBiddingScheme()).getTargetCpa(); if (targetCpa != null) { values.put(StringTable.BidStrategyTargetCpa, targetCpa.toString()); diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaignNegativeDynamicSearchAdTarget.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaignNegativeDynamicSearchAdTarget.java index 4a35f60129..dc5d35e0ee 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaignNegativeDynamicSearchAdTarget.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkCampaignNegativeDynamicSearchAdTarget.java @@ -152,7 +152,7 @@ public void accept(RowValues v, BulkCampaignNegativeDynamicSearchAdTarget c) { public String apply(BulkCampaignNegativeDynamicSearchAdTarget c) { if (c.getNegativeCampaignCriterion().getCriterion() instanceof Webpage) { WebpageParameter webpageParameter = ((Webpage) c.getNegativeCampaignCriterion().getCriterion()).getParameter(); - return StringExtensions.toCriterionNameBulkString(webpageParameter); + return StringExtensions.toCriterionNameBulkString(webpageParameter, c.getNegativeCampaignCriterion().getId()); } return null; } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExpandedTextAd.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExpandedTextAd.java index 303f37b8b2..c2cce867bc 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExpandedTextAd.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExpandedTextAd.java @@ -76,7 +76,7 @@ public void accept(String v, BulkExpandedTextAd c) { new Function() { @Override public String apply(BulkExpandedTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getTitlePart3()); + return StringExtensions.toOptionalBulkString(c.getAd().getTitlePart3(), c.getAd().getId()); } }, new BiConsumer() { @@ -106,7 +106,7 @@ public void accept(String v, BulkExpandedTextAd c) { new Function() { @Override public String apply(BulkExpandedTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getTextPart2()); + return StringExtensions.toOptionalBulkString(c.getAd().getTextPart2(), c.getAd().getId()); } }, new BiConsumer() { @@ -121,7 +121,7 @@ public void accept(String v, BulkExpandedTextAd c) { new Function() { @Override public String apply(BulkExpandedTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getPath1()); + return StringExtensions.toOptionalBulkString(c.getAd().getPath1(), c.getAd().getId()); } }, new BiConsumer() { @@ -137,7 +137,7 @@ public void accept(String v, BulkExpandedTextAd c) { new Function() { @Override public String apply(BulkExpandedTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getPath2()); + return StringExtensions.toOptionalBulkString(c.getAd().getPath2(), c.getAd().getId()); } }, new BiConsumer() { @@ -154,7 +154,7 @@ public void accept(String v, BulkExpandedTextAd c) { new Function() { @Override public String apply(BulkExpandedTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getDomain()); + return StringExtensions.toOptionalBulkString(c.getAd().getDomain(), c.getAd().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExperiment.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExperiment.java index 77d50415b9..2680bfefa8 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExperiment.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkExperiment.java @@ -60,12 +60,12 @@ public void accept(String v, BulkExperiment c) { m.add(new SimpleBulkMapping(StringTable.Status, new Function() { @Override public String apply(BulkExperiment t) { - return StringExtensions.toOptionalBulkString(t.getExperiment().getExperimentStatus()); + return t.getExperiment().getExperimentStatus(); } }, new BiConsumer() { @Override public void accept(String v, BulkExperiment c) { - c.getExperiment().setExperimentStatus(StringExtensions.getValueOrEmptyString(v)); + c.getExperiment().setExperimentStatus(v); } })); diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkImageAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkImageAdExtension.java index 43065f6734..336482f557 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkImageAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkImageAdExtension.java @@ -58,7 +58,7 @@ public void setImageAdExtension(ImageAdExtension imageAdExtension) { new Function() { @Override public String apply(BulkImageAdExtension c) { - return StringExtensions.toOptionalBulkString(c.getImageAdExtension().getDestinationUrl()); + return StringExtensions.toOptionalBulkString(c.getImageAdExtension().getDestinationUrl(), c.getImageAdExtension().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkKeyword.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkKeyword.java index 7378dedb42..4f96db3965 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkKeyword.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkKeyword.java @@ -173,7 +173,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toOptionalBulkString(c.getKeyword().getDestinationUrl()); + return StringExtensions.toOptionalBulkString(c.getKeyword().getDestinationUrl(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -229,7 +229,7 @@ public MatchType apply(String value) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toKeywordBidBulkString(c.getKeyword().getBid()); + return StringExtensions.toKeywordBidBulkString(c.getKeyword().getBid(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -244,7 +244,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toOptionalBulkString(c.getKeyword().getParam1()); + return StringExtensions.toOptionalBulkString(c.getKeyword().getParam1(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -259,7 +259,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toOptionalBulkString(c.getKeyword().getParam2()); + return StringExtensions.toOptionalBulkString(c.getKeyword().getParam2(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -274,7 +274,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toOptionalBulkString(c.getKeyword().getParam3()); + return StringExtensions.toOptionalBulkString(c.getKeyword().getParam3(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -289,7 +289,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.writeUrls("; ", c.getKeyword().getFinalUrls()); + return StringExtensions.writeUrls("; ", c.getKeyword().getFinalUrls(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -312,7 +312,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.writeUrls("; ", c.getKeyword().getFinalMobileUrls()); + return StringExtensions.writeUrls("; ", c.getKeyword().getFinalMobileUrls(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -335,7 +335,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toOptionalBulkString(c.getKeyword().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getKeyword().getTrackingUrlTemplate(), c.getKeyword().getId()); } }, new BiConsumer() { @@ -350,7 +350,7 @@ public void accept(String v, BulkKeyword c) { new Function() { @Override public String apply(BulkKeyword c) { - return StringExtensions.toCustomParaBulkString(c.getKeyword().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getKeyword().getUrlCustomParameters(), c.getKeyword().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkLocationAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkLocationAdExtension.java index 7ee22fadce..26fde7adc3 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkLocationAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkLocationAdExtension.java @@ -74,7 +74,7 @@ public void accept(String v, BulkLocationAdExtension c) { new Function() { @Override public String apply(BulkLocationAdExtension c) { - return StringExtensions.toOptionalBulkString(c.getLocationAdExtension().getPhoneNumber()); + return StringExtensions.toOptionalBulkString(c.getLocationAdExtension().getPhoneNumber(), c.getLocationAdExtension().getId()); } }, new BiConsumer() { @@ -138,7 +138,7 @@ public String apply(BulkLocationAdExtension c) { return getAddressPart(c, new Function() { @Override public String apply(Address x) { - return StringExtensions.toOptionalBulkString(x.getStreetAddress2()); + return StringExtensions.toOptionalBulkString(x.getStreetAddress2(), c.getAdExtension().getId()); } }); } diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkPriceAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkPriceAdExtension.java index d7c0595938..d76816869a 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkPriceAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkPriceAdExtension.java @@ -97,7 +97,7 @@ public PriceExtensionType apply(String s) { new Function() { @Override public String apply(BulkPriceAdExtension c) { - return StringExtensions.toOptionalBulkString(c.getAdExtension().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getAdExtension().getTrackingUrlTemplate(), c.getAdExtension().getId()); } }, new BiConsumer() { @@ -112,7 +112,7 @@ public void accept(String v, BulkPriceAdExtension c) { new Function() { @Override public String apply(BulkPriceAdExtension c) { - return StringExtensions.toCustomParaBulkString(c.getAdExtension().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getAdExtension().getUrlCustomParameters(), c.getAdExtension().getId()); } }, new BiConsumer() { @@ -135,7 +135,7 @@ public void accept(BulkPriceAdExtension c, RowValues v) { if (priceAdExtension == null || priceAdExtension.getTableRows() == null) { return; } - PriceTableRowHelper.addRowValuesFromPriceTableRows(priceAdExtension.getTableRows(), v); + PriceTableRowHelper.addRowValuesFromPriceTableRows(priceAdExtension.getTableRows(), v, priceAdExtension.getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkResponsiveSearchAd.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkResponsiveSearchAd.java index e0894f3c27..0c8ddaf389 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkResponsiveSearchAd.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkResponsiveSearchAd.java @@ -46,7 +46,7 @@ public class BulkResponsiveSearchAd extends BulkAd { new Function() { @Override public String apply(BulkResponsiveSearchAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getPath1()); + return StringExtensions.toOptionalBulkString(c.getAd().getPath1(), c.getAd().getId()); } }, new BiConsumer() { @@ -60,7 +60,7 @@ public void accept(String v, BulkResponsiveSearchAd c) { new Function() { @Override public String apply(BulkResponsiveSearchAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getPath2()); + return StringExtensions.toOptionalBulkString(c.getAd().getPath2(), c.getAd().getId()); } }, new BiConsumer() { @@ -74,7 +74,7 @@ public void accept(String v, BulkResponsiveSearchAd c) { new Function() { @Override public String apply(BulkResponsiveSearchAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getDomain()); + return StringExtensions.toOptionalBulkString(c.getAd().getDomain(), c.getAd().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkSitelinkAdExtension.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkSitelinkAdExtension.java index c4ce1da580..37bbfe37c1 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkSitelinkAdExtension.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkSitelinkAdExtension.java @@ -57,7 +57,7 @@ public void setSitelinkAdExtension(SitelinkAdExtension SitelinkAdExtension) { new Function() { @Override public String apply(BulkSitelinkAdExtension c) { - return StringExtensions.toOptionalBulkString(c.getSitelinkAdExtension().getDestinationUrl()); + return StringExtensions.toOptionalBulkString(c.getSitelinkAdExtension().getDestinationUrl(), c.getSitelinkAdExtension().getId()); } }, new BiConsumer() { @@ -121,7 +121,7 @@ public void accept(String v, BulkSitelinkAdExtension c) { new Function() { @Override public String apply(BulkSitelinkAdExtension c) { - return StringExtensions.writeUrls("; ", c.getAdExtension().getFinalUrls()); + return StringExtensions.writeUrls("; ", c.getAdExtension().getFinalUrls(), c.getAdExtension().getId()); } }, new BiConsumer() { @@ -143,7 +143,7 @@ public void accept(String v, BulkSitelinkAdExtension c) { new Function() { @Override public String apply(BulkSitelinkAdExtension c) { - return StringExtensions.writeUrls("; ", c.getAdExtension().getFinalMobileUrls()); + return StringExtensions.writeUrls("; ", c.getAdExtension().getFinalMobileUrls(), c.getAdExtension().getId()); } }, new BiConsumer() { @@ -165,7 +165,7 @@ public void accept(String v, BulkSitelinkAdExtension c) { new Function() { @Override public String apply(BulkSitelinkAdExtension c) { - return StringExtensions.toOptionalBulkString(c.getAdExtension().getTrackingUrlTemplate()); + return StringExtensions.toOptionalBulkString(c.getAdExtension().getTrackingUrlTemplate(), c.getAdExtension().getId()); } }, new BiConsumer() { @@ -180,7 +180,7 @@ public void accept(String v, BulkSitelinkAdExtension c) { new Function() { @Override public String apply(BulkSitelinkAdExtension c) { - return StringExtensions.toCustomParaBulkString(c.getAdExtension().getUrlCustomParameters()); + return StringExtensions.toCustomParaBulkString(c.getAdExtension().getUrlCustomParameters(), c.getAdExtension().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkTextAd.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkTextAd.java index c44768e25c..baad9c0fa1 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkTextAd.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/BulkTextAd.java @@ -91,7 +91,7 @@ public void accept(String v, BulkTextAd c) { new Function() { @Override public String apply(BulkTextAd c) { - return StringExtensions.toOptionalBulkString(c.getAd().getDestinationUrl()); + return StringExtensions.toOptionalBulkString(c.getAd().getDestinationUrl(), c.getAd().getId()); } }, new BiConsumer() { diff --git a/src/main/java/com/microsoft/bingads/v12/bulk/entities/PriceTableRowHelper.java b/src/main/java/com/microsoft/bingads/v12/bulk/entities/PriceTableRowHelper.java index e0448ac673..c07de8484e 100644 --- a/src/main/java/com/microsoft/bingads/v12/bulk/entities/PriceTableRowHelper.java +++ b/src/main/java/com/microsoft/bingads/v12/bulk/entities/PriceTableRowHelper.java @@ -15,14 +15,14 @@ class PriceTableRowHelper { public static final int MaxNumberOfPriceTableRows = 8; - public static void addRowValuesFromPriceTableRows(ArrayOfPriceTableRow arrayOfPriceTableRow, RowValues rowValues) { + public static void addRowValuesFromPriceTableRows(ArrayOfPriceTableRow arrayOfPriceTableRow, RowValues rowValues, Long id) { List priceTableRows = arrayOfPriceTableRow.getPriceTableRows(); for (int i = 1; i <= priceTableRows.size(); i++) { rowValues.put(StringTable.CurrencyCodeColumnPrefix + i, priceTableRows.get(i - 1).getCurrencyCode()); rowValues.put(StringTable.PriceDescriptionColumnPrefix + i, priceTableRows.get(i - 1).getDescription()); rowValues.put(StringTable.HeaderColumnPrefix + i, priceTableRows.get(i - 1).getHeader()); - rowValues.put(StringTable.FinalMobileUrlColumnPrefix + i, StringExtensions.writeUrls("; ", priceTableRows.get(i - 1).getFinalMobileUrls())); - rowValues.put(StringTable.FinalUrlColumnPrefix + i, StringExtensions.writeUrls("; ", priceTableRows.get(i - 1).getFinalUrls())); + rowValues.put(StringTable.FinalMobileUrlColumnPrefix + i, StringExtensions.writeUrls("; ", priceTableRows.get(i - 1).getFinalMobileUrls(), id)); + rowValues.put(StringTable.FinalUrlColumnPrefix + i, StringExtensions.writeUrls("; ", priceTableRows.get(i - 1).getFinalUrls(), id)); rowValues.put(StringTable.PriceColumnPrefix + i, StringExtensions.toBulkString(priceTableRows.get(i - 1).getPrice())); rowValues.put(StringTable.PriceQualifierColumnPrefix + i, priceTableRows.get(i - 1).getPriceQualifier().value()); rowValues.put(StringTable.PriceUnitColumnPrefix + i, priceTableRows.get(i - 1).getPriceUnit().value()); diff --git a/src/main/java/com/microsoft/bingads/v12/internal/bulk/CsvHeaders.java b/src/main/java/com/microsoft/bingads/v12/internal/bulk/CsvHeaders.java index 5ce868304e..17edb456d1 100644 --- a/src/main/java/com/microsoft/bingads/v12/internal/bulk/CsvHeaders.java +++ b/src/main/java/com/microsoft/bingads/v12/internal/bulk/CsvHeaders.java @@ -95,6 +95,7 @@ public class CsvHeaders { // Action ad extension StringTable.ActionType, + StringTable.ActionText, // Site link ad extensions StringTable.SiteLinkExtensionOrder, diff --git a/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringExtensions.java b/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringExtensions.java index db040147c3..a178c4658a 100644 --- a/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringExtensions.java +++ b/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringExtensions.java @@ -94,25 +94,25 @@ public class StringExtensions { private static final Pattern stringOperatorPattern = Pattern.compile("^(Equals|Contains|BeginsWith|EndsWith|NotEquals|DoesNotContain|DoesNotBeginWith|DoesNotEndWith) ([^()]*)$"); private static final Pattern numberOperatorPattern = Pattern.compile("^(Equals|GreaterThan|LessThan|GreaterThanEqualTo|LessThanEqualTo) ([^()]*)$"); - public static String toKeywordBidBulkString(Bid bid) { + public static String toKeywordBidBulkString(Bid bid, Long id) { if (bid == null) { return null; } - if (bid.getAmount() == null) { - return StringTable.DeleteValue; + if (bid.getAmount() == null) { + return id != null && id > 0? StringTable.DeleteValue : null; } return StringExtensions.toBulkString(bid.getAmount()); } - public static String toBidBulkString(Bid bid) { + public static String toBidBulkString(Bid bid, Long id) { if (bid == null) { return null; } - if (bid.getAmount() == null) { - return StringTable.DeleteValue; + if (bid.getAmount() == null) { + return id != null && id > 0 ? StringTable.DeleteValue : null; } return StringExtensions.toBulkString(bid.getAmount()); @@ -326,9 +326,9 @@ public static String toDateBulkString(Date c) { return String.format(DATE_OUTPUT_FORMAT, c.getMonth(), c.getDay(), c.getYear()); } - public static String toScheduleDateBulkString(Date c) { - if (c == null || (c.getMonth() == 0 && c.getDay() == 0 && c.getYear() == 0)) { - return StringTable.DeleteValue; + public static String toScheduleDateBulkString(Date c, Long id) { + if (c == null || (c.getMonth() == 0 && c.getDay() == 0 && c.getYear() == 0)) { + return id != null && id > 0? StringTable.DeleteValue : null; } return String.format(DATE_OUTPUT_FORMAT, c.getMonth(), c.getDay(), c.getYear()); @@ -387,12 +387,12 @@ public static JAXBElement parseJAXBElement(String v, Function return factory.apply(parse.apply(v)); } - public static String toOptionalBulkString(String value) { + public static String toOptionalBulkString(String value, Long id) { if (value == null) { return null; } - if (value.isEmpty()) { + if (value.isEmpty() && id != null && id > 0) { return StringTable.DeleteValue; } @@ -449,15 +449,15 @@ public static String toAdRotationBulkString(AdRotation c) { return StringExtensions.toBulkString(c.getType().value()); } - public static String toAdGroupBidBulkString(Bid bid) { + public static String toAdGroupBidBulkString(Bid bid, Long id) { if (bid == null || bid.getAmount() == null) { return null; } - if (bid.getAmount() == 0.0) { - return StringTable.DeleteValue; + if (bid.getAmount() == 0.0) { + return id != null && id > 0? StringTable.DeleteValue : null; } - + return bid.getAmount().toString(); } @@ -469,13 +469,13 @@ public static String toCriterionBidMultiplierBulkString(Double v) { return v.toString(); } - public static String toAdGroupFixedBidBulkString(FixedBid bid) { + public static String toAdGroupFixedBidBulkString(FixedBid bid, Long id) { if (bid == null || bid.getAmount() == null) { return null; } if (bid.getAmount() == 0.0) { - return StringTable.DeleteValue; + return id != null && id > 0? StringTable.DeleteValue : null; } return bid.getAmount().toString(); @@ -704,13 +704,13 @@ public static File changeFileExtension(File file, String newExtension) { return new File(fullFileName + newExtension); } - public static String writeUrls(String separator, ArrayOfstring strings) { + public static String writeUrls(String separator, ArrayOfstring strings, Long id) { if (strings == null) { return null; } if (strings.getStrings().size() == 0) { - return StringTable.DeleteValue; + return id != null && id > 0? StringTable.DeleteValue : null; } StringBuilder result = new StringBuilder(""); @@ -741,13 +741,13 @@ public static List parseUrls(String s) { return urlArray; } - public static String writeCampaignLanguages(String separator, ArrayOfstring strings) { + public static String writeCampaignLanguages(String separator, ArrayOfstring strings, Long id) { if (strings == null) { return null; } - if (strings.getStrings().size() == 0) { - return StringTable.DeleteValue; + if (strings.getStrings().size() == 0) { + return null; } StringBuilder result = new StringBuilder(""); @@ -778,15 +778,15 @@ public static List parseCampaignLanguages(String s) { return languageArray; } - public static String toCustomParaBulkString(CustomParameters parameters) { + public static String toCustomParaBulkString(CustomParameters parameters, Long id) { if (parameters == null) { return null; } ArrayOfCustomParameter customParaArray = parameters.getParameters(); - if (customParaArray == null || customParaArray.getCustomParameters().size() == 0) { - return StringTable.DeleteValue; - } + if (customParaArray == null || customParaArray.getCustomParameters().size() == 0) { + return id != null && id > 0? StringTable.DeleteValue : null; + } String result = ""; @@ -946,7 +946,7 @@ public static String writeMediaIds(String separator, ArrayOflong ids) { } if (ids.getLongs().size() == 0) { - return StringTable.DeleteValue; + return null; } StringBuilder result = new StringBuilder(""); @@ -994,15 +994,15 @@ public static String writeStructuredSnippetValues(String separator, ArrayOfstrin return result.toString(); } - public static String toDayTimeRangesBulkString(ArrayOfDayTime arrayOfDayTime) { - if (arrayOfDayTime == null) { - return StringTable.DeleteValue; - } + public static String toDayTimeRangesBulkString(ArrayOfDayTime arrayOfDayTime, Long id) { + if (arrayOfDayTime == null) { + return id != null && id > 0? StringTable.DeleteValue : null; + } List dayTimeRanges = arrayOfDayTime.getDayTimes(); - if (dayTimeRanges == null || dayTimeRanges.size() == 0) { - return StringTable.DeleteValue; - } + if (dayTimeRanges == null || dayTimeRanges.size() == 0) { + return id != null && id > 0? StringTable.DeleteValue : null; + } String result = ""; @@ -1056,9 +1056,9 @@ public static ArrayOfDayTime parseDayTimeRanges(String s) { } public static String toUseSearcherTimeZoneBulkString(Boolean useSearcherTimeZone) { - if (useSearcherTimeZone == null) { - return StringTable.DeleteValue; - } + if (useSearcherTimeZone == null) { + return "false"; + } return useSearcherTimeZone ? "true": "false"; } @@ -1075,13 +1075,13 @@ public static Boolean parseUseSearcherTimeZone(String s) { } } - public static String toCriterionNameBulkString(WebpageParameter webpageParameter) { + public static String toCriterionNameBulkString(WebpageParameter webpageParameter, Long id) { if (webpageParameter == null || webpageParameter.getCriterionName() == null) { return null; } - if (webpageParameter.getCriterionName().isEmpty()) { - return StringTable.DeleteValue; - } + if (webpageParameter.getCriterionName().isEmpty()) { + return id != null && id > 0? StringTable.DeleteValue : null; + } return webpageParameter.getCriterionName(); } @@ -1375,7 +1375,7 @@ private static StringOperator parseStringOperator(String operator) { throw new IllegalArgumentException(String.format("Invalid String Rule Item perator: ", operator)); } } - + public static String toBulkString(TargetSetting targetSetting) { if (targetSetting == null) { return null; @@ -1419,7 +1419,9 @@ public static List parseTargetSettingDetails(String details public static String writeArrayOfstring(ArrayOfstring arrayOfString, String separator) { if (arrayOfString == null) return null; - if (arrayOfString.getStrings().size() == 0) return StringTable.DeleteValue; + if (arrayOfString.getStrings().size() == 0) { + return null; + } return String.join(separator, arrayOfString.getStrings()); } @@ -1441,14 +1443,6 @@ public static ArrayOfstring parseArrayOfString(String value) { return ret; } - public static String writeProductAudienceType(Collection productAudienceType, String separator) { - if (productAudienceType == null) return null; - - if (productAudienceType.size() == 0) return StringTable.DeleteValue; - - return String.join(separator, productAudienceType.stream().map(p -> p.value()).collect(Collectors.toList())); - } - public static Collection parseProductAudienceType(String value) { if (isNullOrEmpty(value) ) return null; String[] parts = value.split(";"); diff --git a/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringTable.java b/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringTable.java index 73078d86ae..c59a89877e 100644 --- a/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringTable.java +++ b/src/main/java/com/microsoft/bingads/v12/internal/bulk/StringTable.java @@ -396,6 +396,7 @@ public class StringTable { public static final String CampaignActionAdExtension = "Campaign Action Ad Extension"; public static final String AdGroupActionAdExtension = "Ad Group Action Ad Extension"; public static final String ActionType = "Action Type"; + public static final String ActionText= "Action Text"; // AutoBidding public static final String BidStrategyType = "Bid Strategy Type"; diff --git a/src/main/java/com/microsoft/bingads/v12/reporting/ReportingDownloadOperation.java b/src/main/java/com/microsoft/bingads/v12/reporting/ReportingDownloadOperation.java index 5b4a4ae1f0..23be67862b 100644 --- a/src/main/java/com/microsoft/bingads/v12/reporting/ReportingDownloadOperation.java +++ b/src/main/java/com/microsoft/bingads/v12/reporting/ReportingDownloadOperation.java @@ -398,14 +398,14 @@ public void setFinalStatus(ReportingOperationStatus finalStatus) { } /** - * Gets the time interval in milliseconds between two status polling attempts. The default value is 1000 (1 second). + * Gets the time interval in milliseconds between two status polling attempts. The default value is 5000 (5 second). */ public int getStatusPollIntervalInMilliseconds() { return statusPollIntervalInMilliseconds; } /** - * Sets the time interval in milliseconds between two status polling attempts. The default value is 1000 (1 second). + * Sets the time interval in milliseconds between two status polling attempts. The default value is 5000 (5 second). */ public void setStatusPollIntervalInMilliseconds(int statusPollIntervalInMilliseconds) { this.statusPollIntervalInMilliseconds = statusPollIntervalInMilliseconds;