Skip to content

Commit a7926cd

Browse files
authored
Merge pull request #308 from BingAds/v13.0.23.1
v13.0.23.1
2 parents d8dced9 + f8a2d6a commit a7926cd

File tree

13 files changed

+1603
-26
lines changed

13 files changed

+1603
-26
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
33
Release History
44

5+
13.0.23.1(2025-01-23)
6+
+++++++++++++++++++++++++
7+
* 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.
8+
* Fix issue in BulkProductAudience mapping.
9+
510
13.0.23(2024-11-21)
611
+++++++++++++++++++++++++
712
* 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.

bingads/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
VERSION = '13.0.23'
2+
VERSION = '13.0.23.1'
33
BULK_FORMAT_VERSION_6 = '6.0'
44
WORKING_NAME = 'BingAdsSDKPython'
55
USER_AGENT = '{0} {1} {2}'.format(WORKING_NAME, VERSION, sys.version_info[0:3])

bingads/v13/bulk/entities/audiences/bulk_product_audience.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self,
3434
csv_to_field=lambda c, v: setattr(c.product_audience, 'TagId', int(v) if v else None)
3535
),
3636
_SimpleBulkMapping(
37-
_StringTable.Audience,
37+
_StringTable.ProductAudienceType,
3838
field_to_csv=lambda c: bulk_str(c.product_audience.ProductAudienceType),
3939
csv_to_field=lambda c, v: setattr(c.product_audience, 'ProductAudienceType', v)
4040
),

bingads/v13/internal/bulk/string_table.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ class _StringTable:
453453
ProductAudienceType = "Product Audience Type"
454454
CombinationRule = "Combination Rule"
455455
SourceId = "Source Id"
456-
ProductAudienceType = "Product Audience Type"
457456
AdGroupProductAudienceAssociation = "Ad Group Product Audience Association"
458457
AdGroupNegativeProductAudienceAssociation = "Ad Group Negative Product Audience Association"
459458
CampaignProductAudienceAssociation = "Campaign Product Audience Association"

bingads/v13/proxies/production/bulk_service.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,48 @@
13521352
</xs:appinfo>
13531353
</xs:annotation>
13541354
</xs:enumeration>
1355+
<xs:enumeration value="AssetGroupUrlTargets">
1356+
<xs:annotation>
1357+
<xs:appinfo>
1358+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">184</EnumerationValue>
1359+
</xs:appinfo>
1360+
</xs:annotation>
1361+
</xs:enumeration>
1362+
<xs:enumeration value="NewCustomerAcquisitionGoal">
1363+
<xs:annotation>
1364+
<xs:appinfo>
1365+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">185</EnumerationValue>
1366+
</xs:appinfo>
1367+
</xs:annotation>
1368+
</xs:enumeration>
1369+
<xs:enumeration value="ConversionValueRule">
1370+
<xs:annotation>
1371+
<xs:appinfo>
1372+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">186</EnumerationValue>
1373+
</xs:appinfo>
1374+
</xs:annotation>
1375+
</xs:enumeration>
1376+
<xs:enumeration value="AccountPlacementExclusionList">
1377+
<xs:annotation>
1378+
<xs:appinfo>
1379+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">187</EnumerationValue>
1380+
</xs:appinfo>
1381+
</xs:annotation>
1382+
</xs:enumeration>
1383+
<xs:enumeration value="AccountPlacementExclusionListItem">
1384+
<xs:annotation>
1385+
<xs:appinfo>
1386+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">188</EnumerationValue>
1387+
</xs:appinfo>
1388+
</xs:annotation>
1389+
</xs:enumeration>
1390+
<xs:enumeration value="CampaignAccountPlacementExclusionListAssociation">
1391+
<xs:annotation>
1392+
<xs:appinfo>
1393+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">189</EnumerationValue>
1394+
</xs:appinfo>
1395+
</xs:annotation>
1396+
</xs:enumeration>
13551397
</xs:restriction>
13561398
</xs:simpleType>
13571399
<xs:element name="DownloadEntity" nillable="true" type="tns:DownloadEntity" />

