Class GenerateSuggestedTargetingInsightsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v17.services.GenerateSuggestedTargetingInsightsRequest
All Implemented Interfaces:
GenerateSuggestedTargetingInsightsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class GenerateSuggestedTargetingInsightsRequest extends com.google.protobuf.GeneratedMessageV3 implements GenerateSuggestedTargetingInsightsRequestOrBuilder
 Request message for
 [AudienceInsightsService.GenerateSuggestedTargetingInsights][google.ads.googleads.v17.services.AudienceInsightsService.GenerateSuggestedTargetingInsights].
 
Protobuf type google.ads.googleads.v17.services.GenerateSuggestedTargetingInsightsRequest
See Also:
  • Field Details

    • CUSTOMER_ID_FIELD_NUMBER

      public static final int CUSTOMER_ID_FIELD_NUMBER
      See Also:
    • AUDIENCE_FIELD_NUMBER

      public static final int AUDIENCE_FIELD_NUMBER
      See Also:
    • BASELINE_AUDIENCE_FIELD_NUMBER

      public static final int BASELINE_AUDIENCE_FIELD_NUMBER
      See Also:
    • DATA_MONTH_FIELD_NUMBER

      public static final int DATA_MONTH_FIELD_NUMBER
      See Also:
    • CUSTOMER_INSIGHTS_GROUP_FIELD_NUMBER

      public static final int CUSTOMER_INSIGHTS_GROUP_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The bytes for customerId.
    • hasAudience

      public boolean hasAudience()
       Required. The audience of interest for which insights are being requested.
       
      .google.ads.googleads.v17.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAudience in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      Whether the audience field is set.
    • getAudience

      public InsightsAudience getAudience()
       Required. The audience of interest for which insights are being requested.
       
      .google.ads.googleads.v17.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudience in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The audience.
    • getAudienceOrBuilder

      public InsightsAudienceOrBuilder getAudienceOrBuilder()
       Required. The audience of interest for which insights are being requested.
       
      .google.ads.googleads.v17.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceOrBuilder in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
    • hasBaselineAudience

      public boolean hasBaselineAudience()
       Optional. The baseline audience.  The default, if unspecified, is all
       people in the same country as the audience of interest.
       
      .google.ads.googleads.v17.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBaselineAudience in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      Whether the baselineAudience field is set.
    • getBaselineAudience

      public InsightsAudience getBaselineAudience()
       Optional. The baseline audience.  The default, if unspecified, is all
       people in the same country as the audience of interest.
       
      .google.ads.googleads.v17.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineAudience in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The baselineAudience.
    • getBaselineAudienceOrBuilder

      public InsightsAudienceOrBuilder getBaselineAudienceOrBuilder()
       Optional. The baseline audience.  The default, if unspecified, is all
       people in the same country as the audience of interest.
       
      .google.ads.googleads.v17.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineAudienceOrBuilder in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
    • getDataMonth

      public String getDataMonth()
       Optional. The one-month range of historical data to use for insights, in
       the format "yyyy-mm". If unset, insights will be returned for the last
       thirty days of data.
       
      string data_month = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataMonth in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The dataMonth.
    • getDataMonthBytes

      public com.google.protobuf.ByteString getDataMonthBytes()
       Optional. The one-month range of historical data to use for insights, in
       the format "yyyy-mm". If unset, insights will be returned for the last
       thirty days of data.
       
      string data_month = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataMonthBytes in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The bytes for dataMonth.
    • getCustomerInsightsGroup

      public String getCustomerInsightsGroup()
       Optional. The name of the customer being planned for.  This is a
       user-defined value.
       
      string customer_insights_group = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerInsightsGroup in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The customerInsightsGroup.
    • getCustomerInsightsGroupBytes

      public com.google.protobuf.ByteString getCustomerInsightsGroupBytes()
       Optional. The name of the customer being planned for.  This is a
       user-defined value.
       
      string customer_insights_group = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerInsightsGroupBytes in interface GenerateSuggestedTargetingInsightsRequestOrBuilder
      Returns:
      The bytes for customerInsightsGroup.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateSuggestedTargetingInsightsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateSuggestedTargetingInsightsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateSuggestedTargetingInsightsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenerateSuggestedTargetingInsightsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GenerateSuggestedTargetingInsightsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GenerateSuggestedTargetingInsightsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GenerateSuggestedTargetingInsightsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GenerateSuggestedTargetingInsightsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder