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