Class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast

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

Overview

This message carries publisher provided forecasting information.

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) ⇒ PublisherProvidedForecast

Returns a new instance of PublisherProvidedForecast



3347
3348
3349
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3347

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

Instance Attribute Details

#dimensionsArray<Google::Apis::AdexchangebuyerV1_4::Dimension>

Publisher provided dimensions. E.g. geo, sizes etc... Corresponds to the JSON property dimensions



3335
3336
3337
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3335

def dimensions
  @dimensions
end

#weekly_impressionsFixnum

Publisher provided weekly impressions. Corresponds to the JSON property weeklyImpressions

Returns:

  • (Fixnum)


3340
3341
3342
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3340

def weekly_impressions
  @weekly_impressions
end

#weekly_uniquesFixnum

Publisher provided weekly uniques. Corresponds to the JSON property weeklyUniques

Returns:

  • (Fixnum)


3345
3346
3347
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3345

def weekly_uniques
  @weekly_uniques
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3352
3353
3354
3355
3356
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3352

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @weekly_impressions = args[:weekly_impressions] if args.key?(:weekly_impressions)
  @weekly_uniques = args[:weekly_uniques] if args.key?(:weekly_uniques)
end