Class: Google::Apis::DisplayvideoV2::IdFilter
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::IdFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
A filtering option that filters entities by their entity IDs.
Instance Attribute Summary collapse
-
#ad_group_ad_ids ⇒ Array<Fixnum>
YouTube Ads to download by ID.
-
#ad_group_ids ⇒ Array<Fixnum>
YouTube Ad Groups to download by ID.
-
#campaign_ids ⇒ Array<Fixnum>
Campaigns to download by ID.
-
#insertion_order_ids ⇒ Array<Fixnum>
Insertion Orders to download by ID.
-
#line_item_ids ⇒ Array<Fixnum>
Line Items to download by ID.
-
#media_product_ids ⇒ Array<Fixnum>
Media Products to download by ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdFilter
constructor
A new instance of IdFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdFilter
Returns a new instance of IdFilter.
6254 6255 6256 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_ad_ids ⇒ Array<Fixnum>
YouTube Ads to download by ID. All IDs must belong to the same Advertiser or
Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property adGroupAdIds
6222 6223 6224 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6222 def ad_group_ad_ids @ad_group_ad_ids end |
#ad_group_ids ⇒ Array<Fixnum>
YouTube Ad Groups to download by ID. All IDs must belong to the same
Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property adGroupIds
6228 6229 6230 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6228 def ad_group_ids @ad_group_ids end |
#campaign_ids ⇒ Array<Fixnum>
Campaigns to download by ID. All IDs must belong to the same Advertiser or
Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property campaignIds
6234 6235 6236 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6234 def campaign_ids @campaign_ids end |
#insertion_order_ids ⇒ Array<Fixnum>
Insertion Orders to download by ID. All IDs must belong to the same Advertiser
or Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property insertionOrderIds
6240 6241 6242 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6240 def insertion_order_ids @insertion_order_ids end |
#line_item_ids ⇒ Array<Fixnum>
Line Items to download by ID. All IDs must belong to the same Advertiser or
Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property lineItemIds
6246 6247 6248 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6246 def line_item_ids @line_item_ids end |
#media_product_ids ⇒ Array<Fixnum>
Media Products to download by ID. All IDs must belong to the same Advertiser
or Partner specified in CreateSdfDownloadTaskRequest.
Corresponds to the JSON property mediaProductIds
6252 6253 6254 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6252 def media_product_ids @media_product_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6259 6260 6261 6262 6263 6264 6265 6266 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 6259 def update!(**args) @ad_group_ad_ids = args[:ad_group_ad_ids] if args.key?(:ad_group_ad_ids) @ad_group_ids = args[:ad_group_ids] if args.key?(:ad_group_ids) @campaign_ids = args[:campaign_ids] if args.key?(:campaign_ids) @insertion_order_ids = args[:insertion_order_ids] if args.key?(:insertion_order_ids) @line_item_ids = args[:line_item_ids] if args.key?(:line_item_ids) @media_product_ids = args[:media_product_ids] if args.key?(:media_product_ids) end |