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.



37289
37290
37291
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37289

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



37276
37277
37278
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37276

def clustered_attributes
  @clustered_attributes
end

#dimensionString

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

Returns:

  • (String)


37281
37282
37283
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37281

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



37287
37288
37289
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37287

def top_attributes
  @top_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37294
37295
37296
37297
37298
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37294

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