NEWS


rlinkedinads 0.2.0.9000

rlinkedinads 0.2.0 (2024-01-29)

Old example (using facets):

report <- lkd_get_ads_analytics(
  pivot = 'CAMPAIGN',
  date_from = '2023-09-01',
  date_to = '2023-09-30',
  time_granularity = 'DAILY',
  fields = c(
    'pivotValues',
    'dateRange',
    'clicks',
    'impressions',
    'dateRange',
    'costInUsd',
    'oneClickLeads',
    'externalWebsiteConversions'
  ),
  facets = list(
    accounts = 'urn:li:sponsoredAccount:511009658',
    campaigns = "urn:li:sponsoredCampaign:253102116",
    campaigns = "urn:li:sponsoredCampaign:229686963"
  )
)

New example (using ...):

report <- lkd_get_ads_analytics2(
  pivot            = 'CAMPAIGN',
  date_from        = '2023-09-01',
  date_to          = '2023-09-30',
  time_granularity = 'DAILY',
  fields           = c(
    'pivotValues',
    'dateRange',
    'clicks',
    'impressions',
    'dateRange',
    'costInUsd',
    'oneClickLeads',
    'externalWebsiteConversions'
  ),
  accounts  = 'urn:li:sponsoredAccount:511009658', 
  campaigns = c(
    'urn:li:sponsoredCampaign:253102116', 
    'urn:li:sponsoredCampaign:276103383'
    )
)

rlinkedinads 0.1.3 (2024-01-09)

rlinkedinads 0.1.2 (2023-11-10)

rlinkedinads 0.1.1

rlinkedinads 0.1.0