Class: Google::Apis::DisplayvideoV3::IdFilter

Inherits:
Object
  • Object
show all
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 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.



7070
7071
7072
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7070

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>)


7025
7026
7027
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7025

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>)


7031
7032
7033
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7031

def ad_group_ids
  @ad_group_ids
end

#ad_group_qa_idsArray<Fixnum>

Optional. YouTube Ad Groups, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Corresponds to the JSON property adGroupQaIds

Returns:

  • (Array<Fixnum>)


7038
7039
7040
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7038

def ad_group_qa_ids
  @ad_group_qa_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>)


7044
7045
7046
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7044

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>)


7050
7051
7052
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7050

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>)


7056
7057
7058
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7056

def line_item_ids
  @line_item_ids
end

#line_item_qa_idsArray<Fixnum>

Optional. Line Items, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Corresponds to the JSON property lineItemQaIds

Returns:

  • (Array<Fixnum>)


7062
7063
7064
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7062

def line_item_qa_ids
  @line_item_qa_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>)


7068
7069
7070
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7068

def media_product_ids
  @media_product_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 7075

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)
  @ad_group_qa_ids = args[:ad_group_qa_ids] if args.key?(:ad_group_qa_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)
  @line_item_qa_ids = args[:line_item_qa_ids] if args.key?(:line_item_qa_ids)
  @media_product_ids = args[:media_product_ids] if args.key?(:media_product_ids)
end