Skip to main content
Contributor I
May 2, 2023
Solved

Campaign IDs vs message IDs when grouping by $attributed_message

  • May 2, 2023
  • 3 replies
  • 362 views

Hello,

I’ve noticed that when grouping by `$attributed_message` on the /metric-aggregates endpoint, the dimensions that are returned seem to be campaign IDs rather than their corresponding message IDs. Just for peace of mind, is this intended behaviour? 

Thanks,

Paul

    This topic has been closed for replies.
    Best answer by Brian Turcotte

    Hi @Cynicade!

     

    It turns out that this is indeed intended behavior, and grouping by “$attributed_message” will group the response by Campaign ID, not Message ID.

     

    I hope this helps to clarify!

     

    Best,

    Brian

    3 replies

    Brian Turcotte
    Klaviyo Alum
    May 2, 2023

    Hi @Cynicade!

     

    Let me check on this for you with Engineering, and I’ll update the thread when I can confirm!

     

    Best,

    Brian

    Brian Turcotte
    Klaviyo Alum
    May 15, 2023

    Hi @Cynicade!

     

    It turns out that this is indeed intended behavior, and grouping by “$attributed_message” will group the response by Campaign ID, not Message ID.

     

    I hope this helps to clarify!

     

    Best,

    Brian

    CynicadeAuthor
    Contributor I
    May 17, 2023

    Thanks Brian!