Deprecation Announcement: Lead Generation



Today we are announcing the deprecation of Lead Generation, which will happen in two phases for the Ads API.

  1. On 2017-02-01, it will no longer be possible to:

    • create lead generation (objective=LEAD_GENERATION) campaigns
      • it will still be possible to view, edit, and delete these campaigns
    • create or edit lead generation cards
  2. On 2017-03-01, it will no longer be possible to view lead generation cards

Note that campaign analytics will still be available.

Twitter Ads API Team

Twitter Cards Lead doesn't works
Getting Leads,objective using Twitter Ads API



It is no longer possible to create new or update existing Lead Generation campaigns. Trying to do so will result in the following error:

$ twurl -X POST -H "/1/accounts/18ce54d4x5t/line_items?campaign_id=7z1ku&bid_amount_local_micro=3210000&product_type=PROMOTED_TWEETS&placements=ALL_ON_TWITTER&objective=LEAD_GENERATION" | jq
  "errors": [
      "code": "INVALID",
      "message": "The line item objective LEAD_GENERATION is no longer supported.",
      "attribute": "objective"
  "request": {
    "params": {
      "placements": [
      "bid_amount_local_micro": 3210000,
      "product_type": "PROMOTED_TWEETS",
      "objective": "LEAD_GENERATION",
      "account_id": "18ce54d4x5t",
      "campaign_id": "7z1ku"