Skip to main content
March 19, 2016
Question

Campaign Run Ids Missing From Activity Rest API?

  • March 19, 2016
  • 2 replies
  • 2588 views

Has anyone been able to successfully determine a campaign run id on the "Send Email" activity. For example I have a campaign which users can enter multiple times, and thus can receive the same email multiple times. I am looking for an explicit way to determine if the user recieved, opened, and clicked the links within an email. I noticed that in Marketo on the activity feed you can see the "Campaign Run Id" on the "Send Email" events :

On subsequent runs that ID increments:

However the click and open events don't have that campaign run id. So my questions are:

  1. Is there anyway to tell on email events (Open, Delivered, Click, Bounce, etc) the Campaign Run Id?
  2. How come in the API getActivities, the campaign run id is not returned for any events including the "Send Email" event?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Grégoire_Miche2
Level 10
March 20, 2016

Hi Brad,

I Might be wrong here, but if I would guess, I would say that the email itself is not flagged with a campaign ID. The "send email" has an ID, because the email is sent by the campaign, but the "email opened" and "clicked email" do not because the link to the campaign is lost.

Probably worth an idea, though, as any how, the open email tracking pixel and the link redirect to the branding server could be associated to the "sent" event and therefore to the campaign ID.

-Greg

April 4, 2016

I have confirmed via support that there is no explicit way to tie email events to specific emails via the API. This means that you have to do a best guess attribution off of the email address, the datetime, and campaign. This is a limitation for campaigns that allow leads to run through multiple times.

Thanks!