Class Asset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.Asset
-
- All Implemented Interfaces:
AssetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class Asset extends com.google.protobuf.GeneratedMessageV3 implements AssetOrBuilder
Asset is a part of an ad which can be shared across multiple ads. It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. Assets are immutable and cannot be removed. To stop an asset from serving, remove the asset from the entity that is using it.
Protobuf typegoogle.ads.googleads.v10.resources.Asset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsset.AssetDataCasestatic classAsset.BuilderAsset is a part of an ad which can be shared across multiple ads.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Asset.AssetDataCasegetAssetDataCase()BookOnGoogleAssetgetBookOnGoogleAsset()A book on google asset.BookOnGoogleAssetOrBuildergetBookOnGoogleAssetOrBuilder()A book on google asset.CallAssetgetCallAsset()A call asset.CallAssetOrBuildergetCallAssetOrBuilder()A call asset.CalloutAssetgetCalloutAsset()A callout asset.CalloutAssetOrBuildergetCalloutAssetOrBuilder()A callout asset.CallToActionAssetgetCallToActionAsset()Immutable.CallToActionAssetOrBuildergetCallToActionAssetOrBuilder()Immutable.static AssetgetDefaultInstance()AssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DynamicEducationAssetgetDynamicEducationAsset()A dynamic education asset.DynamicEducationAssetOrBuildergetDynamicEducationAssetOrBuilder()A dynamic education asset.java.lang.StringgetFinalMobileUrls(int index)A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index)A list of possible final mobile URLs after all cross domain redirects.intgetFinalMobileUrlsCount()A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListgetFinalMobileUrlsList()A list of possible final mobile URLs after all cross domain redirects.java.lang.StringgetFinalUrls(int index)A list of possible final URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index)A list of possible final URLs after all cross domain redirects.intgetFinalUrlsCount()A list of possible final URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListgetFinalUrlsList()A list of possible final URLs after all cross domain redirects.java.lang.StringgetFinalUrlSuffix()URL template for appending params to landing page URLs served with parallel tracking.com.google.protobuf.ByteStringgetFinalUrlSuffixBytes()URL template for appending params to landing page URLs served with parallel tracking.HotelCalloutAssetgetHotelCalloutAsset()A hotel callout asset.HotelCalloutAssetOrBuildergetHotelCalloutAssetOrBuilder()A hotel callout asset.longgetId()Output only.ImageAssetgetImageAsset()Output only.ImageAssetOrBuildergetImageAssetOrBuilder()Output only.LeadFormAssetgetLeadFormAsset()A lead form asset.LeadFormAssetOrBuildergetLeadFormAssetOrBuilder()A lead form asset.MediaBundleAssetgetMediaBundleAsset()Immutable.MediaBundleAssetOrBuildergetMediaBundleAssetOrBuilder()Immutable.MobileAppAssetgetMobileAppAsset()A mobile app asset.MobileAppAssetOrBuildergetMobileAppAssetOrBuilder()A mobile app asset.java.lang.StringgetName()Optional name of the asset.com.google.protobuf.ByteStringgetNameBytes()Optional name of the asset.PageFeedAssetgetPageFeedAsset()A page feed asset.PageFeedAssetOrBuildergetPageFeedAssetOrBuilder()A page feed asset.com.google.protobuf.Parser<Asset>getParserForType()AssetPolicySummarygetPolicySummary()Output only.AssetPolicySummaryOrBuildergetPolicySummaryOrBuilder()Output only.PriceAssetgetPriceAsset()A price asset.PriceAssetOrBuildergetPriceAssetOrBuilder()A price asset.PromotionAssetgetPromotionAsset()A promotion asset.PromotionAssetOrBuildergetPromotionAssetOrBuilder()A promotion asset.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.intgetSerializedSize()SitelinkAssetgetSitelinkAsset()A sitelink asset.SitelinkAssetOrBuildergetSitelinkAssetOrBuilder()A sitelink asset.StructuredSnippetAssetgetStructuredSnippetAsset()A structured snippet asset.StructuredSnippetAssetOrBuildergetStructuredSnippetAssetOrBuilder()A structured snippet asset.TextAssetgetTextAsset()Immutable.TextAssetOrBuildergetTextAssetOrBuilder()Immutable.java.lang.StringgetTrackingUrlTemplate()URL template for constructing a tracking URL.com.google.protobuf.ByteStringgetTrackingUrlTemplateBytes()URL template for constructing a tracking URL.AssetTypeEnum.AssetTypegetType()Output only.intgetTypeValue()Output only.com.google.protobuf.UnknownFieldSetgetUnknownFields()CustomParametergetUrlCustomParameters(int index)A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.intgetUrlCustomParametersCount()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.java.util.List<CustomParameter>getUrlCustomParametersList()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.CustomParameterOrBuildergetUrlCustomParametersOrBuilder(int index)A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.java.util.List<? extends CustomParameterOrBuilder>getUrlCustomParametersOrBuilderList()A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.YoutubeVideoAssetgetYoutubeVideoAsset()Immutable.YoutubeVideoAssetOrBuildergetYoutubeVideoAssetOrBuilder()Immutable.booleanhasBookOnGoogleAsset()A book on google asset.booleanhasCallAsset()A call asset.booleanhasCalloutAsset()A callout asset.booleanhasCallToActionAsset()Immutable.booleanhasDynamicEducationAsset()A dynamic education asset.booleanhasFinalUrlSuffix()URL template for appending params to landing page URLs served with parallel tracking.inthashCode()booleanhasHotelCalloutAsset()A hotel callout asset.booleanhasId()Output only.booleanhasImageAsset()Output only.booleanhasLeadFormAsset()A lead form asset.booleanhasMediaBundleAsset()Immutable.booleanhasMobileAppAsset()A mobile app asset.booleanhasName()Optional name of the asset.booleanhasPageFeedAsset()A page feed asset.booleanhasPolicySummary()Output only.booleanhasPriceAsset()A price asset.booleanhasPromotionAsset()A promotion asset.booleanhasSitelinkAsset()A sitelink asset.booleanhasStructuredSnippetAsset()A structured snippet asset.booleanhasTextAsset()Immutable.booleanhasTrackingUrlTemplate()URL template for constructing a tracking URL.booleanhasYoutubeVideoAsset()Immutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Asset.BuildernewBuilder()static Asset.BuildernewBuilder(Asset prototype)Asset.BuildernewBuilderForType()protected Asset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AssetparseDelimitedFrom(java.io.InputStream input)static AssetparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetparseFrom(byte[] data)static AssetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetparseFrom(com.google.protobuf.ByteString data)static AssetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetparseFrom(com.google.protobuf.CodedInputStream input)static AssetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetparseFrom(java.io.InputStream input)static AssetparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssetparseFrom(java.nio.ByteBuffer data)static AssetparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Asset>parser()Asset.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URLS_FIELD_NUMBER
public static final int FINAL_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_MOBILE_URLS_FIELD_NUMBER
public static final int FINAL_MOBILE_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_SUMMARY_FIELD_NUMBER
public static final int POLICY_SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_ASSET_FIELD_NUMBER
public static final int YOUTUBE_VIDEO_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEDIA_BUNDLE_ASSET_FIELD_NUMBER
public static final int MEDIA_BUNDLE_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_ASSET_FIELD_NUMBER
public static final int IMAGE_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_ASSET_FIELD_NUMBER
public static final int TEXT_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEAD_FORM_ASSET_FIELD_NUMBER
public static final int LEAD_FORM_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOK_ON_GOOGLE_ASSET_FIELD_NUMBER
public static final int BOOK_ON_GOOGLE_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_ASSET_FIELD_NUMBER
public static final int PROMOTION_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALLOUT_ASSET_FIELD_NUMBER
public static final int CALLOUT_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCTURED_SNIPPET_ASSET_FIELD_NUMBER
public static final int STRUCTURED_SNIPPET_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SITELINK_ASSET_FIELD_NUMBER
public static final int SITELINK_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_FEED_ASSET_FIELD_NUMBER
public static final int PAGE_FEED_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_EDUCATION_ASSET_FIELD_NUMBER
public static final int DYNAMIC_EDUCATION_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOBILE_APP_ASSET_FIELD_NUMBER
public static final int MOBILE_APP_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_CALLOUT_ASSET_FIELD_NUMBER
public static final int HOTEL_CALLOUT_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_ASSET_FIELD_NUMBER
public static final int CALL_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_ASSET_FIELD_NUMBER
public static final int PRICE_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TO_ACTION_ASSET_FIELD_NUMBER
public static final int CALL_TO_ACTION_ASSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAssetDataCase
public Asset.AssetDataCase getAssetDataCase()
- Specified by:
getAssetDataCasein interfaceAssetOrBuilder
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the asset. Asset resource names have the form: `customers/{customer_id}/assets/{asset_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAssetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the asset. Asset resource names have the form: `customers/{customer_id}/assets/{asset_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for resourceName.
-
hasId
public boolean hasId()
Output only. The ID of the asset.
optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceAssetOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the asset.
optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAssetOrBuilder- Returns:
- The id.
-
hasName
public boolean hasName()
Optional name of the asset.
optional string name = 12;- Specified by:
hasNamein interfaceAssetOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Optional name of the asset.
optional string name = 12;- Specified by:
getNamein interfaceAssetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional name of the asset.
optional string name = 12;- Specified by:
getNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()
Output only. Type of the asset.
.google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceAssetOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public AssetTypeEnum.AssetType getType()
Output only. Type of the asset.
.google.ads.googleads.v10.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceAssetOrBuilder- Returns:
- The type.
-
getFinalUrlsList
public com.google.protobuf.ProtocolStringList getFinalUrlsList()
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 14;- Specified by:
getFinalUrlsListin interfaceAssetOrBuilder- Returns:
- A list containing the finalUrls.
-
getFinalUrlsCount
public int getFinalUrlsCount()
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 14;- Specified by:
getFinalUrlsCountin interfaceAssetOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
public java.lang.String getFinalUrls(int index)
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 14;- Specified by:
getFinalUrlsin interfaceAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalUrls at the given index.
-
getFinalUrlsBytes
public com.google.protobuf.ByteString getFinalUrlsBytes(int index)
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 14;- Specified by:
getFinalUrlsBytesin interfaceAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
getFinalMobileUrlsList
public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 16;- Specified by:
getFinalMobileUrlsListin interfaceAssetOrBuilder- Returns:
- A list containing the finalMobileUrls.
-
getFinalMobileUrlsCount
public int getFinalMobileUrlsCount()
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 16;- Specified by:
getFinalMobileUrlsCountin interfaceAssetOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
public java.lang.String getFinalMobileUrls(int index)
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 16;- Specified by:
getFinalMobileUrlsin interfaceAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalMobileUrls at the given index.
-
getFinalMobileUrlsBytes
public com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index)
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 16;- Specified by:
getFinalMobileUrlsBytesin interfaceAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()
URL template for constructing a tracking URL.
optional string tracking_url_template = 17;- Specified by:
hasTrackingUrlTemplatein interfaceAssetOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
URL template for constructing a tracking URL.
optional string tracking_url_template = 17;- Specified by:
getTrackingUrlTemplatein interfaceAssetOrBuilder- Returns:
- The trackingUrlTemplate.
-
getTrackingUrlTemplateBytes
public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
URL template for constructing a tracking URL.
optional string tracking_url_template = 17;- Specified by:
getTrackingUrlTemplateBytesin interfaceAssetOrBuilder- Returns:
- The bytes for trackingUrlTemplate.
-
getUrlCustomParametersList
public java.util.List<CustomParameter> getUrlCustomParametersList()
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;- Specified by:
getUrlCustomParametersListin interfaceAssetOrBuilder
-
getUrlCustomParametersOrBuilderList
public java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;- Specified by:
getUrlCustomParametersOrBuilderListin interfaceAssetOrBuilder
-
getUrlCustomParametersCount
public int getUrlCustomParametersCount()
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;- Specified by:
getUrlCustomParametersCountin interfaceAssetOrBuilder
-
getUrlCustomParameters
public CustomParameter getUrlCustomParameters(int index)
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;- Specified by:
getUrlCustomParametersin interfaceAssetOrBuilder
-
getUrlCustomParametersOrBuilder
public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 18;- Specified by:
getUrlCustomParametersOrBuilderin interfaceAssetOrBuilder
-
hasFinalUrlSuffix
public boolean hasFinalUrlSuffix()
URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 19;- Specified by:
hasFinalUrlSuffixin interfaceAssetOrBuilder- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.String getFinalUrlSuffix()
URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 19;- Specified by:
getFinalUrlSuffixin interfaceAssetOrBuilder- Returns:
- The finalUrlSuffix.
-
getFinalUrlSuffixBytes
public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
URL template for appending params to landing page URLs served with parallel tracking.
optional string final_url_suffix = 19;- Specified by:
getFinalUrlSuffixBytesin interfaceAssetOrBuilder- Returns:
- The bytes for finalUrlSuffix.
-
hasPolicySummary
public boolean hasPolicySummary()
Output only. Policy information for the asset.
.google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPolicySummaryin interfaceAssetOrBuilder- Returns:
- Whether the policySummary field is set.
-
getPolicySummary
public AssetPolicySummary getPolicySummary()
Output only. Policy information for the asset.
.google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryin interfaceAssetOrBuilder- Returns:
- The policySummary.
-
getPolicySummaryOrBuilder
public AssetPolicySummaryOrBuilder getPolicySummaryOrBuilder()
Output only. Policy information for the asset.
.google.ads.googleads.v10.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPolicySummaryOrBuilderin interfaceAssetOrBuilder
-
hasYoutubeVideoAsset
public boolean hasYoutubeVideoAsset()
Immutable. A YouTube video asset.
.google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasYoutubeVideoAssetin interfaceAssetOrBuilder- Returns:
- Whether the youtubeVideoAsset field is set.
-
getYoutubeVideoAsset
public YoutubeVideoAsset getYoutubeVideoAsset()
Immutable. A YouTube video asset.
.google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getYoutubeVideoAssetin interfaceAssetOrBuilder- Returns:
- The youtubeVideoAsset.
-
getYoutubeVideoAssetOrBuilder
public YoutubeVideoAssetOrBuilder getYoutubeVideoAssetOrBuilder()
Immutable. A YouTube video asset.
.google.ads.googleads.v10.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getYoutubeVideoAssetOrBuilderin interfaceAssetOrBuilder
-
hasMediaBundleAsset
public boolean hasMediaBundleAsset()
Immutable. A media bundle asset.
.google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasMediaBundleAssetin interfaceAssetOrBuilder- Returns:
- Whether the mediaBundleAsset field is set.
-
getMediaBundleAsset
public MediaBundleAsset getMediaBundleAsset()
Immutable. A media bundle asset.
.google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getMediaBundleAssetin interfaceAssetOrBuilder- Returns:
- The mediaBundleAsset.
-
getMediaBundleAssetOrBuilder
public MediaBundleAssetOrBuilder getMediaBundleAssetOrBuilder()
Immutable. A media bundle asset.
.google.ads.googleads.v10.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getMediaBundleAssetOrBuilderin interfaceAssetOrBuilder
-
hasImageAsset
public boolean hasImageAsset()
Output only. An image asset.
.google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasImageAssetin interfaceAssetOrBuilder- Returns:
- Whether the imageAsset field is set.
-
getImageAsset
public ImageAsset getImageAsset()
Output only. An image asset.
.google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImageAssetin interfaceAssetOrBuilder- Returns:
- The imageAsset.
-
getImageAssetOrBuilder
public ImageAssetOrBuilder getImageAssetOrBuilder()
Output only. An image asset.
.google.ads.googleads.v10.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImageAssetOrBuilderin interfaceAssetOrBuilder
-
hasTextAsset
public boolean hasTextAsset()
Immutable. A text asset.
.google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasTextAssetin interfaceAssetOrBuilder- Returns:
- Whether the textAsset field is set.
-
getTextAsset
public TextAsset getTextAsset()
Immutable. A text asset.
.google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTextAssetin interfaceAssetOrBuilder- Returns:
- The textAsset.
-
getTextAssetOrBuilder
public TextAssetOrBuilder getTextAssetOrBuilder()
Immutable. A text asset.
.google.ads.googleads.v10.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTextAssetOrBuilderin interfaceAssetOrBuilder
-
hasLeadFormAsset
public boolean hasLeadFormAsset()
A lead form asset.
.google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;- Specified by:
hasLeadFormAssetin interfaceAssetOrBuilder- Returns:
- Whether the leadFormAsset field is set.
-
getLeadFormAsset
public LeadFormAsset getLeadFormAsset()
A lead form asset.
.google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;- Specified by:
getLeadFormAssetin interfaceAssetOrBuilder- Returns:
- The leadFormAsset.
-
getLeadFormAssetOrBuilder
public LeadFormAssetOrBuilder getLeadFormAssetOrBuilder()
A lead form asset.
.google.ads.googleads.v10.common.LeadFormAsset lead_form_asset = 9;- Specified by:
getLeadFormAssetOrBuilderin interfaceAssetOrBuilder
-
hasBookOnGoogleAsset
public boolean hasBookOnGoogleAsset()
A book on google asset.
.google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;- Specified by:
hasBookOnGoogleAssetin interfaceAssetOrBuilder- Returns:
- Whether the bookOnGoogleAsset field is set.
-
getBookOnGoogleAsset
public BookOnGoogleAsset getBookOnGoogleAsset()
A book on google asset.
.google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;- Specified by:
getBookOnGoogleAssetin interfaceAssetOrBuilder- Returns:
- The bookOnGoogleAsset.
-
getBookOnGoogleAssetOrBuilder
public BookOnGoogleAssetOrBuilder getBookOnGoogleAssetOrBuilder()
A book on google asset.
.google.ads.googleads.v10.common.BookOnGoogleAsset book_on_google_asset = 10;- Specified by:
getBookOnGoogleAssetOrBuilderin interfaceAssetOrBuilder
-
hasPromotionAsset
public boolean hasPromotionAsset()
A promotion asset.
.google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;- Specified by:
hasPromotionAssetin interfaceAssetOrBuilder- Returns:
- Whether the promotionAsset field is set.
-
getPromotionAsset
public PromotionAsset getPromotionAsset()
A promotion asset.
.google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;- Specified by:
getPromotionAssetin interfaceAssetOrBuilder- Returns:
- The promotionAsset.
-
getPromotionAssetOrBuilder
public PromotionAssetOrBuilder getPromotionAssetOrBuilder()
A promotion asset.
.google.ads.googleads.v10.common.PromotionAsset promotion_asset = 15;- Specified by:
getPromotionAssetOrBuilderin interfaceAssetOrBuilder
-
hasCalloutAsset
public boolean hasCalloutAsset()
A callout asset.
.google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;- Specified by:
hasCalloutAssetin interfaceAssetOrBuilder- Returns:
- Whether the calloutAsset field is set.
-
getCalloutAsset
public CalloutAsset getCalloutAsset()
A callout asset.
.google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;- Specified by:
getCalloutAssetin interfaceAssetOrBuilder- Returns:
- The calloutAsset.
-
getCalloutAssetOrBuilder
public CalloutAssetOrBuilder getCalloutAssetOrBuilder()
A callout asset.
.google.ads.googleads.v10.common.CalloutAsset callout_asset = 20;- Specified by:
getCalloutAssetOrBuilderin interfaceAssetOrBuilder
-
hasStructuredSnippetAsset
public boolean hasStructuredSnippetAsset()
A structured snippet asset.
.google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;- Specified by:
hasStructuredSnippetAssetin interfaceAssetOrBuilder- Returns:
- Whether the structuredSnippetAsset field is set.
-
getStructuredSnippetAsset
public StructuredSnippetAsset getStructuredSnippetAsset()
A structured snippet asset.
.google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;- Specified by:
getStructuredSnippetAssetin interfaceAssetOrBuilder- Returns:
- The structuredSnippetAsset.
-
getStructuredSnippetAssetOrBuilder
public StructuredSnippetAssetOrBuilder getStructuredSnippetAssetOrBuilder()
A structured snippet asset.
.google.ads.googleads.v10.common.StructuredSnippetAsset structured_snippet_asset = 21;- Specified by:
getStructuredSnippetAssetOrBuilderin interfaceAssetOrBuilder
-
hasSitelinkAsset
public boolean hasSitelinkAsset()
A sitelink asset.
.google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;- Specified by:
hasSitelinkAssetin interfaceAssetOrBuilder- Returns:
- Whether the sitelinkAsset field is set.
-
getSitelinkAsset
public SitelinkAsset getSitelinkAsset()
A sitelink asset.
.google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;- Specified by:
getSitelinkAssetin interfaceAssetOrBuilder- Returns:
- The sitelinkAsset.
-
getSitelinkAssetOrBuilder
public SitelinkAssetOrBuilder getSitelinkAssetOrBuilder()
A sitelink asset.
.google.ads.googleads.v10.common.SitelinkAsset sitelink_asset = 22;- Specified by:
getSitelinkAssetOrBuilderin interfaceAssetOrBuilder
-
hasPageFeedAsset
public boolean hasPageFeedAsset()
A page feed asset.
.google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;- Specified by:
hasPageFeedAssetin interfaceAssetOrBuilder- Returns:
- Whether the pageFeedAsset field is set.
-
getPageFeedAsset
public PageFeedAsset getPageFeedAsset()
A page feed asset.
.google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;- Specified by:
getPageFeedAssetin interfaceAssetOrBuilder- Returns:
- The pageFeedAsset.
-
getPageFeedAssetOrBuilder
public PageFeedAssetOrBuilder getPageFeedAssetOrBuilder()
A page feed asset.
.google.ads.googleads.v10.common.PageFeedAsset page_feed_asset = 23;- Specified by:
getPageFeedAssetOrBuilderin interfaceAssetOrBuilder
-
hasDynamicEducationAsset
public boolean hasDynamicEducationAsset()
A dynamic education asset.
.google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;- Specified by:
hasDynamicEducationAssetin interfaceAssetOrBuilder- Returns:
- Whether the dynamicEducationAsset field is set.
-
getDynamicEducationAsset
public DynamicEducationAsset getDynamicEducationAsset()
A dynamic education asset.
.google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;- Specified by:
getDynamicEducationAssetin interfaceAssetOrBuilder- Returns:
- The dynamicEducationAsset.
-
getDynamicEducationAssetOrBuilder
public DynamicEducationAssetOrBuilder getDynamicEducationAssetOrBuilder()
A dynamic education asset.
.google.ads.googleads.v10.common.DynamicEducationAsset dynamic_education_asset = 24;- Specified by:
getDynamicEducationAssetOrBuilderin interfaceAssetOrBuilder
-
hasMobileAppAsset
public boolean hasMobileAppAsset()
A mobile app asset.
.google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;- Specified by:
hasMobileAppAssetin interfaceAssetOrBuilder- Returns:
- Whether the mobileAppAsset field is set.
-
getMobileAppAsset
public MobileAppAsset getMobileAppAsset()
A mobile app asset.
.google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;- Specified by:
getMobileAppAssetin interfaceAssetOrBuilder- Returns:
- The mobileAppAsset.
-
getMobileAppAssetOrBuilder
public MobileAppAssetOrBuilder getMobileAppAssetOrBuilder()
A mobile app asset.
.google.ads.googleads.v10.common.MobileAppAsset mobile_app_asset = 25;- Specified by:
getMobileAppAssetOrBuilderin interfaceAssetOrBuilder
-
hasHotelCalloutAsset
public boolean hasHotelCalloutAsset()
A hotel callout asset.
.google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;- Specified by:
hasHotelCalloutAssetin interfaceAssetOrBuilder- Returns:
- Whether the hotelCalloutAsset field is set.
-
getHotelCalloutAsset
public HotelCalloutAsset getHotelCalloutAsset()
A hotel callout asset.
.google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;- Specified by:
getHotelCalloutAssetin interfaceAssetOrBuilder- Returns:
- The hotelCalloutAsset.
-
getHotelCalloutAssetOrBuilder
public HotelCalloutAssetOrBuilder getHotelCalloutAssetOrBuilder()
A hotel callout asset.
.google.ads.googleads.v10.common.HotelCalloutAsset hotel_callout_asset = 26;- Specified by:
getHotelCalloutAssetOrBuilderin interfaceAssetOrBuilder
-
hasCallAsset
public boolean hasCallAsset()
A call asset.
.google.ads.googleads.v10.common.CallAsset call_asset = 27;- Specified by:
hasCallAssetin interfaceAssetOrBuilder- Returns:
- Whether the callAsset field is set.
-
getCallAsset
public CallAsset getCallAsset()
A call asset.
.google.ads.googleads.v10.common.CallAsset call_asset = 27;- Specified by:
getCallAssetin interfaceAssetOrBuilder- Returns:
- The callAsset.
-
getCallAssetOrBuilder
public CallAssetOrBuilder getCallAssetOrBuilder()
A call asset.
.google.ads.googleads.v10.common.CallAsset call_asset = 27;- Specified by:
getCallAssetOrBuilderin interfaceAssetOrBuilder
-
hasPriceAsset
public boolean hasPriceAsset()
A price asset.
.google.ads.googleads.v10.common.PriceAsset price_asset = 28;- Specified by:
hasPriceAssetin interfaceAssetOrBuilder- Returns:
- Whether the priceAsset field is set.
-
getPriceAsset
public PriceAsset getPriceAsset()
A price asset.
.google.ads.googleads.v10.common.PriceAsset price_asset = 28;- Specified by:
getPriceAssetin interfaceAssetOrBuilder- Returns:
- The priceAsset.
-
getPriceAssetOrBuilder
public PriceAssetOrBuilder getPriceAssetOrBuilder()
A price asset.
.google.ads.googleads.v10.common.PriceAsset price_asset = 28;- Specified by:
getPriceAssetOrBuilderin interfaceAssetOrBuilder
-
hasCallToActionAsset
public boolean hasCallToActionAsset()
Immutable. A call to action asset.
.google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasCallToActionAssetin interfaceAssetOrBuilder- Returns:
- Whether the callToActionAsset field is set.
-
getCallToActionAsset
public CallToActionAsset getCallToActionAsset()
Immutable. A call to action asset.
.google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCallToActionAssetin interfaceAssetOrBuilder- Returns:
- The callToActionAsset.
-
getCallToActionAssetOrBuilder
public CallToActionAssetOrBuilder getCallToActionAssetOrBuilder()
Immutable. A call to action asset.
.google.ads.googleads.v10.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getCallToActionAssetOrBuilderin interfaceAssetOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Asset parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Asset parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Asset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Asset parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Asset parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Asset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Asset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Asset.Builder newBuilder()
-
newBuilder
public static Asset.Builder newBuilder(Asset prototype)
-
toBuilder
public Asset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Asset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Asset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Asset> parser()
-
getParserForType
public com.google.protobuf.Parser<Asset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-