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.
1868 1869 1870 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_audience ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomAudienceSegment
Custom audience segment.
Corresponds to the JSON property customAudience
1846 1847 1848 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1846 def custom_audience @custom_audience end |
#detailed_demographic ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDetailedDemographicSegment
Detailed demographic segment.
Corresponds to the JSON property detailedDemographic
1851 1852 1853 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1851 def detailed_demographic @detailed_demographic end |
#life_event ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifeEventSegment
Live event segment.
Corresponds to the JSON property lifeEvent
1856 1857 1858 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1856 def life_event @life_event end |
#user_interest ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserInterestSegment
User interest segment.
Corresponds to the JSON property userInterest
1861 1862 1863 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1861 def user_interest @user_interest end |
#user_list ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserListSegment
User list segment.
Corresponds to the JSON property userList
1866 1867 1868 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1866 def user_list @user_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1873 1874 1875 1876 1877 1878 1879 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1873 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 |