Class: Google::Apis::DisplayvideoV1::AudienceGroupAssignedTargetingOptionDetails

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

Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_AUDIENCE_GROUP. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is UNION'ed with other groups.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AudienceGroupAssignedTargetingOptionDetails

Returns a new instance of AudienceGroupAssignedTargetingOptionDetails.



1056
1057
1058
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1056

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

Instance Attribute Details

#excluded_first_and_third_party_audience_groupGoogle::Apis::DisplayvideoV1::FirstAndThirdPartyAudienceGroup

Details of first and third party audience group. All first and third party audience targeting settings are logically ‘OR’ of each other. Corresponds to the JSON property excludedFirstAndThirdPartyAudienceGroup



1020
1021
1022
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1020

def excluded_first_and_third_party_audience_group
  @excluded_first_and_third_party_audience_group
end

#excluded_google_audience_groupGoogle::Apis::DisplayvideoV1::GoogleAudienceGroup

Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. Corresponds to the JSON property excludedGoogleAudienceGroup



1026
1027
1028
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1026

def excluded_google_audience_group
  @excluded_google_audience_group
end

#included_combined_audience_groupGoogle::Apis::DisplayvideoV1::CombinedAudienceGroup

Details of combined audience group. All combined audience targeting settings are logically ‘OR’ of each other. Corresponds to the JSON property includedCombinedAudienceGroup



1032
1033
1034
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1032

def included_combined_audience_group
  @included_combined_audience_group
end

#included_custom_list_groupGoogle::Apis::DisplayvideoV1::CustomListGroup

Details of custom list group. All custom list targeting settings are logically ‘OR’ of each other. Corresponds to the JSON property includedCustomListGroup



1038
1039
1040
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1038

def included_custom_list_group
  @included_custom_list_group
end

#included_first_and_third_party_audience_groupsArray<Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudienceGroup>

The first and third party audience ids and recencies of included first and third party audience groups. Each first and third party audience group contains first and third party audience ids only. The relation between each first and third party audience group is INTERSECTION, and the result is UNION'ed with other audience groups. Repeated groups with same settings will be ignored. Corresponds to the JSON property includedFirstAndThirdPartyAudienceGroups



1048
1049
1050
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1048

def included_first_and_third_party_audience_groups
  @included_first_and_third_party_audience_groups
end

#included_google_audience_groupGoogle::Apis::DisplayvideoV1::GoogleAudienceGroup

Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. Corresponds to the JSON property includedGoogleAudienceGroup



1054
1055
1056
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1054

def included_google_audience_group
  @included_google_audience_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1061
1062
1063
1064
1065
1066
1067
1068
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1061

def update!(**args)
  @excluded_first_and_third_party_audience_group = args[:excluded_first_and_third_party_audience_group] if args.key?(:excluded_first_and_third_party_audience_group)
  @excluded_google_audience_group = args[:excluded_google_audience_group] if args.key?(:excluded_google_audience_group)
  @included_combined_audience_group = args[:included_combined_audience_group] if args.key?(:included_combined_audience_group)
  @included_custom_list_group = args[:included_custom_list_group] if args.key?(:included_custom_list_group)
  @included_first_and_third_party_audience_groups = args[:included_first_and_third_party_audience_groups] if args.key?(:included_first_and_third_party_audience_groups)
  @included_google_audience_group = args[:included_google_audience_group] if args.key?(:included_google_audience_group)
end