powered by
fetch_bingads A function to fetch bing Ads data from the windsor.ai API
fetch_bingads( api_key, date_from = NULL, date_to = NULL, fields = c("campaign", "clicks", "spend", "impressions", "date") )
A data frame with the desired data
Your api key to access Windsor.ai API
The date from which to start getting data in format YYYY-MM-DD
The date until which to start getting data in format YYYY-MM-DD
he fields fetched from the API for a given connector See https://windsor.ai/api-fields/ for details.
if (FALSE) { my_bingads_data <- fetch_bingads(api_key = "your api key", date_from = "2022-10-01", date_to = "2022-10-02", fields = c("campaign", "clicks", "spend", "impressions", "date")) }
Run the code above in your browser using DataLab