bingads/v13/proxies/production/campaignmanagement_service.xml

Lines changed: 659 additions & 11 deletions
Large diffs are not rendered by default.

bingads/v13/proxies/production/customermanagement_service.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,9 @@
878878
<xs:enumeration value="Greek" />
879879
<xs:enumeration value="Hungarian" />
880880
<xs:enumeration value="Hindi" />
881+
<xs:enumeration value="Bulgarian" />
882+
<xs:enumeration value="Lithuanian" />
883+
<xs:enumeration value="Croatian" />
881884
</xs:restriction>
882885
</xs:simpleType>
883886
<xs:element name="LanguageType" nillable="true" type="tns:LanguageType" />
@@ -2081,6 +2084,27 @@
20812084
</xs:appinfo>
20822085
</xs:annotation>
20832086
</xs:enumeration>
2087+
<xs:enumeration value="Bulgarian">
2088+
<xs:annotation>
2089+
<xs:appinfo>
2090+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1026</EnumerationValue>
2091+
</xs:appinfo>
2092+
</xs:annotation>
2093+
</xs:enumeration>
2094+
<xs:enumeration value="Lithuanian">
2095+
<xs:annotation>
2096+
<xs:appinfo>
2097+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1063</EnumerationValue>
2098+
</xs:appinfo>
2099+
</xs:annotation>
2100+
</xs:enumeration>
2101+
<xs:enumeration value="Croatian">
2102+
<xs:annotation>
2103+
<xs:appinfo>
2104+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1050</EnumerationValue>
2105+
</xs:appinfo>
2106+
</xs:annotation>
2107+
</xs:enumeration>
20842108
</xs:restriction>
20852109
</xs:simpleType>
20862110
<xs:element name="LCID" nillable="true" type="tns:LCID" />

