Class AssetGroupSignal

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AssetGroupSignal
All Implemented Interfaces:
AssetGroupSignalOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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.v18.resources.AssetGroupSignal
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ASSET_GROUP_FIELD_NUMBER

      public static final int ASSET_GROUP_FIELD_NUMBER
      See Also:
    • APPROVAL_STATUS_FIELD_NUMBER

      public static final int APPROVAL_STATUS_FIELD_NUMBER
      See Also:
    • DISAPPROVAL_REASONS_FIELD_NUMBER

      public static final int DISAPPROVAL_REASONS_FIELD_NUMBER
      See Also:
    • AUDIENCE_FIELD_NUMBER

      public static final int AUDIENCE_FIELD_NUMBER
      See Also:
    • SEARCH_THEME_FIELD_NUMBER

      public static final int SEARCH_THEME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected 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
    • getSignalCase

      public AssetGroupSignal.SignalCase getSignalCase()
      Specified by:
      getSignalCase in interface AssetGroupSignalOrBuilder
    • getResourceName

      public 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 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.v18.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

       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.v18.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 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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AssetGroupSignal parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AssetGroupSignal parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static AssetGroupSignal.Builder newBuilder()
    • newBuilder

      public static AssetGroupSignal.Builder newBuilder(AssetGroupSignal prototype)
    • 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
    • getDefaultInstance

      public static AssetGroupSignal getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AssetGroupSignal> parser()
    • 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