As per the official announcement of Twitter Ads v11 API,
If the Line Item start_time and end_timeis null, the values that will appear will be the same as the campaign start_time and end_time . The serving of these campaigns are not affected.
I created a campaign from Ads manager UI providing a campaign start_date/end_date without any dates at Line Item level, but I am getting null start_date/ end_date at line item level in response and the dtaes are removed in campaigns API. The question is how do i identify the start_date/end_date from API response now?

Hello,

Thanks for reaching out. Could you provide the related API request/response logs for us to troubleshoot the issue further? Please include the entire API call with the related AccountID as well as campaign ID etc. These information isn’t considered sensitive and cannot be used by unauthorized users in any way.

  1. GET /lineitems Request: /11/accounts/18ce54stbev/line_items/md2ac
    GET /lineitems Request/Response:
{
    "request": {
        "params": {
            "line_item_id": "md2ac",
            "account_id": "18ce54stbev"
        }
    },
    "data": {
        "advertiser_user_id": "1042134027241578496",
        "name": "May 10 ad group",
        "placements": [
            "ALL_ON_TWITTER"
        ],
        "start_time": null,
        "bid_amount_local_micro": null,
        "advertiser_domain": null,
        "target_cpa_local_micro": null,
        "primary_web_event_tag": null,
        "goal": "MAX_REACH",
        "daily_budget_amount_local_micro": null,
        "product_type": "PROMOTED_TWEETS",
        "end_time": null,
        "funding_instrument_id": "tbvoj",
        "bid_strategy": "AUTO",
        "duration_in_days": null,
        "standard_delivery": null,
        "total_budget_amount_local_micro": null,
        "objective": "REACH",
        "id": "md2ac",
        "entity_status": "ACTIVE",
        "automatic_tweet_promotion": null,
        "frequency_cap": null,
        "android_app_store_identifier": null,
        "categories": [],
        "currency": "USD",
        "pay_by": "IMPRESSION",
        "created_at": "2022-05-06T11:46:42Z",
        "ios_app_store_identifier": null,
        "updated_at": "2022-05-10T06:55:04Z",
        "campaign_id": "hqc93",
        "creative_source": "MANUAL",
        "deleted": false
    }
}
  1. GET /campaigns request: /11/accounts/18ce54stbev/campaigns/hqc93
    GET /campaigns Response:
{
    "request": {
        "params": {
            "campaign_id": "hqc93",
            "account_id": "18ce54stbev"
        }
    },
    "data": {
        "name": "May 10 campaign",
        "budget_optimization": "CAMPAIGN",
        "reasons_not_servable": [
            "STARTS_IN_FUTURE"
        ],
        "servable": false,
        "purchase_order_number": "",
        "effective_status": "SCHEDULED",
        "daily_budget_amount_local_micro": 500000,
        "funding_instrument_id": "tbvoj",
        "duration_in_days": null,
        "standard_delivery": true,
        "total_budget_amount_local_micro": 1000000,
        "id": "hqc93",
        "entity_status": "ACTIVE",
        "frequency_cap": null,
        "currency": "USD",
        "created_at": "2022-05-06T11:46:42Z",
        "updated_at": "2022-05-10T06:54:54Z",
        "deleted": false
    }
}
  1. Screenshot showing Ad Manager UI: Attached

Hello,

Thanks for the details. We are currently researching on this issue. Meanwhile, if possible, to identify the start_time as well as end_time, you can use v10 for now. We will update again.

Hi jaredcty,

Lets keep this ticket open to track the progress on it

Hello @jaredtcy ,

Do we have any update on this?

Thanks

Hello,

Apologies for the delay. This issue should be fixed. On my end, I am unable to reproduce the issue anymore. I can see the values of the start/end time when performing the API call for line_items

twurl -H ads-api.twitter.com "/11/accounts/18ce54stbev/line_items/md2ac" | jq .
{
  "request": {
    "params": {
      "line_item_id": "md2ac",
      "account_id": "18ce54stbev"
    }
  },
  "data": {
    "advertiser_user_id": "1042134027241578496",
    "name": "May 10 ad group",
    "placements": [
      "ALL_ON_TWITTER"
    ],
    "start_time": "2022-05-11T05:00:00Z",
    "bid_amount_local_micro": null,
    "advertiser_domain": null,
    "target_cpa_local_micro": null,
    "primary_web_event_tag": null,
    "goal": "MAX_REACH",
    "daily_budget_amount_local_micro": null,
    "product_type": "PROMOTED_TWEETS",
    "end_time": "2022-05-13T05:00:00Z",
    "funding_instrument_id": "tbvoj",
    "bid_strategy": "AUTO",
    "duration_in_days": null,
    "standard_delivery": null,
    "total_budget_amount_local_micro": null,
    "objective": "REACH",
    "id": "md2ac",
    "entity_status": "ACTIVE",
    "automatic_tweet_promotion": null,
    "frequency_cap": null,
    "android_app_store_identifier": null,
    "categories": [],
    "currency": "USD",
    "pay_by": "IMPRESSION",
    "created_at": "2022-05-06T11:46:42Z",
    "ios_app_store_identifier": null,
    "updated_at": "2022-05-31T19:00:46Z",
    "campaign_id": "hqc93",
    "creative_source": "MANUAL",
    "deleted": false
  }
}

1 Like