bingads/v13/proxies/production/reporting_service.xml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@
194194
<xs:enumeration value="Subscriptions" />
195195
<xs:enumeration value="PostInstallSubscriptionRate" />
196196
<xs:enumeration value="CPS" />
197+
<xs:enumeration value="NewCustomerConversions" />
198+
<xs:enumeration value="NewCustomerRevenue" />
199+
<xs:enumeration value="NewCustomerConversionRate" />
200+
<xs:enumeration value="NewCustomerCPA" />
201+
<xs:enumeration value="NewCustomerReturnOnAdSpend" />
197202
</xs:restriction>
198203
</xs:simpleType>
199204
<xs:element name="AccountPerformanceReportColumn" nillable="true" type="tns:AccountPerformanceReportColumn" />
@@ -981,6 +986,11 @@
981986
<xs:enumeration value="Subscriptions" />
982987
<xs:enumeration value="PostInstallSubscriptionRate" />
983988
<xs:enumeration value="CPS" />
989+
<xs:enumeration value="NewCustomerConversions" />
990+
<xs:enumeration value="NewCustomerRevenue" />
991+
<xs:enumeration value="NewCustomerConversionRate" />
992+
<xs:enumeration value="NewCustomerCPA" />
993+
<xs:enumeration value="NewCustomerReturnOnAdSpend" />
984994
</xs:restriction>
985995
</xs:simpleType>
986996
<xs:element name="CampaignPerformanceReportColumn" nillable="true" type="tns:CampaignPerformanceReportColumn" />
@@ -2473,6 +2483,10 @@
24732483
<xs:enumeration value="AllConversionsQualified" />
24742484
<xs:enumeration value="ViewThroughConversionsQualified" />
24752485
<xs:enumeration value="ViewThroughRevenue" />
2486+
<xs:enumeration value="CampaignType" />
2487+
<xs:enumeration value="AssetGroupId" />
2488+
<xs:enumeration value="AssetGroupName" />
2489+
<xs:enumeration value="AssetGroupStatus" />
24762490
</xs:restriction>
24772491
</xs:simpleType>
24782492
<xs:element name="GoalsAndFunnelsReportColumn" nillable="true" type="tns:GoalsAndFunnelsReportColumn" />
@@ -2481,6 +2495,13 @@
24812495
<xs:element minOccurs="0" name="AccountStatus" nillable="true" type="tns:AccountStatusReportFilter" />
24822496
<xs:element minOccurs="0" name="AdDistribution" nillable="true" type="tns:AdDistributionReportFilter" />
24832497
<xs:element minOccurs="0" name="AdGroupStatus" nillable="true" type="tns:AdGroupStatusReportFilter" />
2498+
<xs:element minOccurs="0" name="AssetGroupStatus" nillable="true" type="tns:AssetGroupStatusReportFilter">
2499+
<xs:annotation>
2500+
<xs:appinfo>
2501+
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
2502+
</xs:appinfo>
2503+
</xs:annotation>
2504+
</xs:element>
24842505
<xs:element minOccurs="0" name="CampaignStatus" nillable="true" type="tns:CampaignStatusReportFilter" />
24852506
<xs:element minOccurs="0" name="DeviceOS" nillable="true" type="tns:DeviceOSReportFilter" />
24862507
<xs:element minOccurs="0" name="DeviceType" nillable="true" type="tns:DeviceTypeReportFilter" />
@@ -4499,6 +4520,7 @@
44994520
<xs:enumeration value="WeekStartingMonday" />
45004521
<xs:enumeration value="MarketplaceClickCoverage" />
45014522
<xs:enumeration value="Country" />
4523+
<xs:enumeration value="ProportionOfSpend" />
45024524
</xs:restriction>
45034525
</xs:simpleType>
45044526
<xs:element name="CategoryClickCoverageReportColumn" nillable="true" type="tns:CategoryClickCoverageReportColumn" />
@@ -4511,6 +4533,60 @@
45114533
</xs:sequence>
45124534
</xs:complexType>
45134535
<xs:element name="CategoryClickCoverageReportFilter" nillable="true" type="tns:CategoryClickCoverageReportFilter" />
4536+
<xs:complexType name="CombinationPerformanceReportRequest">
4537+
<xs:complexContent mixed="false">
4538+
<xs:extension base="tns:ReportRequest">
4539+
<xs:sequence>
4540+
<xs:element name="Aggregation" type="tns:ReportAggregation" />
4541+
<xs:element name="Columns" nillable="true" type="tns:ArrayOfCombinationPerformanceReportColumn" />
4542+
<xs:element minOccurs="0" name="Filter" nillable="true" type="tns:CombinationPerformanceReportFilter" />
4543+
<xs:element name="Scope" nillable="true" type="tns:AccountThroughCampaignReportScope" />
4544+
<xs:element name="Time" nillable="true" type="tns:ReportTime" />
4545+
</xs:sequence>
4546+
</xs:extension>
4547+
</xs:complexContent>
4548+
</xs:complexType>
4549+
<xs:element name="CombinationPerformanceReportRequest" nillable="true" type="tns:CombinationPerformanceReportRequest" />
4550+
<xs:complexType name="ArrayOfCombinationPerformanceReportColumn">
4551+
<xs:sequence>
4552+
<xs:element minOccurs="0" maxOccurs="unbounded" name="CombinationPerformanceReportColumn" type="tns:CombinationPerformanceReportColumn" />
4553+
</xs:sequence>
4554+
</xs:complexType>
4555+
<xs:element name="ArrayOfCombinationPerformanceReportColumn" nillable="true" type="tns:ArrayOfCombinationPerformanceReportColumn" />
4556+
<xs:simpleType name="CombinationPerformanceReportColumn">
4557+
<xs:restriction base="xs:string">
4558+
<xs:enumeration value="TimePeriod" />
4559+
<xs:enumeration value="AccountId" />
4560+
<xs:enumeration value="AccountName" />
4561+
<xs:enumeration value="CampaignId" />
4562+
<xs:enumeration value="CampaignName" />
4563+
<xs:enumeration value="CampaignType" />
4564+
<xs:enumeration value="AdGroupId" />
4565+
<xs:enumeration value="AdGroupName" />
4566+
<xs:enumeration value="AssetGroupId" />
4567+
<xs:enumeration value="AssetGroupName" />
4568+
<xs:enumeration value="AdId" />
4569+
<xs:enumeration value="AdType" />
4570+
<xs:enumeration value="Headline1" />
4571+
<xs:enumeration value="Headline2" />
4572+
<xs:enumeration value="Headline3" />
4573+
<xs:enumeration value="CombinationLongHeadline" />
4574+
<xs:enumeration value="Description1" />
4575+
<xs:enumeration value="Description2" />
4576+
<xs:enumeration value="Image" />
4577+
<xs:enumeration value="Logo" />
4578+
<xs:enumeration value="Impressions" />
4579+
<xs:enumeration value="Clicks" />
4580+
<xs:enumeration value="Spend" />
4581+
<xs:enumeration value="Ctr" />
4582+
<xs:enumeration value="Conversions" />
4583+
</xs:restriction>
4584+
</xs:simpleType>
4585+
<xs:element name="CombinationPerformanceReportColumn" nillable="true" type="tns:CombinationPerformanceReportColumn" />
4586+
<xs:complexType name="CombinationPerformanceReportFilter">
4587+
<xs:sequence />
4588+
</xs:complexType>
4589+
<xs:element name="CombinationPerformanceReportFilter" nillable="true" type="tns:CombinationPerformanceReportFilter" />
45144590
<xs:element name="ApplicationToken" nillable="true" type="xs:string" />
45154591
<xs:element name="AuthenticationToken" nillable="true" type="xs:string" />
45164592
<xs:element name="CustomerAccountId" nillable="true" type="xs:string" />

