Skip to content

Commit

Permalink
Merge pull request #178 from BingAds/v13.0.19.1
Browse files Browse the repository at this point in the history
v13.0.19.1
  • Loading branch information
xinyuwen2 committed Apr 9, 2024
2 parents 3b7fb5a + ab7559c commit ce90f1a
Show file tree
Hide file tree
Showing 36 changed files with 1,058 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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>13.0.19</version>
<version>13.0.19.1</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 examples/BingAdsDesktopApp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.bingads</groupId>
<artifactId>microsoft.bingads</artifactId>
<version>13.0.17</version>
<version>13.0.19.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/BingAdsDesktopApp/pom_for_java1.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependency>
<groupId>com.microsoft.bingads</groupId>
<artifactId>microsoft.bingads</artifactId>
<version>13.0.17</version>
<version>13.0.19.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.cxf</groupId>
Expand Down
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>13.0.19</version>
<version>13.0.19.1</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
@@ -0,0 +1,118 @@

package com.microsoft.bingads.v13.reporting;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;


/**
* <p>Java class for AccountThroughAssetGroupReportScope complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="AccountThroughAssetGroupReportScope">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AccountIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/>
* <element name="AssetGroups" type="{https://bingads.microsoft.com/Reporting/v13}ArrayOfAssetGroupReportScope" minOccurs="0"/>
* <element name="Campaigns" type="{https://bingads.microsoft.com/Reporting/v13}ArrayOfCampaignReportScope" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountThroughAssetGroupReportScope", propOrder = {
"accountIds",
"assetGroups",
"campaigns"
})
public class AccountThroughAssetGroupReportScope {

@XmlElement(name = "AccountIds", nillable = true)
protected ArrayOflong accountIds;
@XmlElement(name = "AssetGroups", nillable = true)
protected ArrayOfAssetGroupReportScope assetGroups;
@XmlElement(name = "Campaigns", nillable = true)
protected ArrayOfCampaignReportScope campaigns;

/**
* Gets the value of the accountIds property.
*
* @return
* possible object is
* {@link ArrayOflong }
*
*/
public ArrayOflong getAccountIds() {
return accountIds;
}

/**
* Sets the value of the accountIds property.
*
* @param value
* allowed object is
* {@link ArrayOflong }
*
*/
public void setAccountIds(ArrayOflong value) {
this.accountIds = value;
}

/**
* Gets the value of the assetGroups property.
*
* @return
* possible object is
* {@link ArrayOfAssetGroupReportScope }
*
*/
public ArrayOfAssetGroupReportScope getAssetGroups() {
return assetGroups;
}

/**
* Sets the value of the assetGroups property.
*
* @param value
* allowed object is
* {@link ArrayOfAssetGroupReportScope }
*
*/
public void setAssetGroups(ArrayOfAssetGroupReportScope value) {
this.assetGroups = value;
}

/**
* Gets the value of the campaigns property.
*
* @return
* possible object is
* {@link ArrayOfCampaignReportScope }
*
*/
public ArrayOfCampaignReportScope getCampaigns() {
return campaigns;
}

