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

    Modifier and Type
    Method
    Description
    The event snippet that works with the site tag to track actions that should be counted as conversions.
    com.google.protobuf.ByteString
    The event snippet that works with the site tag to track actions that should be counted as conversions.
    The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.
    com.google.protobuf.ByteString
    The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.
    The format of the web page where the tracking tag and snippet will be installed, for example, HTML.
    int
    The format of the web page where the tracking tag and snippet will be installed, for example, HTML.
    The type of the generated tag snippets for tracking conversions.
    int
    The type of the generated tag snippets for tracking conversions.
    boolean
    The event snippet that works with the site tag to track actions that should be counted as conversions.
    boolean
    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 Details

    • getTypeValue

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

       The type of the generated tag snippets for tracking conversions.
       
      .google.ads.googleads.v18.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, for example, HTML.
       
      .google.ads.googleads.v18.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2;
      Returns:
      The enum numeric value on the wire for pageFormat.
    • getPageFormat

       The format of the web page where the tracking tag and snippet will be
       installed, for example, HTML.
       
      .google.ads.googleads.v18.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

      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

      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.