Interface TargetingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Targeting, Targeting.Builder

@Generated public interface TargetingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPlannableLocationIdsList

      List<String> getPlannableLocationIdsList()
       The list of plannable location IDs to target with this forecast.
      
       If more than one ID is provided, all IDs must have the same
       `parent_country_id`. Planning for more than `parent_county` is not
       supported. Plannable location IDs and their `parent_country_id` can be
       obtained from
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v25.services.ReachPlanService.ListPlannableLocations].
       
      repeated string plannable_location_ids = 8;
      Returns:
      A list containing the plannableLocationIds.
    • getPlannableLocationIdsCount

      int getPlannableLocationIdsCount()
       The list of plannable location IDs to target with this forecast.
      
       If more than one ID is provided, all IDs must have the same
       `parent_country_id`. Planning for more than `parent_county` is not
       supported. Plannable location IDs and their `parent_country_id` can be
       obtained from
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v25.services.ReachPlanService.ListPlannableLocations].
       
      repeated string plannable_location_ids = 8;
      Returns:
      The count of plannableLocationIds.
    • getPlannableLocationIds

      String getPlannableLocationIds(int index)
       The list of plannable location IDs to target with this forecast.
      
       If more than one ID is provided, all IDs must have the same
       `parent_country_id`. Planning for more than `parent_county` is not
       supported. Plannable location IDs and their `parent_country_id` can be
       obtained from
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v25.services.ReachPlanService.ListPlannableLocations].
       
      repeated string plannable_location_ids = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The plannableLocationIds at the given index.
    • getPlannableLocationIdsBytes

      com.google.protobuf.ByteString getPlannableLocationIdsBytes(int index)
       The list of plannable location IDs to target with this forecast.
      
       If more than one ID is provided, all IDs must have the same
       `parent_country_id`. Planning for more than `parent_county` is not
       supported. Plannable location IDs and their `parent_country_id` can be
       obtained from
       [ReachPlanService.ListPlannableLocations][google.ads.googleads.v25.services.ReachPlanService.ListPlannableLocations].
       
      repeated string plannable_location_ids = 8;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the plannableLocationIds at the given index.
    • getAgeRangeValue

      int getAgeRangeValue()
       Targeted age range.
       An unset value is equivalent to targeting all ages.
       
      .google.ads.googleads.v25.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2;
      Returns:
      The enum numeric value on the wire for ageRange.
    • getAgeRange

       Targeted age range.
       An unset value is equivalent to targeting all ages.
       
      .google.ads.googleads.v25.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2;
      Returns:
      The ageRange.
    • getGendersList

      List<GenderInfo> getGendersList()
       Targeted genders.
       An unset value is equivalent to targeting MALE and FEMALE.
       
      repeated .google.ads.googleads.v25.common.GenderInfo genders = 3;
    • getGenders

      GenderInfo getGenders(int index)
       Targeted genders.
       An unset value is equivalent to targeting MALE and FEMALE.
       
      repeated .google.ads.googleads.v25.common.GenderInfo genders = 3;
    • getGendersCount

      int getGendersCount()
       Targeted genders.
       An unset value is equivalent to targeting MALE and FEMALE.
       
      repeated .google.ads.googleads.v25.common.GenderInfo genders = 3;
    • getGendersOrBuilderList

      List<? extends GenderInfoOrBuilder> getGendersOrBuilderList()
       Targeted genders.
       An unset value is equivalent to targeting MALE and FEMALE.
       
      repeated .google.ads.googleads.v25.common.GenderInfo genders = 3;
    • getGendersOrBuilder

      GenderInfoOrBuilder getGendersOrBuilder(int index)
       Targeted genders.
       An unset value is equivalent to targeting MALE and FEMALE.
       
      repeated .google.ads.googleads.v25.common.GenderInfo genders = 3;
    • getDevicesList

      List<DeviceInfo> getDevicesList()
       Targeted devices.
       If not specified, targets all applicable devices. Applicable devices vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      repeated .google.ads.googleads.v25.common.DeviceInfo devices = 4;
    • getDevices

      DeviceInfo getDevices(int index)
       Targeted devices.
       If not specified, targets all applicable devices. Applicable devices vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      repeated .google.ads.googleads.v25.common.DeviceInfo devices = 4;
    • getDevicesCount

      int getDevicesCount()
       Targeted devices.
       If not specified, targets all applicable devices. Applicable devices vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      repeated .google.ads.googleads.v25.common.DeviceInfo devices = 4;
    • getDevicesOrBuilderList

      List<? extends DeviceInfoOrBuilder> getDevicesOrBuilderList()
       Targeted devices.
       If not specified, targets all applicable devices. Applicable devices vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      repeated .google.ads.googleads.v25.common.DeviceInfo devices = 4;
    • getDevicesOrBuilder

      DeviceInfoOrBuilder getDevicesOrBuilder(int index)
       Targeted devices.
       If not specified, targets all applicable devices. Applicable devices vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      repeated .google.ads.googleads.v25.common.DeviceInfo devices = 4;
    • getNetworkValue

      int getNetworkValue()
       Targetable network for the ad product.
       If not specified, targets all applicable networks. Applicable networks vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      .google.ads.googleads.v25.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5;
      Returns:
      The enum numeric value on the wire for network.
    • getNetwork

       Targetable network for the ad product.
       If not specified, targets all applicable networks. Applicable networks vary
       by product and region and can be obtained from
       [ReachPlanService.ListPlannableProducts][google.ads.googleads.v25.services.ReachPlanService.ListPlannableProducts].
       
      .google.ads.googleads.v25.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5;
      Returns:
      The network.
    • getParentalStatusesList

      List<ParentalStatusInfo> getParentalStatusesList()
       Targeted parental statuses.
       If not specified, targets all parental statuses (PARENT, NOT_A_PARENT, and
       UNDETERMINED).
       
      repeated .google.ads.googleads.v25.common.ParentalStatusInfo parental_statuses = 9;
    • getParentalStatuses

      ParentalStatusInfo getParentalStatuses(int index)
       Targeted parental statuses.
       If not specified, targets all parental statuses (PARENT, NOT_A_PARENT, and
       UNDETERMINED).
       
      repeated .google.ads.googleads.v25.common.ParentalStatusInfo parental_statuses = 9;
    • getParentalStatusesCount

      int getParentalStatusesCount()
       Targeted parental statuses.
       If not specified, targets all parental statuses (PARENT, NOT_A_PARENT, and
       UNDETERMINED).
       
      repeated .google.ads.googleads.v25.common.ParentalStatusInfo parental_statuses = 9;
    • getParentalStatusesOrBuilderList

      List<? extends ParentalStatusInfoOrBuilder> getParentalStatusesOrBuilderList()
       Targeted parental statuses.
       If not specified, targets all parental statuses (PARENT, NOT_A_PARENT, and
       UNDETERMINED).
       
      repeated .google.ads.googleads.v25.common.ParentalStatusInfo parental_statuses = 9;
    • getParentalStatusesOrBuilder

      ParentalStatusInfoOrBuilder getParentalStatusesOrBuilder(int index)
       Targeted parental statuses.
       If not specified, targets all parental statuses (PARENT, NOT_A_PARENT, and
       UNDETERMINED).
       
      repeated .google.ads.googleads.v25.common.ParentalStatusInfo parental_statuses = 9;
    • hasAudienceTargeting

      boolean hasAudienceTargeting()
       Targeted audiences.
       If not specified, does not target any specific audience.
       
      .google.ads.googleads.v25.services.AudienceTargeting audience_targeting = 7;
      Returns:
      Whether the audienceTargeting field is set.
    • getAudienceTargeting

      AudienceTargeting getAudienceTargeting()
       Targeted audiences.
       If not specified, does not target any specific audience.
       
      .google.ads.googleads.v25.services.AudienceTargeting audience_targeting = 7;
      Returns:
      The audienceTargeting.
    • getAudienceTargetingOrBuilder

      AudienceTargetingOrBuilder getAudienceTargetingOrBuilder()
       Targeted audiences.
       If not specified, does not target any specific audience.
       
      .google.ads.googleads.v25.services.AudienceTargeting audience_targeting = 7;