# install.packages("remotes")
remotes::install_github("favstats/metatargetr")
Source:
vignettes/introduction.qmd
Introduction to metatargetr
Overview
metatargetr is an R package designed to parse and analyze targeting information from the Meta Ad Library dataset and retrieve data from the Audience tab. It provides tools for working with Meta ad library data and includes integration with the Google Transparency Report.
Installation
You can install the development version of metatargetr from GitHub:
Basic Usage
First, load the package:
library(metatargetr)
#> Error in get(paste0(generic, ".", class), envir = get_method_env()) :
#> object 'type_sum.accel' not found
The package provides several core functions:
-
get_targeting()
: Retrieve recent targeting data -
get_targeting_db()
: Access historical targeting data -
get_page_insights()
: Get page information -
get_ad_snapshots()
: Download ad creatives -
ggl_get_spending()
: Access Google Transparency Report data
Each of these functions is documented in detail in the following sections.