{
  "_id": "6ac8cf54de46216d5edd7a92",
  "Package": "metatargetr",
  "Title": "Retrieve and Parse Meta Ad Targeting Data",
  "Version": "0.0.11",
  "Authors@R": "c(person(\"Fabio\", \"Votta\", , \"first.last@example.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"YOUR-ORCID-ID\")),\nperson(\"Philipp\", \"Mendoza\", , \"first.last@example.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"YOUR-ORCID-ID\")))",
  "Description": "The metatargetr package provides tools for retrieving,\nparsing, and analyzing advertising targeting data from Meta’s\nAd Library and Audience Tab.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/favstats/metatargetr",
  "BugReports": "https://github.com/favstats/metatargetr/issues",
  "Config/pak/sysreqs": "chromium cmake git make libicu-dev libxml2-dev\nlibssl-dev libx11-dev",
  "Repository": "https://favstats.r-universe.dev",
  "Date/Publication": "2026-09-09 08:22:56 UTC",
  "RemoteUrl": "https://github.com/favstats/metatargetr",
  "RemoteRef": "HEAD",
  "RemoteSha": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 10:46:50 UTC",
    "User": "root"
  },
  "Author": "Fabio Votta [aut, cre] (ORCID: YOUR-ORCID-ID),\nPhilipp Mendoza [aut] (ORCID: YOUR-ORCID-ID)",
  "Maintainer": "Fabio Votta <first.last@example.com>",
  "_user": "favstats",
  "_type": "src",
  "_file": "metatargetr_0.0.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/14972e5177a5f639101266a9e27e6fdb1bab22173a4d6c499f35a6a2a4941866",
  "_filesize": 2715945,
  "_sha256": "14972e5177a5f639101266a9e27e6fdb1bab22173a4d6c499f35a6a2a4941866",
  "_expires": "2027-01-17T11:26:10.000Z",
  "_created": "2026-10-09T10:46:50.000Z",
  "_published": "2026-10-09T11:26:12.749Z",
  "_buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113784488470,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11610039802"
    },
    {
      "job": 113784488332,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11611635260"
    },
    {
      "job": 113784488376,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11611574683"
    },
    {
      "job": 113784488466,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11613246437"
    },
    {
      "job": 113783210090,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11611099519"
    },
    {
      "job": 113784488383,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11610259479"
    },
    {
      "job": 113784488542,
      "time": 70,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11610949889"
    },
    {
      "job": 113784488455,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11611595179"
    },
    {
      "job": 113784488674,
      "time": 120,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11610264473"
    }
  ],
  "_upstream": "https://github.com/favstats/metatargetr",
  "_commit": {
    "id": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
    "author": "favstats <fabio.votta@gmail.com>",
    "committer": "favstats <fabio.votta@gmail.com>",
    "message": "Fail loudly if GitHub's release markup changes again\n\nparse_release_assets() returned an empty result when it could not find any\ndownload links, which is how the August 2026 markup change became a nine-day\noutage instead of a red build: callers went on to construct a download URL\nwith an empty filename and 404.\n\nA release page always carries two non-asset \"Source code\" rows, so more rows\nthan that with no download link among them means the selector no longer\nmatches. Say so.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1788942176
  },
  "_maintainer": {
    "name": "Fabio Votta",
    "email": "first.last@example.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "vroom",
      "role": "Imports"
    },
    {
      "package": "pacman",
      "role": "Imports"
    },
    {
      "package": "chromote",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    }
  ],
  "_owner": "favstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.0.10",
      "date": "2026-02-27"
    }
  ],
  "_stars": 44,
  "_contributors": [
    {
      "user": "favstats",
      "count": 78,
      "uuid": 12173862
    },
    {
      "user": "pmmendoza",
      "count": 9,
      "uuid": 55582204
    },
    {
      "user": "gehaustein",
      "count": 1,
      "uuid": 87439723
    }
  ],
  "_userbio": {
    "uuid": 12173862,
    "type": "user",
    "name": "Fabio Votta",
    "followers": 354,
    "description": "R User | Political Data Scientist | \r\n@r-user-group-stuttgart with @systats "
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metatargetr"
  },
  "_devurl": "https://github.com/favstats/metatargetr",
  "_searchresults": 53,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/metatargetr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "browser_close",
    "browser_session_active",
    "browser_session_close",
    "browser_session_restart",
    "browser_session_start",
    "download_media",
    "find_name",
    "fix_json",
    "get_ad_html",
    "get_ad_library_page_id",
    "get_ad_report",
    "get_ad_snapshots",
    "get_additional_page_info_db",
    "get_deeplink",
    "get_ggl_ads",
    "get_linkedin_ads",
    "get_page_info_db",
    "get_page_insights",
    "get_report_db",
    "get_targeting",
    "get_targeting_db",
    "get_targeting_metadata",
    "ggl_get_spending",
    "map_dfr_progress",
    "parse_linkedin_ads_details",
    "parse_location",
    "search_ad_library",
    "set_metatargetr_options",
    "set_renv",
    "setup_playwright",
    "stupid_conversion",
    "unnest_and_fix_dups",
    "walk_progress"
  ],
  "_help": [
    {
      "page": "aggr_targeting",
      "title": "Aggregate a Pre-Combined Targeting Dataset",
      "topics": [
        "aggr_targeting"
      ]
    },
    {
      "page": "browser_close",
      "title": "Closes a Playwright browser instance",
      "topics": [
        "browser_close"
      ]
    },
    {
      "page": "browser_session_active",
      "title": "Check if a persistent browser session is active",
      "topics": [
        "browser_session_active"
      ]
    },
    {
      "page": "browser_session_close",
      "title": "Close the persistent browser session",
      "topics": [
        "browser_session_close"
      ]
    },
    {
      "page": "browser_session_restart",
      "title": "Restart the persistent browser session",
      "topics": [
        "browser_session_restart"
      ]
    },
    {
      "page": "browser_session_start",
      "title": "Start a persistent browser session",
      "topics": [
        "browser_session_start"
      ]
    },
    {
      "page": "check_hash",
      "title": "Check hash of a media file",
      "topics": [
        "check_hash"
      ]
    },
    {
      "page": "create_necessary_dirs",
      "title": "Create necessary directories",
      "topics": [
        "create_necessary_dirs"
      ]
    },
    {
      "page": "detectmysnap",
      "title": "Detect and parse the snapshot JSON from a Facebook Ad Library script tag",
      "topics": [
        "detectmysnap"
      ]
    },
    {
      "page": "detectmysnap_dep",
      "title": "Detect the JSON code on Facebook ad websites",
      "topics": [
        "detectmysnap_dep"
      ]
    },
    {
      "page": "download_media",
      "title": "Download media files and potentially hash them",
      "topics": [
        "download_media"
      ]
    },
    {
      "page": "download_media_int",
      "title": "Download media files with specified IDs",
      "topics": [
        "download_media_int"
      ]
    },
    {
      "page": "extract_media_urls",
      "title": "Extract media URLs from data",
      "topics": [
        "extract_media_urls"
      ]
    },
    {
      "page": "find_name",
      "title": "Find an object in a nested list by name",
      "topics": [
        "find_name"
      ]
    },
    {
      "page": "fix_json",
      "title": "Parse JSON-formatted strings into named character vectors",
      "topics": [
        "fix_json"
      ]
    },
    {
      "page": "get_ad_html",
      "title": "Fetch Facebook Ad-Library pages (with caching)",
      "topics": [
        "get_ad_html"
      ]
    },
    {
      "page": "get_ad_library_page_id",
      "title": "Resolve Facebook Handles to Ad Library Page IDs",
      "topics": [
        "get_ad_library_page_id"
      ]
    },
    {
      "page": "get_ad_report",
      "title": "Get Facebook Ad Library Report Data",
      "topics": [
        "get_ad_report"
      ]
    },
    {
      "page": "get_ad_snapshots",
      "title": "Get ad snapshots from Facebook Ad Library",
      "topics": [
        "get_ad_snapshots"
      ]
    },
    {
      "page": "get_additional_page_info_db",
      "title": "Get Page Info Dataset for a Specific Country",
      "topics": [
        "get_additional_page_info_db"
      ]
    },
    {
      "page": "get_ads_info",
      "title": "Get and Parse Ad Library Data",
      "topics": [
        "get_ads_info"
      ]
    },
    {
      "page": "get_deeplink",
      "title": "Extract and flatten 'deeplinkAdCard' JSON from a Facebook Ad Library page",
      "topics": [
        "get_deeplink"
      ]
    },
    {
      "page": "get_ggl_ads",
      "title": "Fetch a Google Ads Transparency Report",
      "topics": [
        "get_ggl_ads"
      ]
    },
    {
      "page": "get_linkedin_ads",
      "title": "Retrieve Ad Data from the LinkedIn Ad Library with Pagination",
      "topics": [
        "get_linkedin_ads"
      ]
    },
    {
      "page": "get_page_info_db",
      "title": "Get Page Info Dataset for a Specific Country",
      "topics": [
        "get_page_info_db"
      ]
    },
    {
      "page": "get_page_insights",
      "title": "Get Page Insights",
      "topics": [
        "get_page_insights"
      ]
    },
    {
      "page": "get_report_db",
      "title": "Retrieve Report Data from GitHub Repository",
      "topics": [
        "get_report_db"
      ]
    },
    {
      "page": "get_targeting",
      "title": "Get Meta Ad Library targeting data for a page",
      "topics": [
        "get_targeting"
      ]
    },
    {
      "page": "get_targeting_db",
      "title": "Retrieve Targeting Data from GitHub Repository",
      "topics": [
        "get_targeting_db"
      ]
    },
    {
      "page": "get_targeting_metadata",
      "title": "Retrieve Metadata for Targeting Data",
      "topics": [
        "get_targeting_metadata"
      ]
    },
    {
      "page": "ggl_get_spending",
      "title": "Retrieve Google Ad Spending Data",
      "topics": [
        "ggl_get_spending"
      ]
    },
    {
      "page": "map_dfr_progress",
      "title": "Apply a function to each element of a list with a progress bar",
      "topics": [
        "map_dfr_progress"
      ]
    },
    {
      "page": "parse_linkedin_ads_details",
      "title": "Parse Important Information from an Ad Detail HTML Page",
      "topics": [
        "parse_linkedin_ads_details"
      ]
    },
    {
      "page": "parse_location",
      "title": "Parse Location from Ad Targeting Dataset",
      "topics": [
        "parse_location"
      ]
    },
    {
      "page": "search_ad_library",
      "title": "Search the Facebook Ad Library",
      "topics": [
        "search_ad_library"
      ]
    },
    {
      "page": "set_metatargetr_options",
      "title": "Interactively Set and Save User Settings",
      "topics": [
        "set_metatargetr_options"
      ]
    },
    {
      "page": "stupid_conversion",
      "title": "Convert an entry for an ad into a row in a tibble",
      "topics": [
        "stupid_conversion"
      ]
    },
    {
      "page": "unnest_and_fix_dups",
      "title": "Unnest interest targeting data",
      "topics": [
        "unnest_and_fix_dups"
      ]
    },
    {
      "page": "walk_progress",
      "title": "Walk through a list with a progress bar",
      "topics": [
        "walk_progress"
      ]
    }
  ],
  "_readme": "https://github.com/favstats/metatargetr/raw/HEAD/README.md",
  "_rundeps": [
    "arrow",
    "AsioHeaders",
    "askpass",
    "assertthat",
    "bit",
    "bit64",
    "chromote",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "digest",
    "dplyr",
    "fastmap",
    "generics",
    "glue",
    "hms",
    "httr",
    "httr2",
    "janitor",
    "jsonlite",
    "later",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mime",
    "openssl",
    "otel",
    "pacman",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "progress",
    "promises",
    "ps",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "remotes",
    "rlang",
    "rvest",
    "selectr",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "websocket",
    "withr",
    "xml2",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "google-transparency-report.qmd",
      "filename": "google-transparency-report.html",
      "title": "Google Transparency Report Integration",
      "engine": "quarto::html",
      "headings": [
        "Accessing Google Transparency Data",
        "Time-Based Analysis",
        "Understanding the Metrics"
      ],
      "created": "2024-12-27 12:17:33",
      "modified": "2024-12-27 12:17:33",
      "commits": 1
    },
    {
      "source": "introduction.qmd",
      "filename": "introduction.html",
      "title": "Introduction to metatargetr",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "Installation",
        "Basic Usage"
      ],
      "created": "2024-12-27 12:17:33",
      "modified": "2024-12-27 12:17:33",
      "commits": 1
    },
    {
      "source": "retrieve-historical-data.qmd",
      "filename": "retrieve-historical-data.html",
      "title": "Retrieve Historical Data",
      "engine": "quarto::html",
      "headings": [
        "Accessing Historical Data",
        "Understanding Historical Data",
        "Getting Report Data"
      ],
      "created": "2024-12-27 12:17:33",
      "modified": "2024-12-27 12:17:33",
      "commits": 1
    },
    {
      "source": "retrieve-targeting-metadata.qmd",
      "filename": "retrieve-targeting-metadata.html",
      "title": "Retrieve Targeting Metadata",
      "engine": "quarto::html",
      "headings": [
        "Overview of Targeting Metadata",
        "Basic Usage",
        "Understanding the Output",
        "Using Metadata for Data Validation"
      ],
      "created": "2024-12-27 12:17:33",
      "modified": "2024-12-27 12:17:33",
      "commits": 1
    },
    {
      "source": "retrieving-targeting-data.qmd",
      "filename": "retrieving-targeting-data.html",
      "title": "Retrieving Targeting Data",
      "engine": "quarto::html",
      "headings": [
        "Getting Recent Targeting Data",
        "Understanding the Output",
        "Getting Page Information"
      ],
      "created": "2024-12-27 12:17:33",
      "modified": "2024-12-27 12:17:33",
      "commits": 1
    }
  ],
  "_score": 6.668758541750957,
  "_indexed": true,
  "_nocasepkg": "metatargetr",
  "_universes": [
    "favstats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.11",
      "date": "2026-10-09T10:49:30.000Z",
      "distro": "resolute",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/5ee3d0d64034e0f60114b0de8990525f6310531d51eec08253e91f16593b81b9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.11",
      "date": "2026-10-09T10:49:15.000Z",
      "distro": "resolute",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/0bc2d4603b8085ebb60b3ff92984e1fb00dd1cc302be9e90e36fa2dc6cda4016",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.11",
      "date": "2026-10-09T11:14:30.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/07f7756f3ae44cb66350ab70d92317f64f92c04d03539a52293c29cac37f5fdf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.11",
      "date": "2026-10-09T11:25:44.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/61827a5d81ed7f4a8da75133528414fffba12edb97ab92cf63c963fbc7978d16",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.11",
      "date": "2026-10-09T10:49:28.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/12e936fe4b87deb8d6d0b2678ebb94ce43d9e4c97e51f61b4a5ea8ae45a55ddb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.11",
      "date": "2026-10-09T10:48:19.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/5732d838740cb8e9d5bc6eb73fbe85f55726a5c9209baae00dbe9f04fb4fbad7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.11",
      "date": "2026-10-09T10:48:21.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/c89832e5d7f690d1dc781559a4c7e1d6fd710a1069801b95cf15458635c29d25",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.11",
      "date": "2026-10-09T10:49:03.000Z",
      "commit": "f87ff15f9fefee01d55732b23cd11da71a5bc7ac",
      "fileid": "https://r2.ropensci.org/a4b1c75350393222f5535ff7f3beb33ba817ef5a00481abe2728565e77ab9736",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/favstats/actions/runs/37919299138"
    }
  ]
}