getData function

Get Adwords Data

Get Adwords Data

getData posts the Adwords Query Language (awql) Statement which is generated with statement. The data are retrieved from the Adwords API as a dataframe.

getData(clientCustomerId, google_auth, statement, apiVersion = "201809", transformation = TRUE, changeNames = TRUE, includeZeroImpressions = FALSE, verbose = FALSE)

Arguments

  • clientCustomerId: Adwords Account Id
  • google_auth: list of authentication
  • statement: awql statement generated with statement.
  • apiVersion: supports 201809, 201806, 201802 defaults to 201806.
  • transformation: If TRUE, data will be transformed with transformData into suitable R dataframe. Else, the data are returned in raw format.
  • changeNames: If TRUE, the display names of the transformed data are converted into more nicer/practical names. Requires transformation = TRUE
  • includeZeroImpressions: If TRUE zero impressions will be included. Defaults to FALSE.
  • verbose: Defaults to FALSE. If TRUE, the curl connection output will be printed.

Returns

Dataframe with the Adwords Data.