Hi

I was unable to create a new campaign with start time information. Error response ‘Parameter start_time is deprecated’.

Even while fetching from the campaign list through API, does not give start_time and end_time parameters in response data.

We upgraded to version 11 and can you please suggest to me anything I was missing please.

Thanks,
Sandeep.S

Hello,

Thanks for reaching out. Could you share with us on the API request as well as the response received for us to troubleshoot the issue further?

Hi @jaredtcy

Sure I will share the response and request data, but even in fetching all campaigns list responses also do not give ‘start time’ and ‘end time’ information.

“11/accounts/18ce54y3lv7/campaigns”

response :
“request”: {

    "params": {

        "account_id": "18ce54y3lv7"

    }

},

"next_cursor": null,

"data": [

    {

        "name": "First Tweet Engagement Campaign",

        "budget_optimization": "CAMPAIGN",

        "reasons_not_servable": [

            "EXPIRED"

        ],

        "servable": false,

        "purchase_order_number": null,

        "effective_status": "EXPIRED",

        "daily_budget_amount_local_micro": 1000000,

        "funding_instrument_id": "123a27",

        "duration_in_days": null,

        "standard_delivery": true,

        "total_budget_amount_local_micro": 1000000,

        "id": "f16ir",

        "entity_status": "ACTIVE",

        "frequency_cap": null,

        "currency": "USD",

        "created_at": "2021-01-28T13:57:38Z",

        "updated_at": "2021-01-28T13:57:38Z",

        "deleted": false

    },

Can you please suggest, thanks in advance.

Hello,

Thanks for the details. We are researching on this issue. We will update again.

thanks,

still version 10, those information is available, but in the latest version 11 it was missing.

The start_time and end_time parameters were removed in v11 and campaigns use the times set on the line items. We will add a note in the announcement to make this clearer that these were removed from the Campaign endpoint.

Hi Thanks for the update.

But how if the campaign contains 2 line items with different start and end times.

I created one campaign with start time as 01-May-2022 and end time as 31-May-2022

And created two line items within timeframes

#1 Ad Group - 05-May-2022 – 10-May-2022
#2 Ad Group - 10-May-2022 – 20-May-2022

We are able to fetch campaign information
/11/accounts/18ce54y3lv7/campaigns/hkons
{
“request”: {
“params”: {
“campaign_id”: “hkons”,
“account_id”: “18ce54y3lv7”
}
},
“data”: {
“name”: “Campaign with start and end times”,
“budget_optimization”: “CAMPAIGN”,
“reasons_not_servable”: [
“STARTS_IN_FUTURE”
],
“servable”: false,
“purchase_order_number”: “”,
“effective_status”: “SCHEDULED”,
“daily_budget_amount_local_micro”: 1000000,
“funding_instrument_id”: “123a27”,
“duration_in_days”: null,
“standard_delivery”: true,
“total_budget_amount_local_micro”: 1000000,
“id”: “hkons”,
“entity_status”: “ACTIVE”,
“frequency_cap”: null,
“currency”: “USD”,
“created_at”: “2022-04-13T05:41:52Z”,
“updated_at”: “2022-04-13T05:49:47Z”,
“deleted”: false
}
}

Line items information
11/accounts/18ce54y3lv7/line_items?campaign_ids=hkons
{
“request”: {
“params”: {
“account_id”: “18ce54y3lv7”,
“campaign_ids”: [
“hkons”
]
}
},
“next_cursor”: null,
“data”: [
{
“advertiser_user_id”: “1037226678534062080”,
“name”: “#1”,
“placements”: [
“ALL_ON_TWITTER”
],
“start_time”: “2022-05-04T18:00:00Z”,
“bid_amount_local_micro”: null,
“advertiser_domain”: null,
“target_cpa_local_micro”: null,
“primary_web_event_tag”: null,
“goal”: “ENGAGEMENT”,
“daily_budget_amount_local_micro”: null,
“product_type”: “PROMOTED_TWEETS”,
“end_time”: “2022-05-09T18:00:00Z”,
“funding_instrument_id”: “123a27”,
“bid_strategy”: “AUTO”,
“duration_in_days”: null,
“standard_delivery”: null,
“total_budget_amount_local_micro”: null,
“objective”: “ENGAGEMENTS”,
“id”: “m57cb”,
“entity_status”: “ACTIVE”,
“automatic_tweet_promotion”: null,
“frequency_cap”: null,
“android_app_store_identifier”: null,
“categories”: ,
“currency”: “USD”,
“pay_by”: “ENGAGEMENT”,
“created_at”: “2022-04-13T05:41:52Z”,
“ios_app_store_identifier”: null,
“updated_at”: “2022-04-13T05:48:01Z”,
“campaign_id”: “hkons”,
“creative_source”: “MANUAL”,
“deleted”: false
},
{
“advertiser_user_id”: “1037226678534062080”,
“name”: “#2”,
“placements”: [
“ALL_ON_TWITTER”
],
“start_time”: “2022-05-10T18:00:00Z”,
“bid_amount_local_micro”: null,
“advertiser_domain”: null,
“target_cpa_local_micro”: null,
“primary_web_event_tag”: null,
“goal”: “ENGAGEMENT”,
“daily_budget_amount_local_micro”: null,
“product_type”: “PROMOTED_TWEETS”,
“end_time”: “2022-05-19T18:00:00Z”,
“funding_instrument_id”: “123a27”,
“bid_strategy”: “AUTO”,
“duration_in_days”: null,
“standard_delivery”: null,
“total_budget_amount_local_micro”: null,
“objective”: “ENGAGEMENTS”,
“id”: “m57dh”,
“entity_status”: “ACTIVE”,
“automatic_tweet_promotion”: null,
“frequency_cap”: null,
“android_app_store_identifier”: null,
“categories”: ,
“currency”: “USD”,
“pay_by”: “ENGAGEMENT”,
“created_at”: “2022-04-13T05:45:41Z”,
“ios_app_store_identifier”: null,
“updated_at”: “2022-04-13T05:49:12Z”,
“campaign_id”: “hkons”,
“creative_source”: “MANUAL”,
“deleted”: false
}
]
}

Where can we get the original campaign start and end time information please.

Thanks in advance.

Thanks,
Sandeep.S

Hi Anyone can provide some update on this please.

Thanks in advance.

This information would be available in the v10 endpoint but not in v11. Going forward, start and end times should be set/reviewed at the line item level. Could you describe how the original times would be useful?

Hi @osowskit1

Thanks for the response. Yes they are available still version 10, but we need to upgrade to the
latest version 11 day or tomorrow.

– How can we set/review campaign time intervals at line item endpoints please, please suggest.

We need campaign time intervals for the below reasons

  • Need to match with Twitter ADS UI

  • Need campaign time intervals at line item level to create line items within the campaign timeframes.

  • When the user wants to upgrade/edit existing scheduled campaign time intervals.

At some point, we need campaign time intervals mentioned by the user.

Please suggest how can we manage the above using API endpoints please.

Thanks in advance.

Thanks,
Sandeep.S

The Twitter UI is moving towards deprecating these settings at the Campaign-level. I would recommend either:

  1. continue using v10 - going forward a line item with a null start_time or end_time will inherit what is set at the Campaign level.
  2. migrate to v11 and only allow advertisers to set start_time and end_time at the Ad Group level