Releases: xdevplatform/twitter-python-ads-sdk
v11.0.0
Details for the v11 release can be found here
Changes Included:
- Bump version to 11
- Added support for PUT cards/unified cards; updated example; added tests
- Added new
budget_optimization
param to the campaigns module - Added new
standard_delivery
param to the line items module - Updated examples
v10.0.0
Details for the v10 release can be found here
Changes included:
- Renamed Audience Summary to Audience Estimate
- Deprecated
ipad_app_id
and renamed toios_app_store_identifier
- Deprecated
automatically_select_bid
- Deprecated
tracking_tags
and added newtracking tags
endpoint - Deprecated select
targeting_criteria
fields - Added
card_type
to Cards
Re-adding support for Website and App Card endpoints
Changes included:
Added back support for Website and App Card endpoints
v9.0.0
Details for the v9 release can be found here
Changes included:
- Added support for new Cards endpoint
- Renamed "Tailored Audiences" to "Custom Audiences"
- Line Item parameter updates:
- Removed
optimization
andbid_unit
- Added
goal
- Renamed
bid_type
tobid_strategy
- Renamed
charge_by
topay_by
- Removed
- Removed Website and App Card endpoints
v8.0.0
Line Item changes for MAP objectives
Adding new iOS and Android app store identifiers on the line items endpoint - Announcement. This is part of the line_item_apps deprecation and that endpoint will be removed Oct 1st.
v7.0.1
v7.0.0
v6.1.0
As we announced, we're releasing a new version that is incompatible with Python 2.7. All Python 2.7-related issues/questions are no longer be supported as of v6.1.0.
Our CI (Travis test) no longer perform tests with Python 2 environment. The minimum required Python version is now 3.5+. We're not using/adding any Python 3-specific features such as async/await syntax in our SDK code at the moment but we may in the future. Please upgrade your Python version if you're still on Python 2.x.
See our original announcement: #215
v6.0.2
Bug fix
- Fix MediaLibrary class #235
- Duplicated
save()
method and introducedadd()
= POST andupdate()
= PUT methods
- Duplicated
- Fixed VideoConversionCard entity resource property references #231 by @shaun10
New
- Added new client options
timeout
andretry_on_timeouts
#234 Thanks to @ariarijp- You have now the control of a timeout duration specified by the
timeout
option (tuple). - You can now retry on timeouts using the
retry_on_timeouts
option (boolean) in addition to theretry_on_status
option (list).
- You have now the control of a timeout duration specified by the
client = Client(
CONSUMER_KEY,
CONSUMER_SECRET,
ACCESS_TOKEN,
ACCESS_TOKEN_SECRET,
options={
'handle_rate_limit': True,
'retry_max': 3,
'retry_delay': 5000,
'retry_on_status': [404, 500, 503],
'retry_on_timeouts': True,
'timeout': (1.0, 3.0) # https://2.python-requests.org/en/master/user/advanced/#timeouts
})
parameter | default | description |
---|---|---|
retry_on_timeouts |
False (boolean) |
Set True will catch the timeout error and retry the request. |
timeout |
None |
You can specify either a single value OR a tuple. If a single value is specified, the timeout value will be applied to both the connect and the read timeouts. See https://2.python-requests.org/en/master/user/advanced/#timeouts for more details of the usage. |