Enum Class PlaceholderTypeEnum.PlaceholderType
java.lang.Object
java.lang.Enum<PlaceholderTypeEnum.PlaceholderType>
com.google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlaceholderTypeEnum.PlaceholderType>,Constable
- Enclosing class:
- PlaceholderTypeEnum
public static enum PlaceholderTypeEnum.PlaceholderType
extends Enum<PlaceholderTypeEnum.PlaceholderType>
implements com.google.protobuf.ProtocolMessageEnum
Possible placeholder types for a feed mapping.Protobuf enum
google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLets you dynamically inject custom data into the title and description of your ads.If you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.Lets you provide users with a link that points to a mobile app in addition to a website.Lets you attach a phone number to an ad, allowing customers to call directly from the ad.Lets you include additional text with your search ads that provide detailed information about your business, including products and services you offer.Indicates that this feed is for a custom dynamic remarketing type.Indicates that this feed is for education dynamic remarketing.Indicates that this feed is for flight dynamic remarketing.Indicates that this feed is for hotels and rentals dynamic remarketing.Indicates that this feed is for job dynamic remarketing.Indicates that this feed is for local deals dynamic remarketing.Indicates that this feed is for real estate dynamic remarketing.Indicates that this feed is for travel dynamic remarketing.Lets you attach an image to an ad.Lets you show locations of businesses from your Business Profile in your ad.Allows users to see your ad, click an icon, and contact you directly by text message.Lets you display prices for a list of items along with your ads.Lets you highlight sales and other promotions that let users see how they can save by buying now.Lets you show links in your ad to pages from your website, including the main landing page.Lets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc.Used for return value only.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLets you dynamically inject custom data into the title and description of your ads.static final intIf you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.static final intLets you provide users with a link that points to a mobile app in addition to a website.static final intLets you attach a phone number to an ad, allowing customers to call directly from the ad.static final intLets you include additional text with your search ads that provide detailed information about your business, including products and services you offer.static final intIndicates that this feed is for a custom dynamic remarketing type.static final intIndicates that this feed is for education dynamic remarketing.static final intIndicates that this feed is for flight dynamic remarketing.static final intIndicates that this feed is for hotels and rentals dynamic remarketing.static final intIndicates that this feed is for job dynamic remarketing.static final intIndicates that this feed is for local deals dynamic remarketing.static final intIndicates that this feed is for real estate dynamic remarketing.static final intIndicates that this feed is for travel dynamic remarketing.static final intLets you attach an image to an ad.static final intLets you show locations of businesses from your Business Profile in your ad.static final intAllows users to see your ad, click an icon, and contact you directly by text message.static final intLets you display prices for a list of items along with your ads.static final intLets you highlight sales and other promotions that let users see how they can save by buying now.static final intLets you show links in your ad to pages from your website, including the main landing page.static final intLets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc.static final intUsed for return value only.static final intNot specified. -
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<PlaceholderTypeEnum.PlaceholderType>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.static PlaceholderTypeEnum.PlaceholderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
SITELINK
Lets you show links in your ad to pages from your website, including the main landing page.
SITELINK = 2; -
CALL
Lets you attach a phone number to an ad, allowing customers to call directly from the ad.
CALL = 3; -
APP
Lets you provide users with a link that points to a mobile app in addition to a website.
APP = 4; -
LOCATION
Lets you show locations of businesses from your Business Profile in your ad. This helps people find your locations by showing your ads with your address, a map to your location, or the distance to your business. This extension type is useful to draw customers to your brick-and-mortar location.
LOCATION = 5; -
AFFILIATE_LOCATION
If you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.
AFFILIATE_LOCATION = 6; -
CALLOUT
Lets you include additional text with your search ads that provide detailed information about your business, including products and services you offer. Callouts appear in ads at the top and bottom of Google search results.
CALLOUT = 7; -
STRUCTURED_SNIPPET
Lets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values are required.
STRUCTURED_SNIPPET = 8; -
MESSAGE
Allows users to see your ad, click an icon, and contact you directly by text message. With one tap on your ad, people can contact you to book an appointment, get a quote, ask for information, or request a service.
MESSAGE = 9; -
PRICE
Lets you display prices for a list of items along with your ads. A price feed is composed of three to eight price table rows.
PRICE = 10; -
PROMOTION
Lets you highlight sales and other promotions that let users see how they can save by buying now.
PROMOTION = 11; -
AD_CUSTOMIZER
Lets you dynamically inject custom data into the title and description of your ads.
AD_CUSTOMIZER = 12; -
DYNAMIC_EDUCATION
Indicates that this feed is for education dynamic remarketing.
DYNAMIC_EDUCATION = 13; -
DYNAMIC_FLIGHT
Indicates that this feed is for flight dynamic remarketing.
DYNAMIC_FLIGHT = 14; -
DYNAMIC_CUSTOM
Indicates that this feed is for a custom dynamic remarketing type. Use this only if the other business types don't apply to your products or services.
DYNAMIC_CUSTOM = 15; -
DYNAMIC_HOTEL
Indicates that this feed is for hotels and rentals dynamic remarketing.
DYNAMIC_HOTEL = 16; -
DYNAMIC_REAL_ESTATE
Indicates that this feed is for real estate dynamic remarketing.
DYNAMIC_REAL_ESTATE = 17; -
DYNAMIC_TRAVEL
Indicates that this feed is for travel dynamic remarketing.
DYNAMIC_TRAVEL = 18; -
DYNAMIC_LOCAL
Indicates that this feed is for local deals dynamic remarketing.
DYNAMIC_LOCAL = 19; -
DYNAMIC_JOB
Indicates that this feed is for job dynamic remarketing.
DYNAMIC_JOB = 20; -
IMAGE
Lets you attach an image to an ad.
IMAGE = 21; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
SITELINK_VALUE
public static final int SITELINK_VALUELets you show links in your ad to pages from your website, including the main landing page.
SITELINK = 2;- See Also:
-
CALL_VALUE
public static final int CALL_VALUELets you attach a phone number to an ad, allowing customers to call directly from the ad.
CALL = 3;- See Also:
-
APP_VALUE
public static final int APP_VALUELets you provide users with a link that points to a mobile app in addition to a website.
APP = 4;- See Also:
-
LOCATION_VALUE
public static final int LOCATION_VALUELets you show locations of businesses from your Business Profile in your ad. This helps people find your locations by showing your ads with your address, a map to your location, or the distance to your business. This extension type is useful to draw customers to your brick-and-mortar location.
LOCATION = 5;- See Also:
-
AFFILIATE_LOCATION_VALUE
public static final int AFFILIATE_LOCATION_VALUEIf you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.
AFFILIATE_LOCATION = 6;- See Also:
-
CALLOUT_VALUE
public static final int CALLOUT_VALUELets you include additional text with your search ads that provide detailed information about your business, including products and services you offer. Callouts appear in ads at the top and bottom of Google search results.
CALLOUT = 7;- See Also:
-
STRUCTURED_SNIPPET_VALUE
public static final int STRUCTURED_SNIPPET_VALUELets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values are required.
STRUCTURED_SNIPPET = 8;- See Also:
-
MESSAGE_VALUE
public static final int MESSAGE_VALUEAllows users to see your ad, click an icon, and contact you directly by text message. With one tap on your ad, people can contact you to book an appointment, get a quote, ask for information, or request a service.
MESSAGE = 9;- See Also:
-
PRICE_VALUE
public static final int PRICE_VALUELets you display prices for a list of items along with your ads. A price feed is composed of three to eight price table rows.
PRICE = 10;- See Also:
-
PROMOTION_VALUE
public static final int PROMOTION_VALUELets you highlight sales and other promotions that let users see how they can save by buying now.
PROMOTION = 11;- See Also:
-
AD_CUSTOMIZER_VALUE
public static final int AD_CUSTOMIZER_VALUELets you dynamically inject custom data into the title and description of your ads.
AD_CUSTOMIZER = 12;- See Also:
-
DYNAMIC_EDUCATION_VALUE
public static final int DYNAMIC_EDUCATION_VALUEIndicates that this feed is for education dynamic remarketing.
DYNAMIC_EDUCATION = 13;- See Also:
-
DYNAMIC_FLIGHT_VALUE
public static final int DYNAMIC_FLIGHT_VALUEIndicates that this feed is for flight dynamic remarketing.
DYNAMIC_FLIGHT = 14;- See Also:
-
DYNAMIC_CUSTOM_VALUE
public static final int DYNAMIC_CUSTOM_VALUEIndicates that this feed is for a custom dynamic remarketing type. Use this only if the other business types don't apply to your products or services.
DYNAMIC_CUSTOM = 15;- See Also:
-
DYNAMIC_HOTEL_VALUE
public static final int DYNAMIC_HOTEL_VALUEIndicates that this feed is for hotels and rentals dynamic remarketing.
DYNAMIC_HOTEL = 16;- See Also:
-
DYNAMIC_REAL_ESTATE_VALUE
public static final int DYNAMIC_REAL_ESTATE_VALUEIndicates that this feed is for real estate dynamic remarketing.
DYNAMIC_REAL_ESTATE = 17;- See Also:
-
DYNAMIC_TRAVEL_VALUE
public static final int DYNAMIC_TRAVEL_VALUEIndicates that this feed is for travel dynamic remarketing.
DYNAMIC_TRAVEL = 18;- See Also:
-
DYNAMIC_LOCAL_VALUE
public static final int DYNAMIC_LOCAL_VALUEIndicates that this feed is for local deals dynamic remarketing.
DYNAMIC_LOCAL = 19;- See Also:
-
DYNAMIC_JOB_VALUE
public static final int DYNAMIC_JOB_VALUEIndicates that this feed is for job dynamic remarketing.
DYNAMIC_JOB = 20;- See Also:
-
IMAGE_VALUE
public static final int IMAGE_VALUELets you attach an image to an ad.
IMAGE = 21;- 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<PlaceholderTypeEnum.PlaceholderType> 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 PlaceholderTypeEnum.PlaceholderType 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
-