Class AdGroupCriterionSimulation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AdGroupCriterionSimulation
All Implemented Interfaces:
AdGroupCriterionSimulationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AdGroupCriterionSimulation extends com.google.protobuf.GeneratedMessageV3 implements AdGroupCriterionSimulationOrBuilder
 An ad group criterion simulation. Supported combinations of advertising
 channel type, criterion type, simulation type, and simulation modification
 method are detailed below respectively. Hotel AdGroupCriterion simulation
 operations starting in V5.

 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM
 2. SEARCH - KEYWORD - CPC_BID - UNIFORM
 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM
 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM
 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM
 
Protobuf type google.ads.googleads.v18.resources.AdGroupCriterionSimulation
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • AD_GROUP_ID_FIELD_NUMBER

      public static final int AD_GROUP_ID_FIELD_NUMBER
      See Also:
    • CRITERION_ID_FIELD_NUMBER

      public static final int CRITERION_ID_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • MODIFICATION_METHOD_FIELD_NUMBER

      public static final int MODIFICATION_METHOD_FIELD_NUMBER
      See Also:
    • START_DATE_FIELD_NUMBER

      public static final int START_DATE_FIELD_NUMBER
      See Also:
    • END_DATE_FIELD_NUMBER

      public static final int END_DATE_FIELD_NUMBER
      See Also:
    • CPC_BID_POINT_LIST_FIELD_NUMBER

      public static final int CPC_BID_POINT_LIST_FIELD_NUMBER
      See Also:
    • PERCENT_CPC_BID_POINT_LIST_FIELD_NUMBER

      public static final int PERCENT_CPC_BID_POINT_LIST_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
    • getPointListCase

      public AdGroupCriterionSimulation.PointListCase getPointListCase()
      Specified by:
      getPointListCase in interface AdGroupCriterionSimulationOrBuilder
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the ad group criterion simulation.
       Ad group criterion simulation resource names have the form:
      
       `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the ad group criterion simulation.
       Ad group criterion simulation resource names have the form:
      
       `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The bytes for resourceName.
    • hasAdGroupId

      public boolean hasAdGroupId()
       Output only. AdGroup ID of the simulation.
       
      optional int64 ad_group_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAdGroupId in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the adGroupId field is set.
    • getAdGroupId

      public long getAdGroupId()
       Output only. AdGroup ID of the simulation.
       
      optional int64 ad_group_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdGroupId in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The adGroupId.
    • hasCriterionId

      public boolean hasCriterionId()
       Output only. Criterion ID of the simulation.
       
      optional int64 criterion_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCriterionId in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the criterionId field is set.
    • getCriterionId

      public long getCriterionId()
       Output only. Criterion ID of the simulation.
       
      optional int64 criterion_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCriterionId in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The criterionId.
    • getTypeValue

      public int getTypeValue()
       Output only. The field that the simulation modifies.
       
      .google.ads.googleads.v18.enums.SimulationTypeEnum.SimulationType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The field that the simulation modifies.
       
      .google.ads.googleads.v18.enums.SimulationTypeEnum.SimulationType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The type.
    • getModificationMethodValue

      public int getModificationMethodValue()
       Output only. How the simulation modifies the field.
       
      .google.ads.googleads.v18.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModificationMethodValue in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The enum numeric value on the wire for modificationMethod.
    • getModificationMethod

       Output only. How the simulation modifies the field.
       
      .google.ads.googleads.v18.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModificationMethod in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The modificationMethod.
    • hasStartDate

      public boolean hasStartDate()
       Output only. First day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartDate in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the startDate field is set.
    • getStartDate

      public String getStartDate()
       Output only. First day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartDate in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The startDate.
    • getStartDateBytes

      public com.google.protobuf.ByteString getStartDateBytes()
       Output only. First day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartDateBytes in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The bytes for startDate.
    • hasEndDate

      public boolean hasEndDate()
       Output only. Last day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndDate in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the endDate field is set.
    • getEndDate

      public String getEndDate()
       Output only. Last day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndDate in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The endDate.
    • getEndDateBytes

      public com.google.protobuf.ByteString getEndDateBytes()
       Output only. Last day on which the simulation is based, in YYYY-MM-DD
       format.
       
      optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndDateBytes in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The bytes for endDate.
    • hasCpcBidPointList

      public boolean hasCpcBidPointList()
       Output only. Simulation points if the simulation type is CPC_BID.
       
      .google.ads.googleads.v18.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCpcBidPointList in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the cpcBidPointList field is set.
    • getCpcBidPointList

      public CpcBidSimulationPointList getCpcBidPointList()
       Output only. Simulation points if the simulation type is CPC_BID.
       
      .google.ads.googleads.v18.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCpcBidPointList in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The cpcBidPointList.
    • getCpcBidPointListOrBuilder

      public CpcBidSimulationPointListOrBuilder getCpcBidPointListOrBuilder()
       Output only. Simulation points if the simulation type is CPC_BID.
       
      .google.ads.googleads.v18.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCpcBidPointListOrBuilder in interface AdGroupCriterionSimulationOrBuilder
    • hasPercentCpcBidPointList

      public boolean hasPercentCpcBidPointList()
       Output only. Simulation points if the simulation type is PERCENT_CPC_BID.
       
      .google.ads.googleads.v18.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPercentCpcBidPointList in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      Whether the percentCpcBidPointList field is set.
    • getPercentCpcBidPointList

      public PercentCpcBidSimulationPointList getPercentCpcBidPointList()
       Output only. Simulation points if the simulation type is PERCENT_CPC_BID.
       
      .google.ads.googleads.v18.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPercentCpcBidPointList in interface AdGroupCriterionSimulationOrBuilder
      Returns:
      The percentCpcBidPointList.
    • getPercentCpcBidPointListOrBuilder

      public PercentCpcBidSimulationPointListOrBuilder getPercentCpcBidPointListOrBuilder()
       Output only. Simulation points if the simulation type is PERCENT_CPC_BID.
       
      .google.ads.googleads.v18.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPercentCpcBidPointListOrBuilder in interface AdGroupCriterionSimulationOrBuilder
    • 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 AdGroupCriterionSimulation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

      public AdGroupCriterionSimulation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AdGroupCriterionSimulation.Builder newBuilder()
    • newBuilder

      public static AdGroupCriterionSimulation.Builder newBuilder(AdGroupCriterionSimulation prototype)
    • toBuilder

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

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

      public static AdGroupCriterionSimulation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AdGroupCriterionSimulation> 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 AdGroupCriterionSimulation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder