Learn R Programming

adwordsR (version 0.3.1)

getReportData: Retrieve Adwords Data

Description

Retrieve the Adwords Data from the Adwords API

Usage

getReportData(reportType, startDate, endDate, clientCustomerId, credentials,
  attributes = NULL, segment = NULL, metrics = NULL, where = NULL,
  apiVersion = NULL, useRawEnumValues = NULL,
  includeZeroImpressions = NULL, useRequestedHeaders = NULL)

Arguments

reportType

The report being queries.

startDate

The start date for the request.

endDate

The end date for the request.

clientCustomerId

The Client Customer Id to retrieve data for. This should be in the format ("123-456-7890").

credentials

The credentials for accessing the Adwords API.

attributes

The attributes of the report.

segment

The segment of the report.

metrics

The metrics of the report.

where

The conditions of the report. (Optional)

apiVersion

The API version that will be accessed. Defaults to "v201806".

useRawEnumValues

Use specified column headers used with the request, or the Adwords Display Names for column headers. Defaults to TRUE.

includeZeroImpressions

Whether Entries with zero impressions should be included in the data. Defaults to FALSE.

useRequestedHeaders

Use the headers used to retrieve the Adwords data or the Display names.

Value

Returns Data for the requested report.