Learn R Programming

rappleads (version 0.1.3)

apl_get_ad_report: Get Ad-Level Reports

Description

Get Ad-Level Reports

Usage

apl_get_ad_report(
  org_id = apl_get_me_details()$parentOrgId,
  campaign_id = apl_get_campaigns()$id,
  start_date = Sys.Date() - 8,
  end_date = Sys.Date() - 1,
  group_by = NULL,
  granularity = c("DAILY", "HOURLY", "WEEKLY", "MONTHLY")
)

Value

tibble ad report

Arguments

org_id

The value is your orgId.

campaign_id

The unique identifier for the campaign.

start_date

Start reporting date

end_date

End reporting date

group_by

Use the groupBy field to group responses by selected dimensions. If groupBy specifies age, gender, and geodimensions

granularity

The report data organized by hour, day, week, and month.