Enum Class ServedAssetFieldTypeEnum.ServedAssetFieldType
java.lang.Object
java.lang.Enum<ServedAssetFieldTypeEnum.ServedAssetFieldType>
com.google.ads.googleads.v18.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ServedAssetFieldTypeEnum.ServedAssetFieldType>,Constable
- Enclosing class:
- ServedAssetFieldTypeEnum
public static enum ServedAssetFieldTypeEnum.ServedAssetFieldType
extends Enum<ServedAssetFieldTypeEnum.ServedAssetFieldType>
implements com.google.protobuf.ProtocolMessageEnum
The possible asset field types.Protobuf enum
google.ads.googleads.v18.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis asset is used as an image.The asset is used as a business logo.The asset was used as business name.The asset was used as business name in portrait image.This asset is used as a call.The asset was used as a call-to-action.This asset is used as a callout.The asset was used in a description.The asset is used in description 1.The asset is used in description 2.The asset was used as description in portrait image.The asset was used in a headline.The asset is used in headline 1.The asset is used in headline 2.The asset is used in headline 3.The asset was used as a headline in portrait image.The asset was used as a landscape logo.The asset is used as a lead form.The asset was used as a logo.The asset was used in a long headline (used in MultiAssetResponsiveAd).The asset was used as a marketing image.The asset was used as a marketing image in portrait image.This asset is used as a mobile app.The asset was used as a portrait marketing image.This asset is used as a price.This asset is used as a promotion.This asset is used as a sitelink.The asset was used as a square marketing image.This asset is used as a structured snippet.The received value is not known in this version.No value has been specified.The asset was used as a YouTube video. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThis asset is used as an image.static final intThe asset is used as a business logo.static final intThe asset was used as business name in portrait image.static final intThe asset was used as business name.static final intThe asset was used as a call-to-action.static final intThis asset is used as a call.static final intThis asset is used as a callout.static final intThe asset is used in description 1.static final intThe asset is used in description 2.static final intThe asset was used as description in portrait image.static final intThe asset was used in a description.static final intThe asset is used in headline 1.static final intThe asset is used in headline 2.static final intThe asset is used in headline 3.static final intThe asset was used as a headline in portrait image.static final intThe asset was used in a headline.static final intThe asset was used as a landscape logo.static final intThe asset is used as a lead form.static final intThe asset was used as a logo.static final intThe asset was used in a long headline (used in MultiAssetResponsiveAd).static final intThe asset was used as a marketing image in portrait image.static final intThe asset was used as a marketing image.static final intThis asset is used as a mobile app.static final intThe asset was used as a portrait marketing image.static final intThis asset is used as a price.static final intThis asset is used as a promotion.static final intThis asset is used as a sitelink.static final intThe asset was used as a square marketing image.static final intThis asset is used as a structured snippet.static final intThe received value is not known in this version.static final intNo value has been specified.static final intThe asset was used as a YouTube video. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ServedAssetFieldTypeEnum.ServedAssetFieldType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
No value has been specified.
UNSPECIFIED = 0; -
UNKNOWN
The received value is not known in this version. This is a response-only value.
UNKNOWN = 1; -
HEADLINE_1
The asset is used in headline 1.
HEADLINE_1 = 2; -
HEADLINE_2
The asset is used in headline 2.
HEADLINE_2 = 3; -
HEADLINE_3
The asset is used in headline 3.
HEADLINE_3 = 4; -
DESCRIPTION_1
The asset is used in description 1.
DESCRIPTION_1 = 5; -
DESCRIPTION_2
The asset is used in description 2.
DESCRIPTION_2 = 6; -
HEADLINE
The asset was used in a headline. Use this only if there is only one headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3 enums
HEADLINE = 7; -
HEADLINE_IN_PORTRAIT
The asset was used as a headline in portrait image.
HEADLINE_IN_PORTRAIT = 8; -
LONG_HEADLINE
The asset was used in a long headline (used in MultiAssetResponsiveAd).
LONG_HEADLINE = 9; -
DESCRIPTION
The asset was used in a description. Use this only if there is only one description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@ enums
DESCRIPTION = 10; -
DESCRIPTION_IN_PORTRAIT
The asset was used as description in portrait image.
DESCRIPTION_IN_PORTRAIT = 11; -
BUSINESS_NAME_IN_PORTRAIT
The asset was used as business name in portrait image.
BUSINESS_NAME_IN_PORTRAIT = 12; -
BUSINESS_NAME
The asset was used as business name.
BUSINESS_NAME = 13; -
MARKETING_IMAGE
The asset was used as a marketing image.
MARKETING_IMAGE = 14; -
MARKETING_IMAGE_IN_PORTRAIT
The asset was used as a marketing image in portrait image.
MARKETING_IMAGE_IN_PORTRAIT = 15; -
SQUARE_MARKETING_IMAGE
The asset was used as a square marketing image.
SQUARE_MARKETING_IMAGE = 16; -
PORTRAIT_MARKETING_IMAGE
The asset was used as a portrait marketing image.
PORTRAIT_MARKETING_IMAGE = 17; -
LOGO
The asset was used as a logo.
LOGO = 18; -
LANDSCAPE_LOGO
The asset was used as a landscape logo.
LANDSCAPE_LOGO = 19; -
CALL_TO_ACTION
The asset was used as a call-to-action.
CALL_TO_ACTION = 20; -
YOU_TUBE_VIDEO
The asset was used as a YouTube video.
YOU_TUBE_VIDEO = 21; -
SITELINK
This asset is used as a sitelink.
SITELINK = 22; -
CALL
This asset is used as a call.
CALL = 23; -
MOBILE_APP
This asset is used as a mobile app.
MOBILE_APP = 24; -
CALLOUT
This asset is used as a callout.
CALLOUT = 25; -
STRUCTURED_SNIPPET
This asset is used as a structured snippet.
STRUCTURED_SNIPPET = 26; -
PRICE
This asset is used as a price.
PRICE = 27; -
PROMOTION
This asset is used as a promotion.
PROMOTION = 28; -
AD_IMAGE
This asset is used as an image.
AD_IMAGE = 29; -
LEAD_FORM
The asset is used as a lead form.
LEAD_FORM = 30; -
BUSINESS_LOGO
The asset is used as a business logo.
BUSINESS_LOGO = 31; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENo value has been specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received value is not known in this version. This is a response-only value.
UNKNOWN = 1;- See Also:
-
HEADLINE_1_VALUE
public static final int HEADLINE_1_VALUEThe asset is used in headline 1.
HEADLINE_1 = 2;- See Also:
-
HEADLINE_2_VALUE
public static final int HEADLINE_2_VALUEThe asset is used in headline 2.
HEADLINE_2 = 3;- See Also:
-
HEADLINE_3_VALUE
public static final int HEADLINE_3_VALUEThe asset is used in headline 3.
HEADLINE_3 = 4;- See Also:
-
DESCRIPTION_1_VALUE
public static final int DESCRIPTION_1_VALUEThe asset is used in description 1.
DESCRIPTION_1 = 5;- See Also:
-
DESCRIPTION_2_VALUE
public static final int DESCRIPTION_2_VALUEThe asset is used in description 2.
DESCRIPTION_2 = 6;- See Also:
-
HEADLINE_VALUE
public static final int HEADLINE_VALUEThe asset was used in a headline. Use this only if there is only one headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3 enums
HEADLINE = 7;- See Also:
-
HEADLINE_IN_PORTRAIT_VALUE
public static final int HEADLINE_IN_PORTRAIT_VALUEThe asset was used as a headline in portrait image.
HEADLINE_IN_PORTRAIT = 8;- See Also:
-
LONG_HEADLINE_VALUE
public static final int LONG_HEADLINE_VALUEThe asset was used in a long headline (used in MultiAssetResponsiveAd).
LONG_HEADLINE = 9;- See Also:
-
DESCRIPTION_VALUE
public static final int DESCRIPTION_VALUEThe asset was used in a description. Use this only if there is only one description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@ enums
DESCRIPTION = 10;- See Also:
-
DESCRIPTION_IN_PORTRAIT_VALUE
public static final int DESCRIPTION_IN_PORTRAIT_VALUEThe asset was used as description in portrait image.
DESCRIPTION_IN_PORTRAIT = 11;- See Also:
-
BUSINESS_NAME_IN_PORTRAIT_VALUE
public static final int BUSINESS_NAME_IN_PORTRAIT_VALUEThe asset was used as business name in portrait image.
BUSINESS_NAME_IN_PORTRAIT = 12;- See Also:
-
BUSINESS_NAME_VALUE
public static final int BUSINESS_NAME_VALUEThe asset was used as business name.
BUSINESS_NAME = 13;- See Also:
-
MARKETING_IMAGE_VALUE
public static final int MARKETING_IMAGE_VALUEThe asset was used as a marketing image.
MARKETING_IMAGE = 14;- See Also:
-
MARKETING_IMAGE_IN_PORTRAIT_VALUE
public static final int MARKETING_IMAGE_IN_PORTRAIT_VALUEThe asset was used as a marketing image in portrait image.
MARKETING_IMAGE_IN_PORTRAIT = 15;- See Also:
-
SQUARE_MARKETING_IMAGE_VALUE
public static final int SQUARE_MARKETING_IMAGE_VALUEThe asset was used as a square marketing image.
SQUARE_MARKETING_IMAGE = 16;- See Also:
-
PORTRAIT_MARKETING_IMAGE_VALUE
public static final int PORTRAIT_MARKETING_IMAGE_VALUEThe asset was used as a portrait marketing image.
PORTRAIT_MARKETING_IMAGE = 17;- See Also:
-
LOGO_VALUE
public static final int LOGO_VALUEThe asset was used as a logo.
LOGO = 18;- See Also:
-
LANDSCAPE_LOGO_VALUE
public static final int LANDSCAPE_LOGO_VALUEThe asset was used as a landscape logo.
LANDSCAPE_LOGO = 19;- See Also:
-
CALL_TO_ACTION_VALUE
public static final int CALL_TO_ACTION_VALUEThe asset was used as a call-to-action.
CALL_TO_ACTION = 20;- See Also:
-
YOU_TUBE_VIDEO_VALUE
public static final int YOU_TUBE_VIDEO_VALUEThe asset was used as a YouTube video.
YOU_TUBE_VIDEO = 21;- See Also:
-
SITELINK_VALUE
public static final int SITELINK_VALUEThis asset is used as a sitelink.
SITELINK = 22;- See Also:
-
CALL_VALUE
public static final int CALL_VALUEThis asset is used as a call.
CALL = 23;- See Also:
-
MOBILE_APP_VALUE
public static final int MOBILE_APP_VALUEThis asset is used as a mobile app.
MOBILE_APP = 24;- See Also:
-
CALLOUT_VALUE
public static final int CALLOUT_VALUEThis asset is used as a callout.
CALLOUT = 25;- See Also:
-
STRUCTURED_SNIPPET_VALUE
public static final int STRUCTURED_SNIPPET_VALUEThis asset is used as a structured snippet.
STRUCTURED_SNIPPET = 26;- See Also:
-
PRICE_VALUE
public static final int PRICE_VALUEThis asset is used as a price.
PRICE = 27;- See Also:
-
PROMOTION_VALUE
public static final int PROMOTION_VALUEThis asset is used as a promotion.
PROMOTION = 28;- See Also:
-
AD_IMAGE_VALUE
public static final int AD_IMAGE_VALUEThis asset is used as an image.
AD_IMAGE = 29;- See Also:
-
LEAD_FORM_VALUE
public static final int LEAD_FORM_VALUEThe asset is used as a lead form.
LEAD_FORM = 30;- See Also:
-
BUSINESS_LOGO_VALUE
public static final int BUSINESS_LOGO_VALUEThe asset is used as a business logo.
BUSINESS_LOGO = 31;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ServedAssetFieldTypeEnum.ServedAssetFieldType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ServedAssetFieldTypeEnum.ServedAssetFieldType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-