Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

How to update campaign? #187

Open
Asshen opened this issue Mar 8, 2016 · 1 comment
Open

How to update campaign? #187

Asshen opened this issue Mar 8, 2016 · 1 comment

Comments

@Asshen
Copy link

Asshen commented Mar 8, 2016

When I try to update the HTML in a section (region in a template), I get no errors, but the changes are not saved online... any ideas what I'm doing wrong?

sectionContent[ "mysection" ] = "<h1>Updated HTML</h1>";
CampaignUpdateResult cur = mc.UpdateCampaign( Id, "content", new { sections = sectionContent } );

I read somewhere that I should add "html_" before the section name
sectionContent[ "html_mysection" ] = "<h1>Updated HTML</h1>";
is that correct? It doesn't work that way either...

Thank you.
Kris.

@Asshen
Copy link
Author

Asshen commented Mar 10, 2016

Meanwhile, I read somewhere that using the GetTemplateContent method you can only update the sections that are part of the template.
Apparently you are not able to update the body content of your mails using that method.

Is that correct?
If yes, then how can I update the body content of my mails?

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant