Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceSegment
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAudienceSegment
- 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
Positive audience segment.
Instance Attribute Summary collapse
-
#custom_audience ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAudienceSegment
Custom audience segment.
-
#detailed_demographic ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDetailedDemographicSegment
Detailed demographic segment.
-
#life_event ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifeEventSegment
Live event segment.
-
#user_interest ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserInterestSegment
User interest segment.
-
#user_list ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListSegment
User list segment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceSegment
constructor
A new instance of GoogleAdsSearchads360V23CommonAudienceSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAudienceSegment
Returns a new instance of GoogleAdsSearchads360V23CommonAudienceSegment.
1808 1809 1810 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_audience ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAudienceSegment
Custom audience segment.
Corresponds to the JSON property customAudience
1786 1787 1788 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1786 def custom_audience @custom_audience end |
#detailed_demographic ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDetailedDemographicSegment
Detailed demographic segment.
Corresponds to the JSON property detailedDemographic
1791 1792 1793 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1791 def detailed_demographic @detailed_demographic end |
#life_event ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifeEventSegment
Live event segment.
Corresponds to the JSON property lifeEvent
1796 1797 1798 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1796 def life_event @life_event end |
#user_interest ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserInterestSegment
User interest segment.
Corresponds to the JSON property userInterest
1801 1802 1803 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1801 def user_interest @user_interest end |
#user_list ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListSegment
User list segment.
Corresponds to the JSON property userList
1806 1807 1808 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1806 def user_list @user_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1813 def update!(**args) @custom_audience = args[:custom_audience] if args.key?(:custom_audience) @detailed_demographic = args[:detailed_demographic] if args.key?(:detailed_demographic) @life_event = args[:life_event] if args.key?(:life_event) @user_interest = args[:user_interest] if args.key?(:user_interest) @user_list = args[:user_list] if args.key?(:user_list) end |