bingads/v13/proxies/sandbox/bulk_service.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,41 @@
13591359
</xs:appinfo>
13601360
</xs:annotation>
13611361
</xs:enumeration>
1362+
<xs:enumeration value="NewCustomerAcquisitionGoal">
1363+
<xs:annotation>
1364+
<xs:appinfo>
1365+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">185</EnumerationValue>
1366+
</xs:appinfo>
1367+
</xs:annotation>
1368+
</xs:enumeration>
1369+
<xs:enumeration value="ConversionValueRule">
1370+
<xs:annotation>
1371+
<xs:appinfo>
1372+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">186</EnumerationValue>
1373+
</xs:appinfo>
1374+
</xs:annotation>
1375+
</xs:enumeration>
1376+
<xs:enumeration value="AccountPlacementExclusionList">
1377+
<xs:annotation>
1378+
<xs:appinfo>
1379+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">187</EnumerationValue>
1380+
</xs:appinfo>
1381+
</xs:annotation>
1382+
</xs:enumeration>
1383+
<xs:enumeration value="AccountPlacementExclusionListItem">
1384+
<xs:annotation>
1385+
<xs:appinfo>
1386+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">188</EnumerationValue>
1387+
</xs:appinfo>
1388+
</xs:annotation>
1389+
</xs:enumeration>
1390+
<xs:enumeration value="CampaignAccountPlacementExclusionListAssociation">
1391+
<xs:annotation>
1392+
<xs:appinfo>
1393+
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">189</EnumerationValue>
1394+
</xs:appinfo>
1395+
</xs:annotation>
1396+
</xs:enumeration>
13621397
</xs:restriction>
13631398
</xs:simpleType>
13641399
<xs:element name="DownloadEntity" nillable="true" type="tns:DownloadEntity" />

0 commit comments

Comments
 (0)