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: 4 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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.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])
21 changes: 1 addition & 20 deletions bingads/v13/bulk/entities/bulk_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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(
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down