Learn R Programming

rappleads (version 0.1.3)

apl_get_ad_group_report: Get Ad Group-Level Reports

Description

Get Ad Group-Level Reports

Usage

apl_get_ad_group_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 with ad group 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.

Examples

Run this code
if (FALSE) {
adgr_rep <- apl_get_ad_group_report()
}

Run the code above in your browser using DataLab