Class SearchAudience.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder>
com.google.ads.googleads.v23.services.SearchAudience.Builder
All Implemented Interfaces:
SearchAudienceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchAudience

public static final class SearchAudience.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder> implements SearchAudienceOrBuilder
 A collection of audience attributes that describe an audience of viewers.
 This is used to search for topics trending for the defined audience.
 
Protobuf type google.ads.googleads.v23.services.SearchAudience
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder>
    • clear

      public SearchAudience.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder>
    • getDefaultInstanceForType

      public SearchAudience getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SearchAudience build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchAudience buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchAudience.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchAudience.Builder>
    • mergeFrom

      public SearchAudience.Builder mergeFrom(SearchAudience other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SearchAudience.Builder>
    • mergeFrom

      public SearchAudience.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchAudience.Builder>
      Throws:
      IOException
    • getAudienceAttributesList

      public List<AudienceInsightsAttribute> getAudienceAttributesList()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceAttributesList in interface SearchAudienceOrBuilder
    • getAudienceAttributesCount

      public int getAudienceAttributesCount()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceAttributesCount in interface SearchAudienceOrBuilder
    • getAudienceAttributes

      public AudienceInsightsAttribute getAudienceAttributes(int index)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceAttributes in interface SearchAudienceOrBuilder
    • setAudienceAttributes

      public SearchAudience.Builder setAudienceAttributes(int index, AudienceInsightsAttribute value)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAudienceAttributes

      public SearchAudience.Builder setAudienceAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAudienceAttributes

      public SearchAudience.Builder addAudienceAttributes(AudienceInsightsAttribute value)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAudienceAttributes

      public SearchAudience.Builder addAudienceAttributes(int index, AudienceInsightsAttribute value)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAudienceAttributes

      public SearchAudience.Builder addAudienceAttributes(AudienceInsightsAttribute.Builder builderForValue)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAudienceAttributes

      public SearchAudience.Builder addAudienceAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllAudienceAttributes

      public SearchAudience.Builder addAllAudienceAttributes(Iterable<? extends AudienceInsightsAttribute> values)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAudienceAttributes

      public SearchAudience.Builder clearAudienceAttributes()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeAudienceAttributes

      public SearchAudience.Builder removeAudienceAttributes(int index)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder getAudienceAttributesBuilder(int index)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAudienceAttributesOrBuilder

      public AudienceInsightsAttributeOrBuilder getAudienceAttributesOrBuilder(int index)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceAttributesOrBuilder in interface SearchAudienceOrBuilder
    • getAudienceAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeOrBuilder> getAudienceAttributesOrBuilderList()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceAttributesOrBuilderList in interface SearchAudienceOrBuilder
    • addAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder addAudienceAttributesBuilder()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder addAudienceAttributesBuilder(int index)
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAudienceAttributesBuilderList

      public List<AudienceInsightsAttribute.Builder> getAudienceAttributesBuilderList()
       Required. Audience attributes that describe an audience of viewers. This is
       used to search for topics trending for the defined audience. Attributes
       age_range, gender, user_interest, entity, category, parental_status, and
       income_range are supported. Attributes user_interest, entity, and category
       can only be set in audience_attributes when audience_combinations is
       unused.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAudienceCombinationsList

      public List<InsightsAudienceAttributeGroup> getAudienceCombinationsList()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceCombinationsList in interface SearchAudienceOrBuilder
    • getAudienceCombinationsCount

      public int getAudienceCombinationsCount()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceCombinationsCount in interface SearchAudienceOrBuilder
    • getAudienceCombinations

      public InsightsAudienceAttributeGroup getAudienceCombinations(int index)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceCombinations in interface SearchAudienceOrBuilder
    • setAudienceCombinations

      public SearchAudience.Builder setAudienceCombinations(int index, InsightsAudienceAttributeGroup value)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setAudienceCombinations

      public SearchAudience.Builder setAudienceCombinations(int index, InsightsAudienceAttributeGroup.Builder builderForValue)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceCombinations

      public SearchAudience.Builder addAudienceCombinations(InsightsAudienceAttributeGroup value)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceCombinations

      public SearchAudience.Builder addAudienceCombinations(int index, InsightsAudienceAttributeGroup value)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceCombinations

      public SearchAudience.Builder addAudienceCombinations(InsightsAudienceAttributeGroup.Builder builderForValue)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceCombinations

      public SearchAudience.Builder addAudienceCombinations(int index, InsightsAudienceAttributeGroup.Builder builderForValue)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAudienceCombinations

      public SearchAudience.Builder addAllAudienceCombinations(Iterable<? extends InsightsAudienceAttributeGroup> values)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearAudienceCombinations

      public SearchAudience.Builder clearAudienceCombinations()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeAudienceCombinations

      public SearchAudience.Builder removeAudienceCombinations(int index)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceCombinationsBuilder

      public InsightsAudienceAttributeGroup.Builder getAudienceCombinationsBuilder(int index)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceCombinationsOrBuilder

      public InsightsAudienceAttributeGroupOrBuilder getAudienceCombinationsOrBuilder(int index)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceCombinationsOrBuilder in interface SearchAudienceOrBuilder
    • getAudienceCombinationsOrBuilderList

      public List<? extends InsightsAudienceAttributeGroupOrBuilder> getAudienceCombinationsOrBuilderList()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceCombinationsOrBuilderList in interface SearchAudienceOrBuilder
    • addAudienceCombinationsBuilder

      public InsightsAudienceAttributeGroup.Builder addAudienceCombinationsBuilder()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceCombinationsBuilder

      public InsightsAudienceAttributeGroup.Builder addAudienceCombinationsBuilder(int index)
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceCombinationsBuilderList

      public List<InsightsAudienceAttributeGroup.Builder> getAudienceCombinationsBuilderList()
       Optional. A list of audience attribute groups consisting of one or more
       Knowledge Graph entities, Product & Service Categories and user interests
       that describes an audience. The groups have a logical AND-of-ORs structure:
      
       1. Attributes within each InsightsAudienceAttributeGroup are combined
       with OR.
      
       2. The groups themselves are combined together with AND.
      
       For example, an audience (Interest A OR Interest B) AND (Entity C) is
       represented using two groups. The first group contains the two interests
       and the second group contains the entity.
      
       This field cannot be set if any Knowledge Graph entities, Product &
       Service Categories, or user interests are specified in
       audience_attributes.
       
      repeated .google.ads.googleads.v23.common.InsightsAudienceAttributeGroup audience_combinations = 2 [(.google.api.field_behavior) = OPTIONAL];