It is possible to update the start_time
of an adcampaign as long as the current time is below the start_time
of the campaign.
Once a campaign has become active, it is no longer possible to update the start_time
field.
I just tested creating and updating a post-dated campaign:
curl \
-F "name=TestTimeUpdate" \
-F "daily_budget=100" \
-F "campaign_status=1" \
-F "start_time=2014-01-24 12:00:00" \
-F "end_time=2014-01-25 12:00:00" \
-F "access_token=____" \
"https://graph.facebook.com/act_1234/adcampaigns"
{"id":"5678"}
Get the date fields:
curl "https://graph.facebook.com/5678?fields=start_time,end_time&access_token=____"
{
"start_time": "2014-01-24T12:00:00+0000",
"end_time": "2014-01-25T12:00:00+0000",
"id": "5678"
}
Update the date fields:
curl \
-F "start_time=2014-01-23 12:00:00" \
-F "access_token=____" \
"https://graph.facebook.com/5678"
true
Get the update:
curl "https://graph.facebook.com/5678?fields=start_time,end_time&access_token=____"
{
"start_time": "2014-01-23T12:00:00+0000",
"end_time": "2014-01-25T12:00:00+0000",
"id": "5678"
}