Class AdGroupSimulation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AdGroupSimulation
- All Implemented Interfaces:
AdGroupSimulationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AdGroupSimulation
extends com.google.protobuf.GeneratedMessageV3
implements AdGroupSimulationOrBuilder
An ad group simulation. Supported combinations of advertising channel type, simulation type and simulation modification method is detailed below respectively. 1. SEARCH - CPC_BID - DEFAULT 2. SEARCH - CPC_BID - UNIFORM 3. SEARCH - TARGET_CPA - UNIFORM 4. SEARCH - TARGET_ROAS - UNIFORM 5. DISPLAY - CPC_BID - DEFAULT 6. DISPLAY - CPC_BID - UNIFORM 7. DISPLAY - TARGET_CPA - UNIFORMProtobuf type
google.ads.googleads.v18.resources.AdGroupSimulation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn ad group simulation.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongOutput only.Output only.Output only.Output only.Output only.static AdGroupSimulationstatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.com.google.protobuf.Parser<AdGroupSimulation>Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Output only.getType()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AdGroupSimulation.Builderstatic AdGroupSimulation.BuildernewBuilder(AdGroupSimulation prototype) protected AdGroupSimulation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AdGroupSimulationparseDelimitedFrom(InputStream input) static AdGroupSimulationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdGroupSimulationparseFrom(byte[] data) static AdGroupSimulationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdGroupSimulationparseFrom(com.google.protobuf.ByteString data) static AdGroupSimulationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdGroupSimulationparseFrom(com.google.protobuf.CodedInputStream input) static AdGroupSimulationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdGroupSimulationparseFrom(InputStream input) static AdGroupSimulationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdGroupSimulationparseFrom(ByteBuffer data) static AdGroupSimulationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AdGroupSimulation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
-
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:
-
CPV_BID_POINT_LIST_FIELD_NUMBER
public static final int CPV_BID_POINT_LIST_FIELD_NUMBER- See Also:
-
TARGET_CPA_POINT_LIST_FIELD_NUMBER
public static final int TARGET_CPA_POINT_LIST_FIELD_NUMBER- See Also:
-
TARGET_ROAS_POINT_LIST_FIELD_NUMBER
public static final int TARGET_ROAS_POINT_LIST_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPointListCase
- Specified by:
getPointListCasein interfaceAdGroupSimulationOrBuilder
-
getResourceName
Output only. The resource name of the ad group simulation. Ad group simulation resource names have the form: `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAdGroupSimulationOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the ad group simulation. Ad group simulation resource names have the form: `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAdGroupSimulationOrBuilder- Returns:
- The bytes for resourceName.
-
hasAdGroupId
public boolean hasAdGroupId()Output only. Ad group id of the simulation.
optional int64 ad_group_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAdGroupIdin interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the adGroupId field is set.
-
getAdGroupId
public long getAdGroupId()Output only. Ad group id of the simulation.
optional int64 ad_group_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdGroupIdin interfaceAdGroupSimulationOrBuilder- Returns:
- The adGroupId.
-
getTypeValue
public int getTypeValue()Output only. The field that the simulation modifies.
.google.ads.googleads.v18.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceAdGroupSimulationOrBuilder- 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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceAdGroupSimulationOrBuilder- Returns:
- The type.
-
getModificationMethodValue
public int getModificationMethodValue()Output only. How the simulation modifies the field.
.google.ads.googleads.v18.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModificationMethodValuein interfaceAdGroupSimulationOrBuilder- 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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModificationMethodin interfaceAdGroupSimulationOrBuilder- 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartDatein interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the startDate field is set.
-
getStartDate
Output only. First day on which the simulation is based, in YYYY-MM-DD format.
optional string start_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartDatein interfaceAdGroupSimulationOrBuilder- 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 = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartDateBytesin interfaceAdGroupSimulationOrBuilder- 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 = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndDatein interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the endDate field is set.
-
getEndDate
Output only. Last day on which the simulation is based, in YYYY-MM-DD format
optional string end_date = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndDatein interfaceAdGroupSimulationOrBuilder- 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 = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndDateBytesin interfaceAdGroupSimulationOrBuilder- 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:
hasCpcBidPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the cpcBidPointList field is set.
-
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:
getCpcBidPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- The cpcBidPointList.
-
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:
getCpcBidPointListOrBuilderin interfaceAdGroupSimulationOrBuilder
-
hasCpvBidPointList
public boolean hasCpvBidPointList()Output only. Simulation points if the simulation type is CPV_BID.
.google.ads.googleads.v18.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCpvBidPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the cpvBidPointList field is set.
-
getCpvBidPointList
Output only. Simulation points if the simulation type is CPV_BID.
.google.ads.googleads.v18.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCpvBidPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- The cpvBidPointList.
-
getCpvBidPointListOrBuilder
Output only. Simulation points if the simulation type is CPV_BID.
.google.ads.googleads.v18.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCpvBidPointListOrBuilderin interfaceAdGroupSimulationOrBuilder
-
hasTargetCpaPointList
public boolean hasTargetCpaPointList()Output only. Simulation points if the simulation type is TARGET_CPA.
.google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTargetCpaPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the targetCpaPointList field is set.
-
getTargetCpaPointList
Output only. Simulation points if the simulation type is TARGET_CPA.
.google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCpaPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- The targetCpaPointList.
-
getTargetCpaPointListOrBuilder
Output only. Simulation points if the simulation type is TARGET_CPA.
.google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetCpaPointListOrBuilderin interfaceAdGroupSimulationOrBuilder
-
hasTargetRoasPointList
public boolean hasTargetRoasPointList()Output only. Simulation points if the simulation type is TARGET_ROAS.
.google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTargetRoasPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- Whether the targetRoasPointList field is set.
-
getTargetRoasPointList
Output only. Simulation points if the simulation type is TARGET_ROAS.
.google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetRoasPointListin interfaceAdGroupSimulationOrBuilder- Returns:
- The targetRoasPointList.
-
getTargetRoasPointListOrBuilder
Output only. Simulation points if the simulation type is TARGET_ROAS.
.google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetRoasPointListOrBuilderin interfaceAdGroupSimulationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AdGroupSimulation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdGroupSimulation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdGroupSimulation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdGroupSimulation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdGroupSimulation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdGroupSimulation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AdGroupSimulation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AdGroupSimulation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AdGroupSimulation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AdGroupSimulation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AdGroupSimulation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-