Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAudienceCompositionSection

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

Overview

A collection of related attributes of the same type in an audience composition insights report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesAudienceCompositionSection

Returns a new instance of GoogleAdsSearchads360V23ServicesAudienceCompositionSection.



37424
37425
37426
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37424

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

Instance Attribute Details

#clustered_attributesArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAudienceCompositionAttributeCluster>

Additional attributes for this audience, grouped into clusters. Only populated if dimension is YOUTUBE_CHANNEL. Corresponds to the JSON property clusteredAttributes



37411
37412
37413
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37411

def clustered_attributes
  @clustered_attributes
end

#dimensionString

The type of the attributes in this section. Corresponds to the JSON property dimension

Returns:

  • (String)


37416
37417
37418
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37416

def dimension
  @dimension
end

#top_attributesArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAudienceCompositionAttribute>

The most relevant segments for this audience. If dimension is GENDER, AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. Corresponds to the JSON property topAttributes



37422
37423
37424
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37422

def top_attributes
  @top_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37429
37430
37431
37432
37433
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37429

def update!(**args)
  @clustered_attributes = args[:clustered_attributes] if args.key?(:clustered_attributes)
  @dimension = args[:dimension] if args.key?(:dimension)
  @top_attributes = args[:top_attributes] if args.key?(:top_attributes)
end