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.


3402
3403
3404
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3402

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


3390
3391
3392
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3390

def dimensions
  @dimensions
end

#weekly_impressionsFixnum

Publisher provided weekly impressions. Corresponds to the JSON property weeklyImpressions

Returns:

  • (Fixnum)

3395
3396
3397
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3395

def weekly_impressions
  @weekly_impressions
end

#weekly_uniquesFixnum

Publisher provided weekly uniques. Corresponds to the JSON property weeklyUniques

Returns:

  • (Fixnum)

3400
3401
3402
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3400

def weekly_uniques
  @weekly_uniques
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3407
3408
3409
3410
3411
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 3407

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