Interface Campaign.MessagingRestrictionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Campaign.MessagingRestriction,Campaign.MessagingRestriction.Builder
- Enclosing class:
- Campaign
public static interface Campaign.MessagingRestrictionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFreeform instructions to guide text asset generation using LLM inference.com.google.protobuf.ByteStringFreeform instructions to guide text asset generation using LLM inference.Determines how the guideline is applied.intDetermines how the guideline is applied.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
-
getRestrictionText
String getRestrictionText()Freeform instructions to guide text asset generation using LLM inference. Valid instructions may contain a maximum of 300 characters.
string restriction_text = 1;- Returns:
- The restrictionText.
-
getRestrictionTextBytes
com.google.protobuf.ByteString getRestrictionTextBytes()Freeform instructions to guide text asset generation using LLM inference. Valid instructions may contain a maximum of 300 characters.
string restriction_text = 1;- Returns:
- The bytes for restrictionText.
-
getRestrictionTypeValue
int getRestrictionTypeValue()Determines how the guideline is applied. Only `RESTRICTION_BASED_EXCLUSION` is currently supported.
.google.ads.googleads.v23.enums.MessagingRestrictionTypeEnum.MessagingRestrictionType restriction_type = 2;- Returns:
- The enum numeric value on the wire for restrictionType.
-
getRestrictionType
MessagingRestrictionTypeEnum.MessagingRestrictionType getRestrictionType()Determines how the guideline is applied. Only `RESTRICTION_BASED_EXCLUSION` is currently supported.
.google.ads.googleads.v23.enums.MessagingRestrictionTypeEnum.MessagingRestrictionType restriction_type = 2;- Returns:
- The restrictionType.
-