Class: Google::Apis::DisplayvideoV3::AdGroup
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::AdGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
A single ad group associated with a line item.
Instance Attribute Summary collapse
-
#ad_group_format ⇒ String
The format of the ads in the ad group.
-
#ad_group_id ⇒ Fixnum
The unique ID of the ad group.
-
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad group belongs to.
-
#bid_strategy ⇒ Google::Apis::DisplayvideoV3::BiddingStrategy
Settings that control the bid strategy.
-
#display_name ⇒ String
The display name of the ad group.
-
#entity_status ⇒ String
Controls whether or not the ad group can spend its budget and bid on inventory.
-
#line_item_id ⇒ Fixnum
The unique ID of the line item that the ad group belongs to.
-
#name ⇒ String
The resource name of the ad group.
-
#product_feed_data ⇒ Google::Apis::DisplayvideoV3::ProductFeedData
The details of product feed.
-
#targeting_expansion ⇒ Google::Apis::DisplayvideoV3::TargetingExpansionConfig
Settings that control the optimized targeting settings of the line item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdGroup
constructor
A new instance of AdGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdGroup
Returns a new instance of AdGroup.
134 135 136 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_format ⇒ String
The format of the ads in the ad group.
Corresponds to the JSON property adGroupFormat
83 84 85 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 83 def ad_group_format @ad_group_format end |
#ad_group_id ⇒ Fixnum
The unique ID of the ad group. Assigned by the system.
Corresponds to the JSON property adGroupId
88 89 90 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 88 def ad_group_id @ad_group_id end |
#advertiser_id ⇒ Fixnum
The unique ID of the advertiser the ad group belongs to.
Corresponds to the JSON property advertiserId
93 94 95 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 93 def advertiser_id @advertiser_id end |
#bid_strategy ⇒ Google::Apis::DisplayvideoV3::BiddingStrategy
Settings that control the bid strategy. Bid strategy determines the bid price.
Corresponds to the JSON property bidStrategy
98 99 100 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 98 def bid_strategy @bid_strategy end |
#display_name ⇒ String
The display name of the ad group. Must be UTF-8 encoded with a maximum size of
255 bytes.
Corresponds to the JSON property displayName
104 105 106 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 104 def display_name @display_name end |
#entity_status ⇒ String
Controls whether or not the ad group can spend its budget and bid on inventory.
If the ad group's parent line item is not active, the ad group can't spend
its budget even if its own status is ENTITY_STATUS_ACTIVE
.
Corresponds to the JSON property entityStatus
111 112 113 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 111 def entity_status @entity_status end |
#line_item_id ⇒ Fixnum
The unique ID of the line item that the ad group belongs to.
Corresponds to the JSON property lineItemId
116 117 118 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 116 def line_item_id @line_item_id end |
#name ⇒ String
The resource name of the ad group.
Corresponds to the JSON property name
121 122 123 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 121 def name @name end |
#product_feed_data ⇒ Google::Apis::DisplayvideoV3::ProductFeedData
The details of product feed.
Corresponds to the JSON property productFeedData
126 127 128 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 126 def product_feed_data @product_feed_data end |
#targeting_expansion ⇒ Google::Apis::DisplayvideoV3::TargetingExpansionConfig
Settings that control the optimized targeting settings of the line item.
Corresponds to the JSON property targetingExpansion
132 133 134 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 132 def targeting_expansion @targeting_expansion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 139 def update!(**args) @ad_group_format = args[:ad_group_format] if args.key?(:ad_group_format) @ad_group_id = args[:ad_group_id] if args.key?(:ad_group_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @bid_strategy = args[:bid_strategy] if args.key?(:bid_strategy) @display_name = args[:display_name] if args.key?(:display_name) @entity_status = args[:entity_status] if args.key?(:entity_status) @line_item_id = args[:line_item_id] if args.key?(:line_item_id) @name = args[:name] if args.key?(:name) @product_feed_data = args[:product_feed_data] if args.key?(:product_feed_data) @targeting_expansion = args[:targeting_expansion] if args.key?(:targeting_expansion) end |