Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAudienceInfo

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 custom audience criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomAudienceInfo

Returns a new instance of GoogleAdsSearchads360V23CommonCustomAudienceInfo.



3168
3169
3170
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3168

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

Instance Attribute Details

#custom_audienceString

The CustomAudience resource name. Corresponds to the JSON property customAudience

Returns:

  • (String)


3166
3167
3168
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3166

def custom_audience
  @custom_audience
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3173
3174
3175
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3173

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