sending an existing campaign

Hi,

I have created a campaign the id in the URL is

campaignReportDetail.aspx?ID=D9E5E39F91CC0DEF


when I try and send this with

$wrap = new CS_REST_Campaigns('D9E5E39F91CC0DEF', 'xxxxxxxxxxxxxxxxx');

in send.php it tellms me the campaign id is invalid. How do I send an existing campaign?

Stig Stig, 4 years ago

Hey roscoeh,

I'm afraid each campaign can only be sent once, meaning you can only use the send campaign method to send a draft, not an already sent campaign.

Instead, you'll need to create a new draft. You can do that through the API (using the same input as you did for your existing campaign), or you can use the "Edit and resend"-option in the app.

I should also mention that the IDs used in the URLs in the app, are not the same as the API campaign IDs. You can get the API campaign IDs of all unsent drafts for a specific client, using this method.


The Campaign Monitor Blog – HTML email smarts to go with your good looks.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098