Google Tag Manager

Forum Discussion

pedro_rodrigues's avatar
pedro_rodrigues
Active Member
3 months ago

Is there a way to export audience data from a campaign?

Hello everyone!

Is there any way to export the data of the Audience Settings from a campaign such as highlighted in the screenshot bellow? I would like to access this information for all campaigns using the Braze API.

I found information about the campaigns (https://www.braze.com/docs/api/endpoints/export/campaigns/get_campaign_details) and segments (https://www.braze.com/docs/api/endpoints/export/segments/get_segment_details), but neither of these endpoints provide any information about the audiences or the relations between segments and campaigns.

 

  • rayelkho's avatar
    rayelkho
    Practitioner III

    Hi pedro_rodrigues

    You'd have to configure it as a canvas and you can get entry / exit segments

    "entry_criteria": { "segment_id": "new_users_segment" }, "exit_criteria": { "event_name": "completed_profile" }

  • rayelkho's avatar
    rayelkho
    Practitioner III

    Not sure why it cut out part of my response, but this data is not available via Braze APIs. Closest thing would be the canvas/export details endpoint.

    • pedro_rodrigues's avatar
      pedro_rodrigues
      Active Member

      Many thanks for the answer, Rayelkho, I will see if this solution works for my use case!