Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceInfo

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

An audience criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceInfo

Returns a new instance of GoogleAdsSearchads360V23CommonAudienceInfo.



1495
1496
1497
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1495

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

Instance Attribute Details

#audienceString

The Audience resource name. Corresponds to the JSON property audience

Returns:

  • (String)


1493
1494
1495
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1493

def audience
  @audience
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1500
1501
1502
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1500

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