Interface AdTextAssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdTextAsset,AdTextAsset.Builder
public interface AdTextAssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe performance label of this text asset.intThe performance label of this text asset.The pinned field of the asset.intThe pinned field of the asset.The policy summary of this text asset.The policy summary of this text asset.getText()Asset text.com.google.protobuf.ByteStringAsset text.booleanThe policy summary of this text asset.booleanhasText()Asset text.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasText
boolean hasText()Asset text.
optional string text = 4;- Returns:
- Whether the text field is set.
-
getText
String getText()Asset text.
optional string text = 4;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Asset text.
optional string text = 4;- Returns:
- The bytes for text.
-
getPinnedFieldValue
int getPinnedFieldValue()The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.
.google.ads.googleads.v18.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2;- Returns:
- The enum numeric value on the wire for pinnedField.
-
getPinnedField
ServedAssetFieldTypeEnum.ServedAssetFieldType getPinnedField()The pinned field of the asset. This restricts the asset to only serve within this field. Multiple assets can be pinned to the same field. An asset that is unpinned or pinned to a different field will not serve in a field where some other asset has been pinned.
.google.ads.googleads.v18.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2;- Returns:
- The pinnedField.
-
getAssetPerformanceLabelValue
int getAssetPerformanceLabelValue()The performance label of this text asset.
.google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5;- Returns:
- The enum numeric value on the wire for assetPerformanceLabel.
-
getAssetPerformanceLabel
AssetPerformanceLabelEnum.AssetPerformanceLabel getAssetPerformanceLabel()The performance label of this text asset.
.google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5;- Returns:
- The assetPerformanceLabel.
-
hasPolicySummaryInfo
boolean hasPolicySummaryInfo()The policy summary of this text asset.
.google.ads.googleads.v18.common.AdAssetPolicySummary policy_summary_info = 6;- Returns:
- Whether the policySummaryInfo field is set.
-
getPolicySummaryInfo
AdAssetPolicySummary getPolicySummaryInfo()The policy summary of this text asset.
.google.ads.googleads.v18.common.AdAssetPolicySummary policy_summary_info = 6;- Returns:
- The policySummaryInfo.
-
getPolicySummaryInfoOrBuilder
AdAssetPolicySummaryOrBuilder getPolicySummaryInfoOrBuilder()The policy summary of this text asset.
.google.ads.googleads.v18.common.AdAssetPolicySummary policy_summary_info = 6;
-