Skip to content

Commit

Permalink
Merge pull request #196 from BingAds/v13.0.21
Browse files Browse the repository at this point in the history
v13.0.21
  • Loading branch information
xinyuwen2 authored Jul 18, 2024
2 parents f7989fc + 85f9846 commit 29346ce
Show file tree
Hide file tree
Showing 398 changed files with 11,971 additions and 396 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.20.2</version>
<version>13.0.21</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>13.0.20.2</version>
<version>13.0.21</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
29 changes: 28 additions & 1 deletion proxies/com/microsoft/bingads/v13/bulk/DownloadEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,15 @@
* <enumeration value="ProductGoal"/>
* <enumeration value="SeasonalityAdjustments"/>
* <enumeration value="DataExclusions"/>
* <enumeration value="BrandList"/>
* <enumeration value="BrandItem"/>
* <enumeration value="CampaignBrandListAssociation"/>
* <enumeration value="AssetGroupSearchThemes"/>
* <enumeration value="ImpressionBasedRemarketingList"/>
* <enumeration value="AdGroupImpressionBasedRemarketingListAssociations"/>
* <enumeration value="AdGroupNegativeImpressionBasedRemarketingListAssociations"/>
* <enumeration value="CampaignImpressionBasedRemarketingListAssociations"/>
* <enumeration value="CampaignNegativeImpressionBasedRemarketingListAssociations"/>
* </restriction>
* </simpleType>
* }</pre>
Expand Down Expand Up @@ -543,7 +552,25 @@ public enum DownloadEntity {
@XmlEnumValue("SeasonalityAdjustments")
SEASONALITY_ADJUSTMENTS("SeasonalityAdjustments"),
@XmlEnumValue("DataExclusions")
DATA_EXCLUSIONS("DataExclusions");
DATA_EXCLUSIONS("DataExclusions"),
@XmlEnumValue("BrandList")
BRAND_LIST("BrandList"),
@XmlEnumValue("BrandItem")
BRAND_ITEM("BrandItem"),
@XmlEnumValue("CampaignBrandListAssociation")
CAMPAIGN_BRAND_LIST_ASSOCIATION("CampaignBrandListAssociation"),
@XmlEnumValue("AssetGroupSearchThemes")
ASSET_GROUP_SEARCH_THEMES("AssetGroupSearchThemes"),
@XmlEnumValue("ImpressionBasedRemarketingList")
IMPRESSION_BASED_REMARKETING_LIST("ImpressionBasedRemarketingList"),
@XmlEnumValue("AdGroupImpressionBasedRemarketingListAssociations")
AD_GROUP_IMPRESSION_BASED_REMARKETING_LIST_ASSOCIATIONS("AdGroupImpressionBasedRemarketingListAssociations"),
@XmlEnumValue("AdGroupNegativeImpressionBasedRemarketingListAssociations")
AD_GROUP_NEGATIVE_IMPRESSION_BASED_REMARKETING_LIST_ASSOCIATIONS("AdGroupNegativeImpressionBasedRemarketingListAssociations"),
@XmlEnumValue("CampaignImpressionBasedRemarketingListAssociations")
CAMPAIGN_IMPRESSION_BASED_REMARKETING_LIST_ASSOCIATIONS("CampaignImpressionBasedRemarketingListAssociations"),
@XmlEnumValue("CampaignNegativeImpressionBasedRemarketingListAssociations")
CAMPAIGN_NEGATIVE_IMPRESSION_BASED_REMARKETING_LIST_ASSOCIATIONS("CampaignNegativeImpressionBasedRemarketingListAssociations");
private final String value;

DownloadEntity(String v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public enum AdAdditionalField {
IMPRESSION_TRACKING_URLS("ImpressionTrackingUrls"),
VIDEOS("Videos"),
LONG_HEADLINES("LongHeadlines"),
IMAGE_TARGET_DIMENSION("ImageTargetDimension");
IMAGE_TARGET_DIMENSION("ImageTargetDimension"),
AD_SUB_TYPE("AdSubType");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
FilterLinkAdExtension.class,
FlyerAdExtension.class,
VideoAdExtension.class,
DisclaimerAdExtension.class
DisclaimerAdExtension.class,
LogoAdExtension.class
})
public class AdExtension {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public enum AdExtensionAdditionalField {
LAYOUTS("Layouts"),
ACTION_TYPES_PHASE3("ActionTypesPhase3"),
ACTION_TYPES_PHASE4("ActionTypesPhase4"),
NEW_FILTER_LINK_HEADERS("NewFilterLinkHeaders");
NEW_FILTER_LINK_HEADERS("NewFilterLinkHeaders"),
SOURCE_TYPE("SourceType");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public enum AdExtensionsTypeFilter {
FILTER_LINK_AD_EXTENSION("FilterLinkAdExtension"),
FLYER_AD_EXTENSION("FlyerAdExtension"),
VIDEO_AD_EXTENSION("VideoAdExtension"),
DISCLAIMER_AD_EXTENSION("DisclaimerAdExtension");
DISCLAIMER_AD_EXTENSION("DisclaimerAdExtension"),
LOGO_AD_EXTENSION("LogoAdExtension");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public enum AdGroupCriterionType {
HOTEL_DATE_SELECTION_TYPE("HotelDateSelectionType"),
HOTEL_CHECK_IN_DATE("HotelCheckInDate"),
GENRE("Genre"),
CUSTOMER_LIST("CustomerList");
CUSTOMER_LIST("CustomerList"),
IMPRESSION_BASED_REMARKETING_LIST("ImpressionBasedRemarketingList");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package com.microsoft.bingads.v13.campaignmanagement;

/**
* Enum class for AdSubType.
*/
public enum AdSubType {

VIDEO("Video"),
DISPLAY("Display");

private final String value;

AdSubType(String v) {
value = v;
}

public String value() {
return value;
}

public static AdSubType fromValue(String v) {
for (AdSubType c : AdSubType.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.v13.campaignmanagement;

import java.util.ArrayList;
import java.util.Collection;

/**
* Reserved for internal use.
*/
public class AdSubTypeConverter {

public static Collection<AdSubType> convertToList(String enums) {
String[] values = enums.split(" ");

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

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

return result;
}

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

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

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

return result;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter10
extends XmlAdapter<String, Collection<AdGroupCriterionType>>
extends XmlAdapter<String, Collection<MediaEnabledEntityFilter>>
{


public Collection<AdGroupCriterionType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AdGroupCriterionTypeConverter.convertToList(value));
public Collection<MediaEnabledEntityFilter> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.MediaEnabledEntityFilterConverter.convertToList(value));
}

public String marshal(Collection<AdGroupCriterionType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AdGroupCriterionTypeConverter.convertToString(value));
public String marshal(Collection<MediaEnabledEntityFilter> value) {
return (com.microsoft.bingads.v13.campaignmanagement.MediaEnabledEntityFilterConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter11
extends XmlAdapter<String, Collection<CriterionAdditionalField>>
extends XmlAdapter<String, Collection<MediaAdditionalField>>
{


public Collection<CriterionAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.CriterionAdditionalFieldConverter.convertToList(value));
public Collection<MediaAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.MediaAdditionalFieldConverter.convertToList(value));
}

public String marshal(Collection<CriterionAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.CriterionAdditionalFieldConverter.convertToString(value));
public String marshal(Collection<MediaAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.MediaAdditionalFieldConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter12
extends XmlAdapter<String, Collection<AudienceType>>
extends XmlAdapter<String, Collection<AdGroupCriterionType>>
{


public Collection<AudienceType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceTypeConverter.convertToList(value));
public Collection<AdGroupCriterionType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AdGroupCriterionTypeConverter.convertToList(value));
}

public String marshal(Collection<AudienceType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceTypeConverter.convertToString(value));
public String marshal(Collection<AdGroupCriterionType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AdGroupCriterionTypeConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter13
extends XmlAdapter<String, Collection<ProfileType>>
extends XmlAdapter<String, Collection<CriterionAdditionalField>>
{


public Collection<ProfileType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProfileTypeConverter.convertToList(value));
public Collection<CriterionAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.CriterionAdditionalFieldConverter.convertToList(value));
}

public String marshal(Collection<ProfileType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProfileTypeConverter.convertToString(value));
public String marshal(Collection<CriterionAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.CriterionAdditionalFieldConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter14
extends XmlAdapter<String, Collection<BMCStoreAdditionalField>>
extends XmlAdapter<String, Collection<AudienceType>>
{


public Collection<BMCStoreAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.BMCStoreAdditionalFieldConverter.convertToList(value));
public Collection<AudienceType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceTypeConverter.convertToList(value));
}

public String marshal(Collection<BMCStoreAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.BMCStoreAdditionalFieldConverter.convertToString(value));
public String marshal(Collection<AudienceType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceTypeConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter15
extends XmlAdapter<String, Collection<CampaignCriterionType>>
extends XmlAdapter<String, Collection<ProfileType>>
{


public Collection<CampaignCriterionType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.CampaignCriterionTypeConverter.convertToList(value));
public Collection<ProfileType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProfileTypeConverter.convertToList(value));
}

public String marshal(Collection<CampaignCriterionType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.CampaignCriterionTypeConverter.convertToString(value));
public String marshal(Collection<ProfileType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProfileTypeConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter16
extends XmlAdapter<String, Collection<ProductAudienceType>>
extends XmlAdapter<String, Collection<BMCStoreAdditionalField>>
{


public Collection<ProductAudienceType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProductAudienceTypeConverter.convertToList(value));
public Collection<BMCStoreAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.BMCStoreAdditionalFieldConverter.convertToList(value));
}

public String marshal(Collection<ProductAudienceType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProductAudienceTypeConverter.convertToString(value));
public String marshal(Collection<BMCStoreAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.BMCStoreAdditionalFieldConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter17
extends XmlAdapter<String, Collection<AudienceAdditionalField>>
extends XmlAdapter<String, Collection<CampaignCriterionType>>
{


public Collection<AudienceAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceAdditionalFieldConverter.convertToList(value));
public Collection<CampaignCriterionType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.CampaignCriterionTypeConverter.convertToList(value));
}

public String marshal(Collection<AudienceAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AudienceAdditionalFieldConverter.convertToString(value));
public String marshal(Collection<CampaignCriterionType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.CampaignCriterionTypeConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter18
extends XmlAdapter<String, Collection<ConversionGoalType>>
extends XmlAdapter<String, Collection<AssetGroupAdditionalField>>
{


public Collection<ConversionGoalType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ConversionGoalTypeConverter.convertToList(value));
public Collection<AssetGroupAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.AssetGroupAdditionalFieldConverter.convertToList(value));
}

public String marshal(Collection<ConversionGoalType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ConversionGoalTypeConverter.convertToString(value));
public String marshal(Collection<AssetGroupAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.AssetGroupAdditionalFieldConverter.convertToString(value));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import jakarta.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter19
extends XmlAdapter<String, Collection<ConversionGoalAdditionalField>>
extends XmlAdapter<String, Collection<ProductAudienceType>>
{


public Collection<ConversionGoalAdditionalField> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ConversionGoalAdditionalFieldConverter.convertToList(value));
public Collection<ProductAudienceType> unmarshal(String value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProductAudienceTypeConverter.convertToList(value));
}

public String marshal(Collection<ConversionGoalAdditionalField> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ConversionGoalAdditionalFieldConverter.convertToString(value));
public String marshal(Collection<ProductAudienceType> value) {
return (com.microsoft.bingads.v13.campaignmanagement.ProductAudienceTypeConverter.convertToString(value));
}

}
Loading

0 comments on commit 29346ce

Please sign in to comment.