Interface MutateAdsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MutateAdsRequest
,MutateAdsRequest.Builder
public interface MutateAdsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCustomerId()
Required.com.google.protobuf.ByteString
getCustomerIdBytes()
Required.AdOperation
getOperations(int index)
Required.int
getOperationsCount()
Required.java.util.List<AdOperation>
getOperationsList()
Required.AdOperationOrBuilder
getOperationsOrBuilder(int index)
Required.java.util.List<? extends AdOperationOrBuilder>
getOperationsOrBuilderList()
Required.boolean
getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors.ResponseContentTypeEnum.ResponseContentType
getResponseContentType()
The response content type setting.int
getResponseContentTypeValue()
The response content type setting.boolean
getValidateOnly()
If true, the request is validated but not executed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCustomerId
java.lang.String getCustomerId()
Required. The ID of the customer whose ads are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()
Required. The ID of the customer whose ads are being modified.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for customerId.
-
getOperationsList
java.util.List<AdOperation> getOperationsList()
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v14.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperations
AdOperation getOperations(int index)
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v14.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsCount
int getOperationsCount()
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v14.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilderList
java.util.List<? extends AdOperationOrBuilder> getOperationsOrBuilderList()
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v14.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOperationsOrBuilder
AdOperationOrBuilder getOperationsOrBuilder(int index)
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v14.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPartialFailure
boolean getPartialFailure()
If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
bool partial_failure = 4;
- Returns:
- The partialFailure.
-
getResponseContentTypeValue
int getResponseContentTypeValue()
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Returns:
- The enum numeric value on the wire for responseContentType.
-
getResponseContentType
ResponseContentTypeEnum.ResponseContentType getResponseContentType()
The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
.google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5;
- Returns:
- The responseContentType.
-
getValidateOnly
boolean getValidateOnly()
If true, the request is validated but not executed. Only errors are returned, not results.
bool validate_only = 3;
- Returns:
- The validateOnly.
-
-