Enum AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement>
    Enclosing class:
    AdxExt.ImpExt.CreativeEnforcementSettings

    public static enum AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement
    extends Enum<AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement>
    implements com.google.protobuf.ProtocolMessageEnum
     Creative policy enforcement level that applies to this request.
     Creatives that don't adhere to the specified policy will be filtered
     before the auction. The status of the creatives with their respective
     policies can be retrieved via Creative API.
     https://developers.google.com/authorized-buyers/apis/guides/rtb-api/creatives
     Bids on deals may override the policy enforcement applicable to the
     request.
     
    Protobuf enum com.google.doubleclick.ImpExt.CreativeEnforcementSettings.PolicyEnforcement
    • Enum Constant Detail

      • POLICY_ENFORCEMENT_PLATFORM_POLICY

        public static final AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement POLICY_ENFORCEMENT_PLATFORM_POLICY
         Baseline policy for all ads serving through any of Google's ads
         platform products. Learn more at:
         https://support.google.com/platformspolicy/answer/3013851.
         
        POLICY_ENFORCEMENT_PLATFORM_POLICY = 1;
      • POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY

        public static final AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY
         Policy for ads serving through Google's ad network. This includes the
         baseline policy for all ads serving through any of Google's ads
         platform products. Learn more at:
         https://support.google.com/authorizedbuyers/answer/1325008.
         
        POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY = 2;
    • Field Detail

      • POLICY_ENFORCEMENT_UNKNOWN_VALUE

        public static final int POLICY_ENFORCEMENT_UNKNOWN_VALUE
        POLICY_ENFORCEMENT_UNKNOWN = 0;
        See Also:
        Constant Field Values
      • POLICY_ENFORCEMENT_PLATFORM_POLICY_VALUE

        public static final int POLICY_ENFORCEMENT_PLATFORM_POLICY_VALUE
         Baseline policy for all ads serving through any of Google's ads
         platform products. Learn more at:
         https://support.google.com/platformspolicy/answer/3013851.
         
        POLICY_ENFORCEMENT_PLATFORM_POLICY = 1;
        See Also:
        Constant Field Values
      • POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY_VALUE

        public static final int POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY_VALUE
         Policy for ads serving through Google's ad network. This includes the
         baseline policy for all ads serving through any of Google's ads
         platform products. Learn more at:
         https://support.google.com/authorizedbuyers/answer/1325008.
         
        POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement c : AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static AdxExt.ImpExt.CreativeEnforcementSettings.PolicyEnforcement valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null