Interface ApplyRecommendationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApplyRecommendationRequest,ApplyRecommendationRequest.Builder
public interface ApplyRecommendationRequestOrBuilder
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 ApplyRecommendationOperationOrBuilder>Required.booleanIf true, successful operations will be carried out and invalid operations will return errors.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 with the recommendation.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()Required. The ID of the customer with the recommendation.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for customerId.
-
getOperationsList
List<ApplyRecommendationOperation> getOperationsList()Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v18.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperations
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v18.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperationsCount
int getOperationsCount()Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v18.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperationsOrBuilderList
List<? extends ApplyRecommendationOperationOrBuilder> getOperationsOrBuilderList()Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v18.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; -
getOperationsOrBuilder
Required. The list of operations to apply recommendations. If partial_failure=false all recommendations should be of the same type There is a limit of 100 operations per request.
repeated .google.ads.googleads.v18.services.ApplyRecommendationOperation 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, operations will be carried out as a transaction if and only if they are all valid. Default is false.
bool partial_failure = 3;- Returns:
- The partialFailure.
-