Interface TagSnippetOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TagSnippet, TagSnippet.Builder

    public interface TagSnippetOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getEventSnippet()
      The event snippet that works with the site tag to track actions that should be counted as conversions.
      com.google.protobuf.ByteString getEventSnippetBytes()
      The event snippet that works with the site tag to track actions that should be counted as conversions.
      java.lang.String getGlobalSiteTag()
      The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.
      com.google.protobuf.ByteString getGlobalSiteTagBytes()
      The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.
      TrackingCodePageFormatEnum.TrackingCodePageFormat getPageFormat()
      The format of the web page where the tracking tag and snippet will be installed, e.g.
      int getPageFormatValue()
      The format of the web page where the tracking tag and snippet will be installed, e.g.
      TrackingCodeTypeEnum.TrackingCodeType getType()
      The type of the generated tag snippets for tracking conversions.
      int getTypeValue()
      The type of the generated tag snippets for tracking conversions.
      boolean hasEventSnippet()
      The event snippet that works with the site tag to track actions that should be counted as conversions.
      boolean hasGlobalSiteTag()
      The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getTypeValue

        int getTypeValue()
         The type of the generated tag snippets for tracking conversions.
         
        .google.ads.googleads.v10.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        TrackingCodeTypeEnum.TrackingCodeType getType()
         The type of the generated tag snippets for tracking conversions.
         
        .google.ads.googleads.v10.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1;
        Returns:
        The type.
      • getPageFormatValue

        int getPageFormatValue()
         The format of the web page where the tracking tag and snippet will be
         installed, e.g. HTML.
         
        .google.ads.googleads.v10.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2;
        Returns:
        The enum numeric value on the wire for pageFormat.
      • getPageFormat

        TrackingCodePageFormatEnum.TrackingCodePageFormat getPageFormat()
         The format of the web page where the tracking tag and snippet will be
         installed, e.g. HTML.
         
        .google.ads.googleads.v10.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2;
        Returns:
        The pageFormat.
      • hasGlobalSiteTag

        boolean hasGlobalSiteTag()
         The site tag that adds visitors to your basic remarketing lists and sets
         new cookies on your domain.
         
        optional string global_site_tag = 5;
        Returns:
        Whether the globalSiteTag field is set.
      • getGlobalSiteTag

        java.lang.String getGlobalSiteTag()
         The site tag that adds visitors to your basic remarketing lists and sets
         new cookies on your domain.
         
        optional string global_site_tag = 5;
        Returns:
        The globalSiteTag.
      • getGlobalSiteTagBytes

        com.google.protobuf.ByteString getGlobalSiteTagBytes()
         The site tag that adds visitors to your basic remarketing lists and sets
         new cookies on your domain.
         
        optional string global_site_tag = 5;
        Returns:
        The bytes for globalSiteTag.
      • hasEventSnippet

        boolean hasEventSnippet()
         The event snippet that works with the site tag to track actions that
         should be counted as conversions.
         
        optional string event_snippet = 6;
        Returns:
        Whether the eventSnippet field is set.
      • getEventSnippet

        java.lang.String getEventSnippet()
         The event snippet that works with the site tag to track actions that
         should be counted as conversions.
         
        optional string event_snippet = 6;
        Returns:
        The eventSnippet.
      • getEventSnippetBytes

        com.google.protobuf.ByteString getEventSnippetBytes()
         The event snippet that works with the site tag to track actions that
         should be counted as conversions.
         
        optional string event_snippet = 6;
        Returns:
        The bytes for eventSnippet.