Enum PlaceholderTypeEnum.PlaceholderType
- java.lang.Object
-
- java.lang.Enum<PlaceholderTypeEnum.PlaceholderType>
-
- com.google.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<PlaceholderTypeEnum.PlaceholderType>
- Enclosing class:
- PlaceholderTypeEnum
public static enum PlaceholderTypeEnum.PlaceholderType extends java.lang.Enum<PlaceholderTypeEnum.PlaceholderType> implements com.google.protobuf.ProtocolMessageEnum
Possible placeholder types for a feed mapping.
Protobuf enumgoogle.ads.googleads.v10.enums.PlaceholderTypeEnum.PlaceholderType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_CUSTOMIZERLets you dynamically inject custom data into the title and description of your ads.AFFILIATE_LOCATIONIf you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.APPLets you provide users with a link that points to a mobile app in addition to a website.CALLLets you attach a phone number to an ad, allowing customers to call directly from the ad.CALLOUTLets you include additional text with your search ads that provide detailed information about your business, including products and services you offer.DYNAMIC_CUSTOMIndicates that this feed is for a custom dynamic remarketing type.DYNAMIC_EDUCATIONIndicates that this feed is for education dynamic remarketing.DYNAMIC_FLIGHTIndicates that this feed is for flight dynamic remarketing.DYNAMIC_HOTELIndicates that this feed is for hotels and rentals dynamic remarketing.DYNAMIC_JOBIndicates that this feed is for job dynamic remarketing.DYNAMIC_LOCALIndicates that this feed is for local deals dynamic remarketing.DYNAMIC_REAL_ESTATEIndicates that this feed is for real estate dynamic remarketing.DYNAMIC_TRAVELIndicates that this feed is for travel dynamic remarketing.IMAGELets you attach an image to an ad.LOCATIONLets you show locations of businesses from your Business Profile in your ad.MESSAGEAllows users to see your ad, click an icon, and contact you directly by text message.PRICELets you display prices for a list of items along with your ads.PROMOTIONAllows you to highlight sales and other promotions that let users see how they can save by buying now.SITELINKLets you show links in your ad to pages from your website, including the main landing page.STRUCTURED_SNIPPETLets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intAD_CUSTOMIZER_VALUELets you dynamically inject custom data into the title and description of your ads.static intAFFILIATE_LOCATION_VALUEIf you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.static intAPP_VALUELets you provide users with a link that points to a mobile app in addition to a website.static intCALL_VALUELets you attach a phone number to an ad, allowing customers to call directly from the ad.static intCALLOUT_VALUELets you include additional text with your search ads that provide detailed information about your business, including products and services you offer.static intDYNAMIC_CUSTOM_VALUEIndicates that this feed is for a custom dynamic remarketing type.static intDYNAMIC_EDUCATION_VALUEIndicates that this feed is for education dynamic remarketing.static intDYNAMIC_FLIGHT_VALUEIndicates that this feed is for flight dynamic remarketing.static intDYNAMIC_HOTEL_VALUEIndicates that this feed is for hotels and rentals dynamic remarketing.static intDYNAMIC_JOB_VALUEIndicates that this feed is for job dynamic remarketing.static intDYNAMIC_LOCAL_VALUEIndicates that this feed is for local deals dynamic remarketing.static intDYNAMIC_REAL_ESTATE_VALUEIndicates that this feed is for real estate dynamic remarketing.static intDYNAMIC_TRAVEL_VALUEIndicates that this feed is for travel dynamic remarketing.static intIMAGE_VALUELets you attach an image to an ad.static intLOCATION_VALUELets you show locations of businesses from your Business Profile in your ad.static intMESSAGE_VALUEAllows users to see your ad, click an icon, and contact you directly by text message.static intPRICE_VALUELets you display prices for a list of items along with your ads.static intPROMOTION_VALUEAllows you to highlight sales and other promotions that let users see how they can save by buying now.static intSITELINK_VALUELets you show links in your ad to pages from your website, including the main landing page.static intSTRUCTURED_SNIPPET_VALUELets you add more info to your ad, specific to some predefined categories such as types, brands, styles, etc.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PlaceholderTypeEnum.PlaceholderTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<PlaceholderTypeEnum.PlaceholderType>internalGetValueMap()static PlaceholderTypeEnum.PlaceholderTypevalueOf(int value)Deprecated.static PlaceholderTypeEnum.PlaceholderTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PlaceholderTypeEnum.PlaceholderTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PlaceholderTypeEnum.PlaceholderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final PlaceholderTypeEnum.PlaceholderType UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final PlaceholderTypeEnum.PlaceholderType UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
SITELINK
public static final PlaceholderTypeEnum.PlaceholderType SITELINK
Lets you show links in your ad to pages from your website, including the main landing page.
SITELINK = 2;
-
CALL
public static final PlaceholderTypeEnum.PlaceholderType CALL
Lets you attach a phone number to an ad, allowing customers to call directly from the ad.
CALL = 3;
-
APP
public static final PlaceholderTypeEnum.PlaceholderType APP
Lets you provide users with a link that points to a mobile app in addition to a website.
APP = 4;
-
LOCATION
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType PROMOTION
Allows you to highlight sales and other promotions that let users see how they can save by buying now.
PROMOTION = 11;
-
AD_CUSTOMIZER
public static final PlaceholderTypeEnum.PlaceholderType AD_CUSTOMIZER
Lets you dynamically inject custom data into the title and description of your ads.
AD_CUSTOMIZER = 12;
-
DYNAMIC_EDUCATION
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_EDUCATION
Indicates that this feed is for education dynamic remarketing.
DYNAMIC_EDUCATION = 13;
-
DYNAMIC_FLIGHT
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_FLIGHT
Indicates that this feed is for flight dynamic remarketing.
DYNAMIC_FLIGHT = 14;
-
DYNAMIC_CUSTOM
public static final PlaceholderTypeEnum.PlaceholderType 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
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_HOTEL
Indicates that this feed is for hotels and rentals dynamic remarketing.
DYNAMIC_HOTEL = 16;
-
DYNAMIC_REAL_ESTATE
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_REAL_ESTATE
Indicates that this feed is for real estate dynamic remarketing.
DYNAMIC_REAL_ESTATE = 17;
-
DYNAMIC_TRAVEL
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_TRAVEL
Indicates that this feed is for travel dynamic remarketing.
DYNAMIC_TRAVEL = 18;
-
DYNAMIC_LOCAL
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_LOCAL
Indicates that this feed is for local deals dynamic remarketing.
DYNAMIC_LOCAL = 19;
-
DYNAMIC_JOB
public static final PlaceholderTypeEnum.PlaceholderType DYNAMIC_JOB
Indicates that this feed is for job dynamic remarketing.
DYNAMIC_JOB = 20;
-
IMAGE
public static final PlaceholderTypeEnum.PlaceholderType IMAGE
Lets you attach an image to an ad.
IMAGE = 21;
-
UNRECOGNIZED
public static final PlaceholderTypeEnum.PlaceholderType UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
SITELINK_VALUE
public static final int SITELINK_VALUE
Lets you show links in your ad to pages from your website, including the main landing page.
SITELINK = 2;- See Also:
- Constant Field Values
-
CALL_VALUE
public static final int CALL_VALUE
Lets you attach a phone number to an ad, allowing customers to call directly from the ad.
CALL = 3;- See Also:
- Constant Field Values
-
APP_VALUE
public static final int APP_VALUE
Lets you provide users with a link that points to a mobile app in addition to a website.
APP = 4;- See Also:
- Constant Field Values
-
LOCATION_VALUE
public static final int LOCATION_VALUE
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;- See Also:
- Constant Field Values
-
AFFILIATE_LOCATION_VALUE
public static final int AFFILIATE_LOCATION_VALUE
If you sell your product through retail chains, affiliate location extensions let you show nearby stores that carry your products.
AFFILIATE_LOCATION = 6;- See Also:
- Constant Field Values
-
CALLOUT_VALUE
public static final int CALLOUT_VALUE
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;- See Also:
- Constant Field Values
-
STRUCTURED_SNIPPET_VALUE
public static final int STRUCTURED_SNIPPET_VALUE
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;- See Also:
- Constant Field Values
-
MESSAGE_VALUE
public static final int MESSAGE_VALUE
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;- See Also:
- Constant Field Values
-
PRICE_VALUE
public static final int PRICE_VALUE
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;- See Also:
- Constant Field Values
-
PROMOTION_VALUE
public static final int PROMOTION_VALUE
Allows you to highlight sales and other promotions that let users see how they can save by buying now.
PROMOTION = 11;- See Also:
- Constant Field Values
-
AD_CUSTOMIZER_VALUE
public static final int AD_CUSTOMIZER_VALUE
Lets you dynamically inject custom data into the title and description of your ads.
AD_CUSTOMIZER = 12;- See Also:
- Constant Field Values
-
DYNAMIC_EDUCATION_VALUE
public static final int DYNAMIC_EDUCATION_VALUE
Indicates that this feed is for education dynamic remarketing.
DYNAMIC_EDUCATION = 13;- See Also:
- Constant Field Values
-
DYNAMIC_FLIGHT_VALUE
public static final int DYNAMIC_FLIGHT_VALUE
Indicates that this feed is for flight dynamic remarketing.
DYNAMIC_FLIGHT = 14;- See Also:
- Constant Field Values
-
DYNAMIC_CUSTOM_VALUE
public static final int DYNAMIC_CUSTOM_VALUE
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;- See Also:
- Constant Field Values
-
DYNAMIC_HOTEL_VALUE
public static final int DYNAMIC_HOTEL_VALUE
Indicates that this feed is for hotels and rentals dynamic remarketing.
DYNAMIC_HOTEL = 16;- See Also:
- Constant Field Values
-
DYNAMIC_REAL_ESTATE_VALUE
public static final int DYNAMIC_REAL_ESTATE_VALUE
Indicates that this feed is for real estate dynamic remarketing.
DYNAMIC_REAL_ESTATE = 17;- See Also:
- Constant Field Values
-
DYNAMIC_TRAVEL_VALUE
public static final int DYNAMIC_TRAVEL_VALUE
Indicates that this feed is for travel dynamic remarketing.
DYNAMIC_TRAVEL = 18;- See Also:
- Constant Field Values
-
DYNAMIC_LOCAL_VALUE
public static final int DYNAMIC_LOCAL_VALUE
Indicates that this feed is for local deals dynamic remarketing.
DYNAMIC_LOCAL = 19;- See Also:
- Constant Field Values
-
DYNAMIC_JOB_VALUE
public static final int DYNAMIC_JOB_VALUE
Indicates that this feed is for job dynamic remarketing.
DYNAMIC_JOB = 20;- See Also:
- Constant Field Values
-
IMAGE_VALUE
public static final int IMAGE_VALUE
Lets you attach an image to an ad.
IMAGE = 21;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PlaceholderTypeEnum.PlaceholderType[] 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 (PlaceholderTypeEnum.PlaceholderType c : PlaceholderTypeEnum.PlaceholderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlaceholderTypeEnum.PlaceholderType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static PlaceholderTypeEnum.PlaceholderType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static PlaceholderTypeEnum.PlaceholderType forNumber(int value)
- 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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-