/**
* Sets the value of the campaigns property.
*
* @param value
* allowed object is
* {@link ArrayOfCampaignReportScope }
*
*/
public void setCampaigns(ArrayOfCampaignReportScope value) {
this.campaigns = value;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* <enumeration value="AverageCpm"/>
* <enumeration value="ConversionsQualified"/>
* <enumeration value="AllConversionsQualified"/>
* <enumeration value="GoalId"/>
* </restriction>
* </simpleType>
* }</pre>
Expand Down Expand Up @@ -180,7 +181,9 @@ public enum AdExtensionByAdReportColumn {
@XmlEnumValue("ConversionsQualified")
CONVERSIONS_QUALIFIED("ConversionsQualified"),
@XmlEnumValue("AllConversionsQualified")
ALL_CONVERSIONS_QUALIFIED("AllConversionsQualified");
ALL_CONVERSIONS_QUALIFIED("AllConversionsQualified"),
@XmlEnumValue("GoalId")
GOAL_ID("GoalId");
private final String value;

AdExtensionByAdReportColumn(String v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
* <enumeration value="Installs"/>
* <enumeration value="CostPerInstall"/>
* <enumeration value="RevenuePerInstall"/>
* <enumeration value="GoalId"/>
* </restriction>
* </simpleType>
* }</pre>
Expand Down Expand Up @@ -330,7 +331,9 @@ public enum AdGroupPerformanceReportColumn {
@XmlEnumValue("CostPerInstall")
COST_PER_INSTALL("CostPerInstall"),
@XmlEnumValue("RevenuePerInstall")
REVENUE_PER_INSTALL("RevenuePerInstall");
REVENUE_PER_INSTALL("RevenuePerInstall"),
@XmlEnumValue("GoalId")
GOAL_ID("GoalId");
private final String value;

AdGroupPerformanceReportColumn(String v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
* <enumeration value="AverageWatchTimePerImpression"/>
* <enumeration value="AdStrength"/>
* <enumeration value="AdStrengthActionItems"/>
* <enumeration value="GoalId"/>
* </restriction>
* </simpleType>
* }</pre>
Expand Down Expand Up @@ -294,7 +295,9 @@ public enum AdPerformanceReportColumn {
@XmlEnumValue("AdStrength")
AD_STRENGTH("AdStrength"),
@XmlEnumValue("AdStrengthActionItems")
AD_STRENGTH_ACTION_ITEMS("AdStrengthActionItems");
AD_STRENGTH_ACTION_ITEMS("AdStrengthActionItems"),
@XmlEnumValue("GoalId")
GOAL_ID("GoalId");
private final String value;

AdPerformanceReportColumn(String v) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@

package com.microsoft.bingads.v13.reporting;

import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;import com.fasterxml.jackson.annotation.JsonCreator;


/**
* <p>Java class for ArrayOfAssetGroupPerformanceReportColumn complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ArrayOfAssetGroupPerformanceReportColumn">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AssetGroupPerformanceReportColumn" type="{https://bingads.microsoft.com/Reporting/v13}AssetGroupPerformanceReportColumn" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfAssetGroupPerformanceReportColumn", propOrder = {
"assetGroupPerformanceReportColumns"
})
public class ArrayOfAssetGroupPerformanceReportColumn {

@XmlElement(name = "AssetGroupPerformanceReportColumn")
@XmlSchemaType(name = "string")
protected List<AssetGroupPerformanceReportColumn> assetGroupPerformanceReportColumns;
public ArrayOfAssetGroupPerformanceReportColumn()
{
this.assetGroupPerformanceReportColumns = new ArrayList<AssetGroupPerformanceReportColumn>();
}
@JsonCreator
public ArrayOfAssetGroupPerformanceReportColumn(List<AssetGroupPerformanceReportColumn> assetgroupperformancereportcolumns)
{
this.assetGroupPerformanceReportColumns = assetgroupperformancereportcolumns;
}

/**
* Gets the value of the assetGroupPerformanceReportColumns property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the assetGroupPerformanceReportColumns property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAssetGroupPerformanceReportColumns().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AssetGroupPerformanceReportColumn }
*
*
* @return
* The value of the assetGroupPerformanceReportColumns property.
*/
public List<AssetGroupPerformanceReportColumn> getAssetGroupPerformanceReportColumns() {
if (assetGroupPerformanceReportColumns == null) {
assetGroupPerformanceReportColumns = new ArrayList<>();
}
return this.assetGroupPerformanceReportColumns;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

package com.microsoft.bingads.v13.reporting;

import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import com.fasterxml.jackson.annotation.JsonCreator;

/**
* <p>Java class for ArrayOfAssetGroupReportScope complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ArrayOfAssetGroupReportScope">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AssetGroupReportScope" type="{https://bingads.microsoft.com/Reporting/v13}AssetGroupReportScope" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfAssetGroupReportScope", propOrder = {
"assetGroupReportScopes"
})
public class ArrayOfAssetGroupReportScope {

@XmlElement(name = "AssetGroupReportScope", nillable = true)
protected List<AssetGroupReportScope> assetGroupReportScopes;
public ArrayOfAssetGroupReportScope()
{
this.assetGroupReportScopes = new ArrayList<AssetGroupReportScope>();
}
@JsonCreator
public ArrayOfAssetGroupReportScope(List<AssetGroupReportScope> assetgroupreportscopes)
{
this.assetGroupReportScopes = assetgroupreportscopes;
}

/**
* Gets the value of the assetGroupReportScopes property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the assetGroupReportScopes property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAssetGroupReportScopes().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AssetGroupReportScope }
*
*
* @return
* The value of the assetGroupReportScopes property.
*/
public List<AssetGroupReportScope> getAssetGroupReportScopes() {
if (assetGroupReportScopes == null) {
assetGroupReportScopes = new ArrayList<>();
}
return this.assetGroupReportScopes;
}

}
Loading

0 comments on commit ce90f1a

Please sign in to comment.