powered by
Get Campaign-Level Reports
apl_get_campaign_report( org_id = apl_get_me_details()$parentOrgId, start_date = Sys.Date() - 8, end_date = Sys.Date() - 1, group_by = NULL, granularity = c("DAILY", "HOURLY", "WEEKLY", "MONTHLY") )
tibble with report data
The value is your orgId.
Start reporting date
End reporting date
Use the groupBy field to group responses by selected dimensions. If groupBy specifies age, gender, and geodimensions
The report data organized by hour, day, week, and month.
if (FALSE) { camp_rep <- apl_get_campaign_report( org_id = 2623170, start_date = '2025-07-20', end_date = '2025-07-26', group_by = 'countryOrRegion' ) }
Run the code above in your browser using DataLab