diff --git a/HISTORY.rst b/HISTORY.rst index b4d138ca..1ca55bdc 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,12 +2,15 @@ Release History +13.0.24.1(2025-02-21) ++++++++++++++++++++++++++ +* Fix issue in BulkBudget in version 13.0.24. + 13.0.24(2025-02-20) +++++++++++++++++++++++++ * 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. * Added NewCustomerAcquisitionGoalSetting in BulkCampaign mapping. * Added SubType, ActionType in BulkCampaignConversionGoal mapping. -* Added CampaignId in BulkKeyword mapping. * Added bulk mappings for NCA: BulkNewCustomerAcquisitionGoal. 13.0.23.1(2025-01-23) diff --git a/bingads/manifest.py b/bingads/manifest.py index 28bd4ee8..98c6a9d8 100644 --- a/bingads/manifest.py +++ b/bingads/manifest.py @@ -1,5 +1,5 @@ import sys -VERSION = '13.0.24' +VERSION = '13.0.24.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/bulk_budget.py b/bingads/v13/bulk/entities/bulk_budget.py index 91c49778..a9c585e7 100644 --- a/bingads/v13/bulk/entities/bulk_budget.py +++ b/bingads/v13/bulk/entities/bulk_budget.py @@ -20,12 +20,11 @@ class BulkBudget(_SingleRecordBulkEntity): * :class:`.BulkFileWriter` """ - def __init__(self, budget=None, status=None, account_id=None, campaign_id=None): + def __init__(self, budget=None, status=None, account_id=None): super(BulkBudget, self).__init__() self._budget = budget self._status = status self._account_id = account_id - self._campaign_id = campaign_id @property def budget(self): @@ -64,19 +63,6 @@ def account_id(self): def account_id(self, value): self._account_id = value - @property - def campaign_id(self): - """ the id of the campaign which contains the budget - Corresponds to the 'Campaign Id' field in the bulk file. - - :rtype: long - """ - return self._campaign_id - - @campaign_id.setter - def campaign_id(self, value): - self._campaign_id = value - _MAPPINGS = [ _SimpleBulkMapping( @@ -89,11 +75,6 @@ def campaign_id(self, value): field_to_csv=lambda c: bulk_str(c.account_id), csv_to_field=lambda c, v: setattr(c, 'account_id', int(v) if v else None) ), - _SimpleBulkMapping( - header=_StringTable.CampaignId, - field_to_csv=lambda c: bulk_str(c.campaign_id), - csv_to_field=lambda c, v: setattr(c, 'campaign_id', int(v) if v else None) - ), _SimpleBulkMapping( header=_StringTable.Status, field_to_csv=lambda c: c.status, diff --git a/setup.py b/setup.py index 7710251c..28b3cc56 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ except ImportError: from distutils.core import setup -VERSION = '13.0.24' +VERSION = '13.0.24.1' with open('README.rst', 'r') as f: readme = f.read()