Learn R Programming

linkedInadsR (version 0.1.0)

fetch_linkedInads: fetch_linkedInads A function to fetch LinkedIn Ads data from the windsor.ai API

Description

fetch_linkedInads A function to fetch LinkedIn Ads data from the windsor.ai API

Usage

fetch_linkedInads(
  api_key,
  date_from = NULL,
  date_to = NULL,
  fields = c("campaign", "clicks", "spend", "impressions", "date")
)

Value

A data frame with the desired data

Arguments

api_key

Your api key to access Windsor.ai API

date_from

The date from which to start getting data in format YYYY-MM-DD

date_to

The date until which to start getting data in format YYYY-MM-DD

fields

he fields fetched from the API for a given connector See https://www.windsor.ai/api-fields/ for details.