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
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getOperations(int index) Required.intRequired.Required.getOperationsOrBuilder(int index) Required.List<? extends AdOperationOrBuilder>Required.booleanIf true, successful operations will be carried out and invalid operations will return errors.The response content type setting.intThe response content type setting.booleanIf true, the request is validated but not executed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCustomerId
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
List<AdOperation> getOperationsList()Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v18.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperations
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v18.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.v18.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperationsOrBuilderList
List<? extends AdOperationOrBuilder> getOperationsOrBuilderList()Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v18.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperationsOrBuilder
Required. The list of operations to perform on individual ads.
repeated .google.ads.googleads.v18.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.v18.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.v18.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.
-