fb_marketing_code_ga.R

library(fb2ga)

#get fb data

fb_ads <- fbads_builder(ad_account_id,fb_token,start_date,end_date)

#format for upload

fb_ads2 <- fb_ads_ga_format(fb_ads,medium,source)

#upload

fb_ads_ga_upload(fb_ads2,property_id,datasetid)
neugelb/fb2ga documentation built on June 8, 2019, 3:46 a.m.