Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAudienceSegment

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

Custom audience segment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomAudienceSegment

Returns a new instance of GoogleAdsSearchads360V23CommonCustomAudienceSegment.



3187
3188
3189
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3187

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

Instance Attribute Details

#custom_audienceString

The custom audience resource. Corresponds to the JSON property customAudience

Returns:

  • (String)


3185
3186
3187
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3185

def custom_audience
  @custom_audience
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3192
3193
3194
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3192

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