class Google::Apis::DoubleclicksearchV2::Report

A DoubleClick Search report. This object contains the report request, some report metadata such as currency code, and the generated report rows or report files.

Attributes

files[RW]

Asynchronous report only. Contains a list of generated report files once the report has successfully completed. Corresponds to the JSON property `files` @return [Array<Google::Apis::DoubleclicksearchV2::Report::File>]

id[RW]

Asynchronous report only. Id of the report. Corresponds to the JSON property `id` @return [String]

is_report_ready[RW]

Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. Corresponds to the JSON property `isReportReady` @return [Boolean]

is_report_ready?[RW]

Asynchronous report only. True if and only if the report has completed successfully and the report files are ready to be downloaded. Corresponds to the JSON property `isReportReady` @return [Boolean]

kind[RW]

Identifies this as a Report resource. Value: the fixed string ` doubleclicksearch#report`. Corresponds to the JSON property `kind` @return [String]

request[RW]

A request object used to create a DoubleClick Search report. Corresponds to the JSON property `request` @return [Google::Apis::DoubleclicksearchV2::ReportRequest]

row_count[RW]

The number of report rows generated by the report, not including headers. Corresponds to the JSON property `rowCount` @return [Fixnum]

rows[RW]

Synchronous report only. Generated report rows. Corresponds to the JSON property `rows` @return [Array<Hash<String,Object>>]

statistics_currency_code[RW]

The currency code of all monetary values produced in the report, including values that are set by users (e.g., keyword bid settings) and metrics (e.g., cost and revenue). The currency code of a report is determined by the ` statisticsCurrency` field of the report request. Corresponds to the JSON property `statisticsCurrencyCode` @return [String]

statistics_time_zone[RW]

If all statistics of the report are sourced from the same time zone, this would be it. Otherwise the field is unset. Corresponds to the JSON property `statisticsTimeZone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/doubleclicksearch_v2/classes.rb, line 446
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/doubleclicksearch_v2/classes.rb, line 451
def update!(**args)
  @files = args[:files] if args.key?(:files)
  @id = args[:id] if args.key?(:id)
  @is_report_ready = args[:is_report_ready] if args.key?(:is_report_ready)
  @kind = args[:kind] if args.key?(:kind)
  @request = args[:request] if args.key?(:request)
  @row_count = args[:row_count] if args.key?(:row_count)
  @rows = args[:rows] if args.key?(:rows)
  @statistics_currency_code = args[:statistics_currency_code] if args.key?(:statistics_currency_code)
  @statistics_time_zone = args[:statistics_time_zone] if args.key?(:statistics_time_zone)
end