Class: Google::Apis::DisplayvideoV1::IdFilter

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

Overview

A filtering option that filters entities by their entity IDs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IdFilter

Returns a new instance of IdFilter.



4548
4549
4550
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4548

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

Instance Attribute Details

#ad_group_ad_idsArray<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

Returns:

  • (Array<Fixnum>)


4516
4517
4518
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4516

def ad_group_ad_ids
  @ad_group_ad_ids
end

#ad_group_idsArray<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

Returns:

  • (Array<Fixnum>)


4522
4523
4524
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4522

def ad_group_ids
  @ad_group_ids
end

#campaign_idsArray<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

Returns:

  • (Array<Fixnum>)


4528
4529
4530
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4528

def campaign_ids
  @campaign_ids
end

#insertion_order_idsArray<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

Returns:

  • (Array<Fixnum>)


4534
4535
4536
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4534

def insertion_order_ids
  @insertion_order_ids
end

#line_item_idsArray<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

Returns:

  • (Array<Fixnum>)


4540
4541
4542
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4540

def line_item_ids
  @line_item_ids
end

#media_product_idsArray<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

Returns:

  • (Array<Fixnum>)


4546
4547
4548
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4546

def media_product_ids
  @media_product_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4553
4554
4555
4556
4557
4558
4559
4560
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4553

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