You are here

function MCAPI::campaignAdvice in Mailchimp 6.2

Same name and namespace in other branches
  1. 7 MCAPI.class.php \MCAPI::campaignAdvice()

Retrieve the text presented in our app for how a campaign performed and any advice we may have for you - best suited for display in customized reports pages. Note: some messages will contain HTML - clean tags as necessary

Stats

@example mcapi_campaignAdvice.php

@returnf msg the advice message @returnf type the "type" of the message. one of: negative, positive, or neutral

Parameters

string $cid the campaign id to pull advice text for (can be gathered using campaigns()):

Return value

array advice on the campaign's performance

File

./MCAPI.class.php, line 654

Class

MCAPI

Code

function campaignAdvice($cid) {
  $params = array();
  $params["cid"] = $cid;
  return $this
    ->callServer("campaignAdvice", $params);
}