Skip to content

Commit

Permalink
update to version 12.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
qitia committed Mar 19, 2019
1 parent 288448d commit f25a088
Show file tree
Hide file tree
Showing 106 changed files with 1,324 additions and 400 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Bing Ads Java SDK includes and depends on the microsoft.bingads Maven artifa
<dependency>
<groupId>com.microsoft.bingads</groupId>
<artifactId>microsoft.bingads</artifactId>
<version>12.0.3</version>
<version>12.0.4</version>
</dependency>
```
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/).
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.bingads</groupId>
<version>12.0.3</version>
<version>12.0.4</version>
<name>Bing Ads Java SDK</name>
<description>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.</description>
<url>https://github.com/BingAds/BingAds-Java-SDK</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* &lt;enumeration value="TrackingUrlTemplate"/>
* &lt;enumeration value="MSCLKIDAutoTaggingEnabled"/>
* &lt;enumeration value="AdClickParallelTracking"/>
* &lt;enumeration value="FinalUrlSuffix"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* &lt;sequence>
* &lt;element name="ActionType" type="{https://bingads.microsoft.com/CampaignManagement/v12}ActionAdExtensionActionType"/>
* &lt;element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* &lt;element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* &lt;element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
Expand All @@ -36,6 +37,7 @@
@XmlType(name = "ActionAdExtension", propOrder = {
"actionType",
"finalMobileUrls",
"finalUrlSuffix",
"finalUrls",
"language",
"trackingUrlTemplate",
Expand All @@ -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)
Expand Down Expand Up @@ -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.
*
Expand Down
28 changes: 28 additions & 0 deletions proxies/com/microsoft/bingads/v12/campaignmanagement/Ad.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* &lt;element name="EditorialStatus" type="{https://bingads.microsoft.com/CampaignManagement/v12}AdEditorialStatus" minOccurs="0"/>
* &lt;element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v12}ArrayOfAppUrl" minOccurs="0"/>
* &lt;element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* &lt;element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
* &lt;element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/>
* &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
Expand All @@ -46,6 +47,7 @@
"editorialStatus",
"finalAppUrls",
"finalMobileUrls",
"finalUrlSuffix",
"finalUrls",
"forwardCompatibilityMap",
"id",
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -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);
}
}
Original file line number Diff line number Diff line change
@@ -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<AdExtensionAdditionalField> convertToList(String enums) {
String[] values = enums.split(" ");

Collection<AdExtensionAdditionalField> result = new ArrayList<AdExtensionAdditionalField>();

for (String value : values) {
result.add(AdExtensionAdditionalField.fromValue(value));
}

return result;
}

public static String convertToString(Collection<AdExtensionAdditionalField> enums) {
String result = "";

for (AdExtensionAdditionalField entity : enums) {
result += (entity.value() + " ");
}

result = result.substring(0, result.length() - 1);

return result;
}
}
28 changes: 28 additions & 0 deletions proxies/com/microsoft/bingads/v12/campaignmanagement/AdGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* &lt;element name="BiddingScheme" type="{https://bingads.microsoft.com/CampaignManagement/v12}BiddingScheme" minOccurs="0"/>
* &lt;element name="CpcBid" type="{https://bingads.microsoft.com/CampaignManagement/v12}Bid" minOccurs="0"/>
* &lt;element name="EndDate" type="{https://bingads.microsoft.com/CampaignManagement/v12}Date" minOccurs="0"/>
* &lt;element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/>
* &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* &lt;element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
Expand All @@ -49,6 +50,7 @@
"biddingScheme",
"cpcBid",
"endDate",
"finalUrlSuffix",
"forwardCompatibilityMap",
"id",
"language",
Expand All @@ -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)
Expand Down Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -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);
}
}
Original file line number Diff line number Diff line change
@@ -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<AdGroupAdditionalField> convertToList(String enums) {
String[] values = enums.split(" ");

Collection<AdGroupAdditionalField> result = new ArrayList<AdGroupAdditionalField>();

for (String value : values) {
result.add(AdGroupAdditionalField.fromValue(value));
}

return result;
}

public static String convertToString(Collection<AdGroupAdditionalField> enums) {
String result = "";

for (AdGroupAdditionalField entity : enums) {
result += (entity.value() + " ");
}

result = result.substring(0, result.length() - 1);

return result;
}
}
Original file line number Diff line number Diff line change
@@ -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);
}
}
Loading

0 comments on commit f25a088

Please sign in to comment.