Need help with activity type in CampaignLog.

Hi,

I'm trying to update the CampaignLog through the API. I'll be updating actions such as Sent, Clicked, Opened, 

Bounced, Opted Out, Marked As Spam. I need to know the alternatives for all these that I can update to the activity_type field.

Based on my checking, I have seem some values such as targeted, error, removed, viewed but I'm not sure which corresponds to which. Can anyone help me find the activity type for the six activities I mentioned.

Thanks for the help!

  • Hi R V 

    The options for dropdown field activity_type on CampaignLog are defined in the dropdown list campainglog_activity_type_dom, so the default options are:

    ''=>'',
    'targeted' => 'Message Sent/Attempted',
    'send error'=>'Bounced Messages,Other',
    'invalid email'=>'Bounced Messages,Invalid Email',
    'link'=>'Click-thru Link',
    'viewed'=>'Viewed Message',
    'removed'=>'Opted Out',
    'lead'=>'Leads Created',
    'contact'=>'Contacts Created',
    'blocked'=>'Suppressed by address or domain',

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • Thanks a lot! This is it.

    I found the "campainglog_activity_type_dom" in the "options" of activity_type in CampaignLog using the metadata api. It says it's an enum. But I can't seem to find the values for the enum. Is that in another api? How did you do it?

    And does Click-thru link mean Clicked a link in the campaign?

    EDIT: Nevermind about the enum values, found the endpoint for that:

    /v11/CampaignLog/enum/activity_type