Class: Google::Apis::DoubleclickbidmanagerV1::DownloadRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb

Overview

Request to fetch stored inventory sources, campaigns, insertion orders, line items, TrueView ad groups and ads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DownloadRequest

Returns a new instance of DownloadRequest



118
119
120
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 118

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#file_typesArray<String>

File types that will be returned. Acceptable values are:

  • "AD"
  • "AD_GROUP"
  • "CAMPAIGN"
  • "INSERTION_ORDER"
  • "LINE_ITEM"
  • "INVENTORY_SOURCE" Corresponds to the JSON property fileTypes

Returns:

  • (Array<String>)


99
100
101
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 99

def file_types
  @file_types
end

#filter_idsArray<Fixnum>

The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified. Corresponds to the JSON property filterIds

Returns:

  • (Array<Fixnum>)


105
106
107
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 105

def filter_ids
  @filter_ids
end

#filter_typeString

Filter type used to filter entities to fetch. Corresponds to the JSON property filterType

Returns:

  • (String)


110
111
112
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 110

def filter_type
  @filter_type
end

#versionString

SDF Version (column names, types, order) in which the entities will be returned. Default to 3.1. Corresponds to the JSON property version

Returns:

  • (String)


116
117
118
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 116

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



123
124
125
126
127
128
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 123

def update!(**args)
  @file_types = args[:file_types] if args.key?(:file_types)
  @filter_ids = args[:filter_ids] if args.key?(:filter_ids)
  @filter_type = args[:filter_type] if args.key?(:filter_type)
  @version = args[:version] if args.key?(:version)
end