From f8a2d6a669b10151af1449f379db300b933613e1 Mon Sep 17 00:00:00 2001 From: Xinyu Wen Date: Fri, 24 Jan 2025 11:47:06 +0800 Subject: [PATCH] v13.0.23.1 --- HISTORY.rst | 5 + bingads/manifest.py | 2 +- .../audiences/bulk_product_audience.py | 2 +- bingads/v13/internal/bulk/string_table.py | 1 - .../v13/proxies/production/bulk_service.xml | 42 ++ .../production/campaignmanagement_service.xml | 670 +++++++++++++++++- .../production/customermanagement_service.xml | 24 + .../proxies/production/reporting_service.xml | 76 ++ bingads/v13/proxies/sandbox/bulk_service.xml | 35 + .../sandbox/campaignmanagement_service.xml | 670 +++++++++++++++++- .../sandbox/customermanagement_service.xml | 24 + .../v13/proxies/sandbox/reporting_service.xml | 76 ++ setup.py | 2 +- 13 files changed, 1603 insertions(+), 26 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index fead018f..eb273b40 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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. diff --git a/bingads/manifest.py b/bingads/manifest.py index 8a70e169..b5c38812 100644 --- a/bingads/manifest.py +++ b/bingads/manifest.py @@ -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]) diff --git a/bingads/v13/bulk/entities/audiences/bulk_product_audience.py b/bingads/v13/bulk/entities/audiences/bulk_product_audience.py index 45bd2bbd..8b07b06c 100644 --- a/bingads/v13/bulk/entities/audiences/bulk_product_audience.py +++ b/bingads/v13/bulk/entities/audiences/bulk_product_audience.py @@ -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) ), diff --git a/bingads/v13/internal/bulk/string_table.py b/bingads/v13/internal/bulk/string_table.py index 26b7197e..27a240b8 100644 --- a/bingads/v13/internal/bulk/string_table.py +++ b/bingads/v13/internal/bulk/string_table.py @@ -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" diff --git a/bingads/v13/proxies/production/bulk_service.xml b/bingads/v13/proxies/production/bulk_service.xml index edd75799..4f5f97f0 100644 --- a/bingads/v13/proxies/production/bulk_service.xml +++ b/bingads/v13/proxies/production/bulk_service.xml @@ -1352,6 +1352,48 @@ + + + + 184 + + + + + + + 185 + + + + + + + 186 + + + + + + + 187 + + + + + + + 188 + + + + + + + 189 + + + diff --git a/bingads/v13/proxies/production/campaignmanagement_service.xml b/bingads/v13/proxies/production/campaignmanagement_service.xml index b12f7ca1..46fd11e8 100644 --- a/bingads/v13/proxies/production/campaignmanagement_service.xml +++ b/bingads/v13/proxies/production/campaignmanagement_service.xml @@ -1127,6 +1127,18 @@ + + + + + + + + + + + + @@ -1273,7 +1285,15 @@ - + + + + + + + + + @@ -1411,6 +1431,7 @@ + @@ -1581,6 +1602,8 @@ + + @@ -5192,6 +5215,14 @@ + + + + + + + + @@ -5929,6 +5960,7 @@ + @@ -5987,6 +6019,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -6027,9 +6082,20 @@ + + + + + + + + + + + @@ -6061,6 +6127,13 @@ + + + + + + + @@ -6078,6 +6151,13 @@ + + + + + + + @@ -6094,6 +6174,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -6164,6 +6265,7 @@ + @@ -8694,6 +8796,7 @@ + @@ -8831,7 +8934,7 @@ - + @@ -8882,17 +8985,11 @@ - + - - - - - - @@ -9011,10 +9108,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13011,6 +13288,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13030,11 +13355,131 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14002,12 +14447,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17715,6 +18202,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17738,6 +18271,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bingads/v13/proxies/production/customermanagement_service.xml b/bingads/v13/proxies/production/customermanagement_service.xml index c72e7a9f..0ec8c375 100644 --- a/bingads/v13/proxies/production/customermanagement_service.xml +++ b/bingads/v13/proxies/production/customermanagement_service.xml @@ -878,6 +878,9 @@ + + + @@ -2081,6 +2084,27 @@ + + + + 1026 + + + + + + + 1063 + + + + + + + 1050 + + + diff --git a/bingads/v13/proxies/production/reporting_service.xml b/bingads/v13/proxies/production/reporting_service.xml index d8f252c2..94b5fcae 100644 --- a/bingads/v13/proxies/production/reporting_service.xml +++ b/bingads/v13/proxies/production/reporting_service.xml @@ -194,6 +194,11 @@ + + + + + @@ -981,6 +986,11 @@ + + + + + @@ -2473,6 +2483,10 @@ + + + + @@ -2481,6 +2495,13 @@ + + + + + + + @@ -4499,6 +4520,7 @@ + @@ -4511,6 +4533,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bingads/v13/proxies/sandbox/bulk_service.xml b/bingads/v13/proxies/sandbox/bulk_service.xml index 52aaac67..77f6a0fe 100644 --- a/bingads/v13/proxies/sandbox/bulk_service.xml +++ b/bingads/v13/proxies/sandbox/bulk_service.xml @@ -1359,6 +1359,41 @@ + + + + 185 + + + + + + + 186 + + + + + + + 187 + + + + + + + 188 + + + + + + + 189 + + + diff --git a/bingads/v13/proxies/sandbox/campaignmanagement_service.xml b/bingads/v13/proxies/sandbox/campaignmanagement_service.xml index 6d9d9cf8..1043af29 100644 --- a/bingads/v13/proxies/sandbox/campaignmanagement_service.xml +++ b/bingads/v13/proxies/sandbox/campaignmanagement_service.xml @@ -1127,6 +1127,18 @@ + + + + + + + + + + + + @@ -1273,7 +1285,15 @@ - + + + + + + + + + @@ -1411,6 +1431,7 @@ + @@ -1581,6 +1602,8 @@ + + @@ -5192,6 +5215,14 @@ + + + + + + + + @@ -5929,6 +5960,7 @@ + @@ -5987,6 +6019,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -6027,9 +6082,20 @@ + + + + + + + + + + + @@ -6061,6 +6127,13 @@ + + + + + + + @@ -6078,6 +6151,13 @@ + + + + + + + @@ -6094,6 +6174,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -6164,6 +6265,7 @@ + @@ -8694,6 +8796,7 @@ + @@ -8831,7 +8934,7 @@ - + @@ -8882,17 +8985,11 @@ - + - - - - - - @@ -9011,10 +9108,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13011,6 +13288,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13030,11 +13355,131 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14002,12 +14447,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17715,6 +18202,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17738,6 +18271,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bingads/v13/proxies/sandbox/customermanagement_service.xml b/bingads/v13/proxies/sandbox/customermanagement_service.xml index af5956c5..026f0ef0 100644 --- a/bingads/v13/proxies/sandbox/customermanagement_service.xml +++ b/bingads/v13/proxies/sandbox/customermanagement_service.xml @@ -878,6 +878,9 @@ + + + @@ -2081,6 +2084,27 @@ + + + + 1026 + + + + + + + 1063 + + + + + + + 1050 + + + diff --git a/bingads/v13/proxies/sandbox/reporting_service.xml b/bingads/v13/proxies/sandbox/reporting_service.xml index 4c63671c..b9d856cd 100644 --- a/bingads/v13/proxies/sandbox/reporting_service.xml +++ b/bingads/v13/proxies/sandbox/reporting_service.xml @@ -194,6 +194,11 @@ + + + + + @@ -981,6 +986,11 @@ + + + + + @@ -2473,6 +2483,10 @@ + + + + @@ -2481,6 +2495,13 @@ + + + + + + + @@ -4499,6 +4520,7 @@ + @@ -4511,6 +4533,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/setup.py b/setup.py index 8d186006..d309d24f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ except ImportError: from distutils.core import setup -VERSION = '13.0.23' +VERSION = '13.0.23.1' with open('README.rst', 'r') as f: readme = f.read()