Skip to content

Releases: xdevplatform/twitter-python-ads-sdk

v11.0.0

27 May 22:48
a3dd581
Compare
Choose a tag to compare

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

18 Nov 20:39
6a0994d
Compare
Choose a tag to compare

Details for the v10 release can be found here

Changes included:

  • Renamed Audience Summary to Audience Estimate
  • Deprecated ipad_app_id and renamed to ios_app_store_identifier
  • Deprecated automatically_select_bid
  • Deprecated tracking_tags and added new tracking tags endpoint
  • Deprecated select targeting_criteria fields
  • Added card_type to Cards

Re-adding support for Website and App Card endpoints

02 Sep 23:31
60cea44
Compare
Choose a tag to compare

Changes included:

Added back support for Website and App Card endpoints

v9.0.0

11 Jun 18:23
17ffd57
Compare
Choose a tag to compare

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 and bid_unit
    • Added goal
    • Renamed bid_type to bid_strategy
    • Renamed charge_by to pay_by
  • Removed Website and App Card endpoints

v8.0.0

29 Oct 15:09
7241015
Compare
Choose a tag to compare

Details for v8 release can be found here

Changes included:

  • Renamed objective enums
  • Added targeted audiences support + tests
  • Updated examples
  • owner_account_id for Tailored Audiences

Line Item changes for MAP objectives

25 Sep 19:29
1b46582
Compare
Choose a tag to compare

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

04 May 19:45
e2fce97
Compare
Choose a tag to compare

Added

  • Ability to set custom request headers

v7.0.0

07 Apr 14:48
2820327
Compare
Choose a tag to compare

Added

  • Audience summary endpoint
  • Granular TAP placements
  • Advertiser Business Categories

Removed

  • Reach estimate endpoint

Changed

  • serving_status to entity_status for media creatives

v6.1.0

05 Dec 08:58
aeb7484
Compare
Choose a tag to compare

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

26 Nov 17:30
891b923
Compare
Choose a tag to compare

Bug fix

  • Fix MediaLibrary class #235
    • Duplicated save() method and introduced add() = POST and update() = PUT methods
  • Fixed VideoConversionCard entity resource property references #231 by @shaun10

New

  • Added new client options timeout and retry_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 the retry_on_status option (list).
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.