Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Release History

13.0.23.1(2025-01-23)
+++++++++++++++++++++++++
* Update Bing Ads API Version 13 service proxies to reflect recent interface changes. For details please see the Bing Ads API Release Notes: https://learn.microsoft.com/en-us/advertising/guides/release-notes?view=bingads-13.
* Fix issue in BulkProductAudience mapping.

13.0.23(2024-11-21)
+++++++++++++++++++++++++
* Update Bing Ads API Version 13 service proxies to reflect recent interface changes. For details please see the Bing Ads API Release Notes: https://learn.microsoft.com/en-us/advertising/guides/release-notes?view=bingads-13.
Expand Down
2 changes: 1 addition & 1 deletion bingads/manifest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
VERSION = '13.0.23'
VERSION = '13.0.23.1'
BULK_FORMAT_VERSION_6 = '6.0'
WORKING_NAME = 'BingAdsSDKPython'
USER_AGENT = '{0} {1} {2}'.format(WORKING_NAME, VERSION, sys.version_info[0:3])
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self,
csv_to_field=lambda c, v: setattr(c.product_audience, 'TagId', int(v) if v else None)
),
_SimpleBulkMapping(
_StringTable.Audience,
_StringTable.ProductAudienceType,
field_to_csv=lambda c: bulk_str(c.product_audience.ProductAudienceType),
csv_to_field=lambda c, v: setattr(c.product_audience, 'ProductAudienceType', v)
),
Expand Down
1 change: 0 additions & 1 deletion bingads/v13/internal/bulk/string_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ class _StringTable:
ProductAudienceType = "Product Audience Type"
CombinationRule = "Combination Rule"
SourceId = "Source Id"
ProductAudienceType = "Product Audience Type"
AdGroupProductAudienceAssociation = "Ad Group Product Audience Association"
AdGroupNegativeProductAudienceAssociation = "Ad Group Negative Product Audience Association"
CampaignProductAudienceAssociation = "Campaign Product Audience Association"
Expand Down
42 changes: 42 additions & 0 deletions bingads/v13/proxies/production/bulk_service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,48 @@
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AssetGroupUrlTargets">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">184</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NewCustomerAcquisitionGoal">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">185</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ConversionValueRule">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">186</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AccountPlacementExclusionList">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">187</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AccountPlacementExclusionListItem">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">188</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CampaignAccountPlacementExclusionListAssociation">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">189</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="DownloadEntity" nillable="true" type="tns:DownloadEntity" />
Expand Down
670 changes: 659 additions & 11 deletions bingads/v13/proxies/production/campaignmanagement_service.xml

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions bingads/v13/proxies/production/customermanagement_service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,9 @@
<xs:enumeration value="Greek" />
<xs:enumeration value="Hungarian" />
<xs:enumeration value="Hindi" />
<xs:enumeration value="Bulgarian" />
<xs:enumeration value="Lithuanian" />
<xs:enumeration value="Croatian" />
</xs:restriction>
</xs:simpleType>
<xs:element name="LanguageType" nillable="true" type="tns:LanguageType" />
Expand Down Expand Up @@ -2081,6 +2084,27 @@
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Bulgarian">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1026</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Lithuanian">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1063</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Croatian">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1050</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="LCID" nillable="true" type="tns:LCID" />
Expand Down
76 changes: 76 additions & 0 deletions bingads/v13/proxies/production/reporting_service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@
<xs:enumeration value="Subscriptions" />
<xs:enumeration value="PostInstallSubscriptionRate" />
<xs:enumeration value="CPS" />
<xs:enumeration value="NewCustomerConversions" />
<xs:enumeration value="NewCustomerRevenue" />
<xs:enumeration value="NewCustomerConversionRate" />
<xs:enumeration value="NewCustomerCPA" />
<xs:enumeration value="NewCustomerReturnOnAdSpend" />
</xs:restriction>
</xs:simpleType>
<xs:element name="AccountPerformanceReportColumn" nillable="true" type="tns:AccountPerformanceReportColumn" />
Expand Down Expand Up @@ -981,6 +986,11 @@
<xs:enumeration value="Subscriptions" />
<xs:enumeration value="PostInstallSubscriptionRate" />
<xs:enumeration value="CPS" />
<xs:enumeration value="NewCustomerConversions" />
<xs:enumeration value="NewCustomerRevenue" />
<xs:enumeration value="NewCustomerConversionRate" />
<xs:enumeration value="NewCustomerCPA" />
<xs:enumeration value="NewCustomerReturnOnAdSpend" />
</xs:restriction>
</xs:simpleType>
<xs:element name="CampaignPerformanceReportColumn" nillable="true" type="tns:CampaignPerformanceReportColumn" />
Expand Down Expand Up @@ -2473,6 +2483,10 @@
<xs:enumeration value="AllConversionsQualified" />
<xs:enumeration value="ViewThroughConversionsQualified" />
<xs:enumeration value="ViewThroughRevenue" />
<xs:enumeration value="CampaignType" />
<xs:enumeration value="AssetGroupId" />
<xs:enumeration value="AssetGroupName" />
<xs:enumeration value="AssetGroupStatus" />
</xs:restriction>
</xs:simpleType>
<xs:element name="GoalsAndFunnelsReportColumn" nillable="true" type="tns:GoalsAndFunnelsReportColumn" />
Expand All @@ -2481,6 +2495,13 @@
<xs:element minOccurs="0" name="AccountStatus" nillable="true" type="tns:AccountStatusReportFilter" />
<xs:element minOccurs="0" name="AdDistribution" nillable="true" type="tns:AdDistributionReportFilter" />
<xs:element minOccurs="0" name="AdGroupStatus" nillable="true" type="tns:AdGroupStatusReportFilter" />
<xs:element minOccurs="0" name="AssetGroupStatus" nillable="true" type="tns:AssetGroupStatusReportFilter">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="CampaignStatus" nillable="true" type="tns:CampaignStatusReportFilter" />
<xs:element minOccurs="0" name="DeviceOS" nillable="true" type="tns:DeviceOSReportFilter" />
<xs:element minOccurs="0" name="DeviceType" nillable="true" type="tns:DeviceTypeReportFilter" />
Expand Down Expand Up @@ -4499,6 +4520,7 @@
<xs:enumeration value="WeekStartingMonday" />
<xs:enumeration value="MarketplaceClickCoverage" />
<xs:enumeration value="Country" />
<xs:enumeration value="ProportionOfSpend" />
</xs:restriction>
</xs:simpleType>
<xs:element name="CategoryClickCoverageReportColumn" nillable="true" type="tns:CategoryClickCoverageReportColumn" />
Expand All @@ -4511,6 +4533,60 @@
</xs:sequence>
</xs:complexType>
<xs:element name="CategoryClickCoverageReportFilter" nillable="true" type="tns:CategoryClickCoverageReportFilter" />
<xs:complexType name="CombinationPerformanceReportRequest">
<xs:complexContent mixed="false">
<xs:extension base="tns:ReportRequest">
<xs:sequence>
<xs:element name="Aggregation" type="tns:ReportAggregation" />
<xs:element name="Columns" nillable="true" type="tns:ArrayOfCombinationPerformanceReportColumn" />
<xs:element minOccurs="0" name="Filter" nillable="true" type="tns:CombinationPerformanceReportFilter" />
<xs:element name="Scope" nillable="true" type="tns:AccountThroughCampaignReportScope" />
<xs:element name="Time" nillable="true" type="tns:ReportTime" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CombinationPerformanceReportRequest" nillable="true" type="tns:CombinationPerformanceReportRequest" />
<xs:complexType name="ArrayOfCombinationPerformanceReportColumn">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CombinationPerformanceReportColumn" type="tns:CombinationPerformanceReportColumn" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCombinationPerformanceReportColumn" nillable="true" type="tns:ArrayOfCombinationPerformanceReportColumn" />
<xs:simpleType name="CombinationPerformanceReportColumn">
<xs:restriction base="xs:string">
<xs:enumeration value="TimePeriod" />
<xs:enumeration value="AccountId" />
<xs:enumeration value="AccountName" />
<xs:enumeration value="CampaignId" />
<xs:enumeration value="CampaignName" />
<xs:enumeration value="CampaignType" />
<xs:enumeration value="AdGroupId" />
<xs:enumeration value="AdGroupName" />
<xs:enumeration value="AssetGroupId" />
<xs:enumeration value="AssetGroupName" />
<xs:enumeration value="AdId" />
<xs:enumeration value="AdType" />
<xs:enumeration value="Headline1" />
<xs:enumeration value="Headline2" />
<xs:enumeration value="Headline3" />
<xs:enumeration value="CombinationLongHeadline" />
<xs:enumeration value="Description1" />
<xs:enumeration value="Description2" />
<xs:enumeration value="Image" />
<xs:enumeration value="Logo" />
<xs:enumeration value="Impressions" />
<xs:enumeration value="Clicks" />
<xs:enumeration value="Spend" />
<xs:enumeration value="Ctr" />
<xs:enumeration value="Conversions" />
</xs:restriction>
</xs:simpleType>
<xs:element name="CombinationPerformanceReportColumn" nillable="true" type="tns:CombinationPerformanceReportColumn" />
<xs:complexType name="CombinationPerformanceReportFilter">
<xs:sequence />
</xs:complexType>
<xs:element name="CombinationPerformanceReportFilter" nillable="true" type="tns:CombinationPerformanceReportFilter" />
<xs:element name="ApplicationToken" nillable="true" type="xs:string" />
<xs:element name="AuthenticationToken" nillable="true" type="xs:string" />
<xs:element name="CustomerAccountId" nillable="true" type="xs:string" />
Expand Down
35 changes: 35 additions & 0 deletions bingads/v13/proxies/sandbox/bulk_service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,41 @@
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NewCustomerAcquisitionGoal">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">185</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ConversionValueRule">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">186</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AccountPlacementExclusionList">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">187</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AccountPlacementExclusionListItem">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">188</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CampaignAccountPlacementExclusionListAssociation">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">189</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="DownloadEntity" nillable="true" type="tns:DownloadEntity" />
Expand Down
Loading