Class AssetGroupSignal

  • All Implemented Interfaces:
    AssetGroupSignalOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class AssetGroupSignal
    extends com.google.protobuf.GeneratedMessageV3
    implements AssetGroupSignalOrBuilder
     AssetGroupSignal represents a signal in an asset group. The existence of a
     signal tells the performance max campaign who's most likely to convert.
     Performance Max uses the signal to look for new people with similar or
     stronger intent to find conversions across Search, Display, Video, and more.
     
    Protobuf type google.ads.googleads.v15.resources.AssetGroupSignal
    See Also:
    Serialized Form
    • Field Detail

      • RESOURCE_NAME_FIELD_NUMBER

        public static final int RESOURCE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ASSET_GROUP_FIELD_NUMBER

        public static final int ASSET_GROUP_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APPROVAL_STATUS_FIELD_NUMBER

        public static final int APPROVAL_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISAPPROVAL_REASONS_FIELD_NUMBER

        public static final int DISAPPROVAL_REASONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEARCH_THEME_FIELD_NUMBER

        public static final int SEARCH_THEME_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getResourceName

        public java.lang.String getResourceName()
         Immutable. The resource name of the asset group signal.
         Asset group signal resource name have the form:
        
         `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface AssetGroupSignalOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the asset group signal.
         Asset group signal resource name have the form:
        
         `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface AssetGroupSignalOrBuilder
        Returns:
        The bytes for resourceName.
      • getAssetGroup

        public java.lang.String getAssetGroup()
         Immutable. The asset group which this asset group signal belongs to.
         
        string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getAssetGroup in interface AssetGroupSignalOrBuilder
        Returns:
        The assetGroup.
      • getAssetGroupBytes

        public com.google.protobuf.ByteString getAssetGroupBytes()
         Immutable. The asset group which this asset group signal belongs to.
         
        string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getAssetGroupBytes in interface AssetGroupSignalOrBuilder
        Returns:
        The bytes for assetGroup.
      • getApprovalStatusValue

        public int getApprovalStatusValue()
         Output only. Approval status is the output value for search theme signal
         after Google ads policy review. When using Audience signal, this field is
         not used and will be absent.
         
        .google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus approval_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApprovalStatusValue in interface AssetGroupSignalOrBuilder
        Returns:
        The enum numeric value on the wire for approvalStatus.
      • getApprovalStatus

        public AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus getApprovalStatus()
         Output only. Approval status is the output value for search theme signal
         after Google ads policy review. When using Audience signal, this field is
         not used and will be absent.
         
        .google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus approval_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getApprovalStatus in interface AssetGroupSignalOrBuilder
        Returns:
        The approvalStatus.
      • getDisapprovalReasonsList

        public com.google.protobuf.ProtocolStringList getDisapprovalReasonsList()
         Output only. Computed for SearchTheme signals.
         When using Audience signal, this field is not used and will be absent.
         
        repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisapprovalReasonsList in interface AssetGroupSignalOrBuilder
        Returns:
        A list containing the disapprovalReasons.
      • getDisapprovalReasonsCount

        public int getDisapprovalReasonsCount()
         Output only. Computed for SearchTheme signals.
         When using Audience signal, this field is not used and will be absent.
         
        repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisapprovalReasonsCount in interface AssetGroupSignalOrBuilder
        Returns:
        The count of disapprovalReasons.
      • getDisapprovalReasons

        public java.lang.String getDisapprovalReasons​(int index)
         Output only. Computed for SearchTheme signals.
         When using Audience signal, this field is not used and will be absent.
         
        repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisapprovalReasons in interface AssetGroupSignalOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The disapprovalReasons at the given index.
      • getDisapprovalReasonsBytes

        public com.google.protobuf.ByteString getDisapprovalReasonsBytes​(int index)
         Output only. Computed for SearchTheme signals.
         When using Audience signal, this field is not used and will be absent.
         
        repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDisapprovalReasonsBytes in interface AssetGroupSignalOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the disapprovalReasons at the given index.
      • hasAudience

        public boolean hasAudience()
         Immutable. The audience signal to be used by the performance max
         campaign.
         
        .google.ads.googleads.v15.common.AudienceInfo audience = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasAudience in interface AssetGroupSignalOrBuilder
        Returns:
        Whether the audience field is set.
      • getAudience

        public AudienceInfo getAudience()
         Immutable. The audience signal to be used by the performance max
         campaign.
         
        .google.ads.googleads.v15.common.AudienceInfo audience = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAudience in interface AssetGroupSignalOrBuilder
        Returns:
        The audience.
      • getAudienceOrBuilder

        public AudienceInfoOrBuilder getAudienceOrBuilder()
         Immutable. The audience signal to be used by the performance max
         campaign.
         
        .google.ads.googleads.v15.common.AudienceInfo audience = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getAudienceOrBuilder in interface AssetGroupSignalOrBuilder
      • hasSearchTheme

        public boolean hasSearchTheme()
         Immutable. The search_theme signal to be used by the performance max
         campaign.
         Mutate errors of search_theme criterion includes
         AssetGroupSignalError.UNSPECIFIED
         AssetGroupSignalError.UNKNOWN
         AssetGroupSignalError.TOO_MANY_WORDS
         AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION
         FieldError.REQUIRED
         StringFormatError.ILLEGAL_CHARS
         StringLengthError.TOO_LONG
         ResourceCountLimitExceededError.RESOURCE_LIMIT
         
        .google.ads.googleads.v15.common.SearchThemeInfo search_theme = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasSearchTheme in interface AssetGroupSignalOrBuilder
        Returns:
        Whether the searchTheme field is set.
      • getSearchTheme

        public SearchThemeInfo getSearchTheme()
         Immutable. The search_theme signal to be used by the performance max
         campaign.
         Mutate errors of search_theme criterion includes
         AssetGroupSignalError.UNSPECIFIED
         AssetGroupSignalError.UNKNOWN
         AssetGroupSignalError.TOO_MANY_WORDS
         AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION
         FieldError.REQUIRED
         StringFormatError.ILLEGAL_CHARS
         StringLengthError.TOO_LONG
         ResourceCountLimitExceededError.RESOURCE_LIMIT
         
        .google.ads.googleads.v15.common.SearchThemeInfo search_theme = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getSearchTheme in interface AssetGroupSignalOrBuilder
        Returns:
        The searchTheme.
      • getSearchThemeOrBuilder

        public SearchThemeInfoOrBuilder getSearchThemeOrBuilder()
         Immutable. The search_theme signal to be used by the performance max
         campaign.
         Mutate errors of search_theme criterion includes
         AssetGroupSignalError.UNSPECIFIED
         AssetGroupSignalError.UNKNOWN
         AssetGroupSignalError.TOO_MANY_WORDS
         AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION
         FieldError.REQUIRED
         StringFormatError.ILLEGAL_CHARS
         StringLengthError.TOO_LONG
         ResourceCountLimitExceededError.RESOURCE_LIMIT
         
        .google.ads.googleads.v15.common.SearchThemeInfo search_theme = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getSearchThemeOrBuilder in interface AssetGroupSignalOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AssetGroupSignal parseFrom​(java.nio.ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(java.nio.ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AssetGroupSignal parseFrom​(java.io.InputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AssetGroupSignal parseFrom​(java.io.InputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AssetGroupSignal parseDelimitedFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static AssetGroupSignal parseDelimitedFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AssetGroupSignal parseFrom​(com.google.protobuf.CodedInputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static AssetGroupSignal parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public AssetGroupSignal.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AssetGroupSignal.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AssetGroupSignal.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AssetGroupSignal> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AssetGroupSignal getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder