Class BiddingDataExclusion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
com.google.ads.googleads.v18.resources.BiddingDataExclusion.Builder
- All Implemented Interfaces:
BiddingDataExclusionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BiddingDataExclusion
public static final class BiddingDataExclusion.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
implements BiddingDataExclusionOrBuilder
Represents a bidding data exclusion. Bidding data exclusions can be set in client accounts only, and cannot be used in manager accounts. See "About data exclusions" at https://support.google.com/google-ads/answer/10370710.Protobuf type
google.ads.googleads.v18.resources.BiddingDataExclusion-
Method Summary
Modifier and TypeMethodDescriptionThe data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.addAdvertisingChannelTypesValue(int value) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.addAllAdvertisingChannelTypes(Iterable<? extends AdvertisingChannelTypeEnum.AdvertisingChannelType> values) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.addAllCampaigns(Iterable<String> values) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.addAllDevices(Iterable<? extends DeviceEnum.Device> values) If not specified, all devices will be included in this exclusion.addAllDevicesValue(Iterable<Integer> values) If not specified, all devices will be included in this exclusion.addCampaigns(String value) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.addCampaignsBytes(com.google.protobuf.ByteString value) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.addDevices(DeviceEnum.Device value) If not specified, all devices will be included in this exclusion.addDevicesValue(int value) If not specified, all devices will be included in this exclusion.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.Output only.The description of the data exclusion.If not specified, all devices will be included in this exclusion.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The name of the data exclusion.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Immutable.The scope of the data exclusion.Required.Output only.clone()getAdvertisingChannelTypes(int index) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.intThe data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.intgetAdvertisingChannelTypesValue(int index) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.getCampaigns(int index) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.com.google.protobuf.ByteStringgetCampaignsBytes(int index) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.intThe data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.com.google.protobuf.ProtocolStringListThe data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.longOutput only.The description of the data exclusion.com.google.protobuf.ByteStringThe description of the data exclusion.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDevices(int index) If not specified, all devices will be included in this exclusion.intIf not specified, all devices will be included in this exclusion.If not specified, all devices will be included in this exclusion.intgetDevicesValue(int index) If not specified, all devices will be included in this exclusion.If not specified, all devices will be included in this exclusion.Required.com.google.protobuf.ByteStringRequired.getName()The name of the data exclusion.com.google.protobuf.ByteStringThe name of the data exclusion.Immutable.com.google.protobuf.ByteStringImmutable.getScope()The scope of the data exclusion.intThe scope of the data exclusion.Required.com.google.protobuf.ByteStringRequired.Output only.intOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BiddingDataExclusion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAdvertisingChannelTypes(int index, AdvertisingChannelTypeEnum.AdvertisingChannelType value) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.setAdvertisingChannelTypesValue(int index, int value) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL.setCampaigns(int index, String value) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN.setDataExclusionId(long value) Output only.setDescription(String value) The description of the data exclusion.setDescriptionBytes(com.google.protobuf.ByteString value) The description of the data exclusion.setDevices(int index, DeviceEnum.Device value) If not specified, all devices will be included in this exclusion.setDevicesValue(int index, int value) If not specified, all devices will be included in this exclusion.setEndDateTime(String value) Required.setEndDateTimeBytes(com.google.protobuf.ByteString value) Required.The name of the data exclusion.setNameBytes(com.google.protobuf.ByteString value) The name of the data exclusion.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.The scope of the data exclusion.setScopeValue(int value) The scope of the data exclusion.setStartDateTime(String value) Required.setStartDateTimeBytes(com.google.protobuf.ByteString value) Required.Output only.setStatusValue(int value) Output only.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<BiddingDataExclusion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
setField
public BiddingDataExclusion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
clearField
public BiddingDataExclusion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
clearOneof
public BiddingDataExclusion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
setRepeatedField
public BiddingDataExclusion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
addRepeatedField
public BiddingDataExclusion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BiddingDataExclusion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
mergeFrom
public BiddingDataExclusion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BiddingDataExclusion.Builder>- Throws:
IOException
-
getResourceName
Immutable. The resource name of the data exclusion. Data exclusion resource names have the form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceBiddingDataExclusionOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the data exclusion. Data exclusion resource names have the form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceBiddingDataExclusionOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the data exclusion. Data exclusion resource names have the form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the data exclusion. Data exclusion resource names have the form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the data exclusion. Data exclusion resource names have the form: `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getDataExclusionId
public long getDataExclusionId()Output only. The ID of the data exclusion.
int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataExclusionIdin interfaceBiddingDataExclusionOrBuilder- Returns:
- The dataExclusionId.
-
setDataExclusionId
Output only. The ID of the data exclusion.
int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dataExclusionId to set.- Returns:
- This builder for chaining.
-
clearDataExclusionId
Output only. The ID of the data exclusion.
int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getScopeValue
public int getScopeValue()The scope of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Specified by:
getScopeValuein interfaceBiddingDataExclusionOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
setScopeValue
The scope of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Parameters:
value- The enum numeric value on the wire for scope to set.- Returns:
- This builder for chaining.
-
getScope
The scope of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Specified by:
getScopein interfaceBiddingDataExclusionOrBuilder- Returns:
- The scope.
-
setScope
The scope of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
The scope of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3;- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. The status of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBiddingDataExclusionOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. The status of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Output only. The status of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBiddingDataExclusionOrBuilder- Returns:
- The status.
-
setStatus
public BiddingDataExclusion.Builder setStatus(SeasonalityEventStatusEnum.SeasonalityEventStatus value) Output only. The status of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the data exclusion.
.google.ads.googleads.v18.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStartDateTime
Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data exclusion is backward looking and should be used for events that start in the past and end either in the past or future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartDateTimein interfaceBiddingDataExclusionOrBuilder- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data exclusion is backward looking and should be used for events that start in the past and end either in the past or future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStartDateTimeBytesin interfaceBiddingDataExclusionOrBuilder- Returns:
- The bytes for startDateTime.
-
setStartDateTime
Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data exclusion is backward looking and should be used for events that start in the past and end either in the past or future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The startDateTime to set.- Returns:
- This builder for chaining.
-
clearStartDateTime
Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data exclusion is backward looking and should be used for events that start in the past and end either in the past or future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setStartDateTimeBytes
Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss format. A data exclusion is backward looking and should be used for events that start in the past and end either in the past or future.
string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for startDateTime to set.- Returns:
- This builder for chaining.
-
getEndDateTime
Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndDateTimein interfaceBiddingDataExclusionOrBuilder- Returns:
- The endDateTime.
-
getEndDateTimeBytes
public com.google.protobuf.ByteString getEndDateTimeBytes()Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEndDateTimeBytesin interfaceBiddingDataExclusionOrBuilder- Returns:
- The bytes for endDateTime.
-
setEndDateTime
Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The endDateTime to set.- Returns:
- This builder for chaining.
-
clearEndDateTime
Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setEndDateTimeBytes
Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. The length of [start_date_time, end_date_time) interval must be within (0, 14 days].
string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for endDateTime to set.- Returns:
- This builder for chaining.
-
getName
The name of the data exclusion. The name can be at most 255 characters.
string name = 7;- Specified by:
getNamein interfaceBiddingDataExclusionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the data exclusion. The name can be at most 255 characters.
string name = 7;- Specified by:
getNameBytesin interfaceBiddingDataExclusionOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the data exclusion. The name can be at most 255 characters.
string name = 7;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the data exclusion. The name can be at most 255 characters.
string name = 7;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the data exclusion. The name can be at most 255 characters.
string name = 7;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
The description of the data exclusion. The description can be at most 2048 characters.
string description = 8;- Specified by:
getDescriptionin interfaceBiddingDataExclusionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the data exclusion. The description can be at most 2048 characters.
string description = 8;- Specified by:
getDescriptionBytesin interfaceBiddingDataExclusionOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description of the data exclusion. The description can be at most 2048 characters.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description of the data exclusion. The description can be at most 2048 characters.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
The description of the data exclusion. The description can be at most 2048 characters.
string description = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDevicesList
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesListin interfaceBiddingDataExclusionOrBuilder- Returns:
- A list containing the devices.
-
getDevicesCount
public int getDevicesCount()If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesCountin interfaceBiddingDataExclusionOrBuilder- Returns:
- The count of devices.
-
getDevices
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesin interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The devices at the given index.
-
setDevices
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
index- The index to set the value at.value- The devices to set.- Returns:
- This builder for chaining.
-
addDevices
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
value- The devices to add.- Returns:
- This builder for chaining.
-
addAllDevices
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
values- The devices to add.- Returns:
- This builder for chaining.
-
clearDevices
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Returns:
- This builder for chaining.
-
getDevicesValueList
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesValueListin interfaceBiddingDataExclusionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for devices.
-
getDevicesValue
public int getDevicesValue(int index) If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Specified by:
getDevicesValuein interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of devices at the given index.
-
setDevicesValue
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for devices to set.- Returns:
- This builder for chaining.
-
addDevicesValue
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
value- The enum numeric value on the wire for devices to add.- Returns:
- This builder for chaining.
-
addAllDevicesValue
If not specified, all devices will be included in this exclusion. Otherwise, only the specified targeted devices will be included in this exclusion.
repeated .google.ads.googleads.v18.enums.DeviceEnum.Device devices = 9;- Parameters:
values- The enum numeric values on the wire for devices to add.- Returns:
- This builder for chaining.
-
getCampaignsList
public com.google.protobuf.ProtocolStringList getCampaignsList()The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsListin interfaceBiddingDataExclusionOrBuilder- Returns:
- A list containing the campaigns.
-
getCampaignsCount
public int getCampaignsCount()The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsCountin interfaceBiddingDataExclusionOrBuilder- Returns:
- The count of campaigns.
-
getCampaigns
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsin interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The campaigns at the given index.
-
getCampaignsBytes
public com.google.protobuf.ByteString getCampaignsBytes(int index) The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignsBytesin interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the campaigns at the given index.
-
setCampaigns
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The campaigns to set.- Returns:
- This builder for chaining.
-
addCampaigns
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Parameters:
value- The campaigns to add.- Returns:
- This builder for chaining.
-
addAllCampaigns
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Parameters:
values- The campaigns to add.- Returns:
- This builder for chaining.
-
clearCampaigns
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addCampaignsBytes
The data exclusion will apply to the campaigns listed when the scope of this exclusion is CAMPAIGN. The maximum number of campaigns per event is 2000. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated string campaigns = 10 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the campaigns to add.- Returns:
- This builder for chaining.
-
getAdvertisingChannelTypesList
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Specified by:
getAdvertisingChannelTypesListin interfaceBiddingDataExclusionOrBuilder- Returns:
- A list containing the advertisingChannelTypes.
-
getAdvertisingChannelTypesCount
public int getAdvertisingChannelTypesCount()The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Specified by:
getAdvertisingChannelTypesCountin interfaceBiddingDataExclusionOrBuilder- Returns:
- The count of advertisingChannelTypes.
-
getAdvertisingChannelTypes
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Specified by:
getAdvertisingChannelTypesin interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The advertisingChannelTypes at the given index.
-
setAdvertisingChannelTypes
public BiddingDataExclusion.Builder setAdvertisingChannelTypes(int index, AdvertisingChannelTypeEnum.AdvertisingChannelType value) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
index- The index to set the value at.value- The advertisingChannelTypes to set.- Returns:
- This builder for chaining.
-
addAdvertisingChannelTypes
public BiddingDataExclusion.Builder addAdvertisingChannelTypes(AdvertisingChannelTypeEnum.AdvertisingChannelType value) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
value- The advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
addAllAdvertisingChannelTypes
public BiddingDataExclusion.Builder addAllAdvertisingChannelTypes(Iterable<? extends AdvertisingChannelTypeEnum.AdvertisingChannelType> values) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
values- The advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
clearAdvertisingChannelTypes
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Returns:
- This builder for chaining.
-
getAdvertisingChannelTypesValueList
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Specified by:
getAdvertisingChannelTypesValueListin interfaceBiddingDataExclusionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for advertisingChannelTypes.
-
getAdvertisingChannelTypesValue
public int getAdvertisingChannelTypesValue(int index) The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Specified by:
getAdvertisingChannelTypesValuein interfaceBiddingDataExclusionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of advertisingChannelTypes at the given index.
-
setAdvertisingChannelTypesValue
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for advertisingChannelTypes to set.- Returns:
- This builder for chaining.
-
addAdvertisingChannelTypesValue
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
value- The enum numeric value on the wire for advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
addAllAdvertisingChannelTypesValue
The data_exclusion will apply to all the campaigns under the listed channels retroactively as well as going forward when the scope of this exclusion is CHANNEL. The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. Note: a data exclusion with both advertising_channel_types and campaign_ids is not supported.
repeated .google.ads.googleads.v18.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11;- Parameters:
values- The enum numeric values on the wire for advertisingChannelTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BiddingDataExclusion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-
mergeUnknownFields
public final BiddingDataExclusion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BiddingDataExclusion.Builder>
-