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.



3247
3248
3249
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3247

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

Instance Attribute Details

#custom_audienceString

The custom audience resource. Corresponds to the JSON property customAudience

Returns:

  • (String)


3245
3246
3247
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3245

def custom_audience
  @custom_audience
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3252
3253
3254
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3252

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