Class DynamicSearchAdsSearchTermView

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.DynamicSearchAdsSearchTermView
All Implemented Interfaces:
DynamicSearchAdsSearchTermViewOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DynamicSearchAdsSearchTermView extends com.google.protobuf.GeneratedMessageV3 implements DynamicSearchAdsSearchTermViewOrBuilder
 A dynamic search ads search term view.
 
Protobuf type google.ads.googleads.v18.resources.DynamicSearchAdsSearchTermView
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • SEARCH_TERM_FIELD_NUMBER

      public static final int SEARCH_TERM_FIELD_NUMBER
      See Also:
    • HEADLINE_FIELD_NUMBER

      public static final int HEADLINE_FIELD_NUMBER
      See Also:
    • LANDING_PAGE_FIELD_NUMBER

      public static final int LANDING_PAGE_FIELD_NUMBER
      See Also:
    • PAGE_URL_FIELD_NUMBER

      public static final int PAGE_URL_FIELD_NUMBER
      See Also:
    • HAS_NEGATIVE_KEYWORD_FIELD_NUMBER

      public static final int HAS_NEGATIVE_KEYWORD_FIELD_NUMBER
      See Also:
    • HAS_MATCHING_KEYWORD_FIELD_NUMBER

      public static final int HAS_MATCHING_KEYWORD_FIELD_NUMBER
      See Also:
    • HAS_NEGATIVE_URL_FIELD_NUMBER

      public static final int HAS_NEGATIVE_URL_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
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the dynamic search ads search term view.
       Dynamic search ads search term view resource names have the form:
      
       `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the dynamic search ads search term view.
       Dynamic search ads search term view resource names have the form:
      
       `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The bytes for resourceName.
    • hasSearchTerm

      public boolean hasSearchTerm()
       Output only. Search term
      
       This field is read-only.
       
      optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSearchTerm in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the searchTerm field is set.
    • getSearchTerm

      public String getSearchTerm()
       Output only. Search term
      
       This field is read-only.
       
      optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSearchTerm in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The searchTerm.
    • getSearchTermBytes

      public com.google.protobuf.ByteString getSearchTermBytes()
       Output only. Search term
      
       This field is read-only.
       
      optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSearchTermBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The bytes for searchTerm.
    • hasHeadline

      public boolean hasHeadline()
       Output only. The dynamically generated headline of the Dynamic Search Ad.
      
       This field is read-only.
       
      optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasHeadline in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the headline field is set.
    • getHeadline

      public String getHeadline()
       Output only. The dynamically generated headline of the Dynamic Search Ad.
      
       This field is read-only.
       
      optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHeadline in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The headline.
    • getHeadlineBytes

      public com.google.protobuf.ByteString getHeadlineBytes()
       Output only. The dynamically generated headline of the Dynamic Search Ad.
      
       This field is read-only.
       
      optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHeadlineBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The bytes for headline.
    • hasLandingPage

      public boolean hasLandingPage()
       Output only. The dynamically selected landing page URL of the impression.
      
       This field is read-only.
       
      optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLandingPage in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the landingPage field is set.
    • getLandingPage

      public String getLandingPage()
       Output only. The dynamically selected landing page URL of the impression.
      
       This field is read-only.
       
      optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLandingPage in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The landingPage.
    • getLandingPageBytes

      public com.google.protobuf.ByteString getLandingPageBytes()
       Output only. The dynamically selected landing page URL of the impression.
      
       This field is read-only.
       
      optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLandingPageBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The bytes for landingPage.
    • hasPageUrl

      public boolean hasPageUrl()
       Output only. The URL of page feed item served for the impression.
      
       This field is read-only.
       
      optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPageUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the pageUrl field is set.
    • getPageUrl

      public String getPageUrl()
       Output only. The URL of page feed item served for the impression.
      
       This field is read-only.
       
      optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPageUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The pageUrl.
    • getPageUrlBytes

      public com.google.protobuf.ByteString getPageUrlBytes()
       Output only. The URL of page feed item served for the impression.
      
       This field is read-only.
       
      optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPageUrlBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The bytes for pageUrl.
    • hasHasNegativeKeyword

      public boolean hasHasNegativeKeyword()
       Output only. True if query matches a negative keyword.
      
       This field is read-only.
       
      optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasHasNegativeKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the hasNegativeKeyword field is set.
    • getHasNegativeKeyword

      public boolean getHasNegativeKeyword()
       Output only. True if query matches a negative keyword.
      
       This field is read-only.
       
      optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHasNegativeKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The hasNegativeKeyword.
    • hasHasMatchingKeyword

      public boolean hasHasMatchingKeyword()
       Output only. True if query is added to targeted keywords.
      
       This field is read-only.
       
      optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasHasMatchingKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the hasMatchingKeyword field is set.
    • getHasMatchingKeyword

      public boolean getHasMatchingKeyword()
       Output only. True if query is added to targeted keywords.
      
       This field is read-only.
       
      optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHasMatchingKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The hasMatchingKeyword.
    • hasHasNegativeUrl

      public boolean hasHasNegativeUrl()
       Output only. True if query matches a negative url.
      
       This field is read-only.
       
      optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasHasNegativeUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      Whether the hasNegativeUrl field is set.
    • getHasNegativeUrl

      public boolean getHasNegativeUrl()
       Output only. True if query matches a negative url.
      
       This field is read-only.
       
      optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHasNegativeUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
      Returns:
      The hasNegativeUrl.
    • 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 DynamicSearchAdsSearchTermView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DynamicSearchAdsSearchTermView parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static DynamicSearchAdsSearchTermView parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static DynamicSearchAdsSearchTermView.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DynamicSearchAdsSearchTermView.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DynamicSearchAdsSearchTermView getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DynamicSearchAdsSearchTermView> parser()
    • getParserForType

      public com.google.protobuf.Parser<DynamicSearchAdsSearchTermView> 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 DynamicSearchAdsSearchTermView getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder