Class: Google::Apis::RealtimebiddingV1::AdvertiserAndBrand
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::AdvertiserAndBrand
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/google/apis/realtimebidding_v1/representations.rb
Overview
Detected advertiser and brand information.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
See https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt for the list of possible values.
-
#advertiser_name ⇒ String
Advertiser name.
-
#brand_id ⇒ Fixnum
Detected brand ID or zero if no brand has been detected.
-
#brand_name ⇒ String
Brand name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvertiserAndBrand
constructor
A new instance of AdvertiserAndBrand.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvertiserAndBrand
Returns a new instance of AdvertiserAndBrand.
166 167 168 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
See https://storage.googleapis.com/adx-rtb-dictionaries/advertisers.txt for
the list of possible values. Can be used to filter the response of the
creatives.list method.
Corresponds to the JSON property advertiserId
146 147 148 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 146 def advertiser_id @advertiser_id end |
#advertiser_name ⇒ String
Advertiser name. Can be used to filter the response of the creatives.list
method.
Corresponds to the JSON property advertiserName
152 153 154 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 152 def advertiser_name @advertiser_name end |
#brand_id ⇒ Fixnum
Detected brand ID or zero if no brand has been detected. See https://storage.
googleapis.com/adx-rtb-dictionaries/brands.txt for the list of possible values.
Can be used to filter the response of the creatives.list method.
Corresponds to the JSON property brandId
159 160 161 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 159 def brand_id @brand_id end |
#brand_name ⇒ String
Brand name. Can be used to filter the response of the creatives.list method.
Corresponds to the JSON property brandName
164 165 166 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 164 def brand_name @brand_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
171 172 173 174 175 176 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 171 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) @brand_id = args[:brand_id] if args.key?(:brand_id) @brand_name = args[:brand_name] if args.key?(:brand_name) end |