Back to Documentation Overview

campaignContent

public static campaignContent(string apikey, string cid, bool for_archive)

Get the content (both html and text) for a campaign either as it would appear in the campaign archive or as the raw, original content

Section:
Campaign Related
Parameters:
apikey a valid API Key for your user account. Get by calling login()
cid the campaign id to get content for (can be gathered using campaigns())
for_archive optional - controls whether we return the Archive version (true) or the Raw version (false), defaults to true
Returns:
struct   -  Struct containing all content for the campaign (see Returned Fields for details
Returned Fields:
string html The HTML content used for the campgain with merge tags intact
string text The Text content used for the campgain with merge tags intact
Add New Note User Contributed Notes for campaignContent
No notes, yet... Will you be the first??