Class Campaign.PmaxCampaignSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.resources.Campaign.PmaxCampaignSettings
All Implemented Interfaces:
Campaign.PmaxCampaignSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Campaign

public static final class Campaign.PmaxCampaignSettings extends com.google.protobuf.GeneratedMessage implements Campaign.PmaxCampaignSettingsOrBuilder
 Settings for Performance Max campaigns.
 
Protobuf type google.ads.googleads.v25.resources.Campaign.PmaxCampaignSettings
See Also:
  • Field Details

    • BRAND_TARGETING_OVERRIDES_FIELD_NUMBER

      public static final int BRAND_TARGETING_OVERRIDES_FIELD_NUMBER
      See Also:
    • LOCAL_SERVICES_PMAX_CAMPAIGN_SETTINGS_FIELD_NUMBER

      public static final int LOCAL_SERVICES_PMAX_CAMPAIGN_SETTINGS_FIELD_NUMBER
      See Also:
    • LOCAL_SERVICES_ENABLED_FIELD_NUMBER

      public static final int LOCAL_SERVICES_ENABLED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasBrandTargetingOverrides

      public boolean hasBrandTargetingOverrides()
       Overrides of brand targeting for various ad types.
       
      .google.ads.googleads.v25.resources.Campaign.PmaxCampaignSettings.BrandTargetingOverrides brand_targeting_overrides = 1;
      Specified by:
      hasBrandTargetingOverrides in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      Whether the brandTargetingOverrides field is set.
    • getBrandTargetingOverrides

      public Campaign.PmaxCampaignSettings.BrandTargetingOverrides getBrandTargetingOverrides()
       Overrides of brand targeting for various ad types.
       
      .google.ads.googleads.v25.resources.Campaign.PmaxCampaignSettings.BrandTargetingOverrides brand_targeting_overrides = 1;
      Specified by:
      getBrandTargetingOverrides in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      The brandTargetingOverrides.
    • getBrandTargetingOverridesOrBuilder

      public Campaign.PmaxCampaignSettings.BrandTargetingOverridesOrBuilder getBrandTargetingOverridesOrBuilder()
       Overrides of brand targeting for various ad types.
       
      .google.ads.googleads.v25.resources.Campaign.PmaxCampaignSettings.BrandTargetingOverrides brand_targeting_overrides = 1;
      Specified by:
      getBrandTargetingOverridesOrBuilder in interface Campaign.PmaxCampaignSettingsOrBuilder
    • hasLocalServicesPmaxCampaignSettings

      public boolean hasLocalServicesPmaxCampaignSettings()
       The Local Services Campaign related settings. Only updates are available
       for existing Local Services Pmax campaigns.
       
      .google.ads.googleads.v25.resources.Campaign.LocalServicesPmaxCampaignSettings local_services_pmax_campaign_settings = 2;
      Specified by:
      hasLocalServicesPmaxCampaignSettings in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      Whether the localServicesPmaxCampaignSettings field is set.
    • getLocalServicesPmaxCampaignSettings

      public Campaign.LocalServicesPmaxCampaignSettings getLocalServicesPmaxCampaignSettings()
       The Local Services Campaign related settings. Only updates are available
       for existing Local Services Pmax campaigns.
       
      .google.ads.googleads.v25.resources.Campaign.LocalServicesPmaxCampaignSettings local_services_pmax_campaign_settings = 2;
      Specified by:
      getLocalServicesPmaxCampaignSettings in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      The localServicesPmaxCampaignSettings.
    • getLocalServicesPmaxCampaignSettingsOrBuilder

      public Campaign.LocalServicesPmaxCampaignSettingsOrBuilder getLocalServicesPmaxCampaignSettingsOrBuilder()
       The Local Services Campaign related settings. Only updates are available
       for existing Local Services Pmax campaigns.
       
      .google.ads.googleads.v25.resources.Campaign.LocalServicesPmaxCampaignSettings local_services_pmax_campaign_settings = 2;
      Specified by:
      getLocalServicesPmaxCampaignSettingsOrBuilder in interface Campaign.PmaxCampaignSettingsOrBuilder
    • hasLocalServicesEnabled

      public boolean hasLocalServicesEnabled()
       Output only. Indicates whether the Performance Max campaign is a Local
       Services campaign.
       
      optional bool local_services_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLocalServicesEnabled in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      Whether the localServicesEnabled field is set.
    • getLocalServicesEnabled

      public boolean getLocalServicesEnabled()
       Output only. Indicates whether the Performance Max campaign is a Local
       Services campaign.
       
      optional bool local_services_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocalServicesEnabled in interface Campaign.PmaxCampaignSettingsOrBuilder
      Returns:
      The localServicesEnabled.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Campaign.PmaxCampaignSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Campaign.PmaxCampaignSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Campaign.PmaxCampaignSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Campaign.PmaxCampaignSettings.Builder newBuilder()
    • newBuilder

    • toBuilder

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

      protected Campaign.PmaxCampaignSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Campaign.PmaxCampaignSettings getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Campaign.PmaxCampaignSettings> 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.GeneratedMessage
    • getDefaultInstanceForType

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