Interface CampaignAssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CampaignAsset,CampaignAsset.Builder
public interface CampaignAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAsset()Immutable.com.google.protobuf.ByteStringgetAssetBytes()Immutable.java.lang.StringgetCampaign()Immutable.com.google.protobuf.ByteStringgetCampaignBytes()Immutable.AssetFieldTypeEnum.AssetFieldTypegetFieldType()Immutable.intgetFieldTypeValue()Immutable.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.AssetLinkStatusEnum.AssetLinkStatusgetStatus()Status of the campaign asset.intgetStatusValue()Status of the campaign asset.booleanhasAsset()Immutable.booleanhasCampaign()Immutable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourceName
java.lang.String getResourceName()
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the campaign asset. CampaignAsset resource names have the form: `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasCampaign
boolean hasCampaign()
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- Whether the campaign field is set.
-
getCampaign
java.lang.String getCampaign()
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The campaign.
-
getCampaignBytes
com.google.protobuf.ByteString getCampaignBytes()
Immutable. The campaign to which the asset is linked.
optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for campaign.
-
hasAsset
boolean hasAsset()
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- Whether the asset field is set.
-
getAsset
java.lang.String getAsset()
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The asset.
-
getAssetBytes
com.google.protobuf.ByteString getAssetBytes()
Immutable. The asset which is linked to the campaign.
optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for asset.
-
getFieldTypeValue
int getFieldTypeValue()
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v10.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for fieldType.
-
getFieldType
AssetFieldTypeEnum.AssetFieldType getFieldType()
Immutable. Role that the asset takes under the linked campaign. Required.
.google.ads.googleads.v10.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The fieldType.
-
getStatusValue
int getStatusValue()
Status of the campaign asset.
.google.ads.googleads.v10.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
AssetLinkStatusEnum.AssetLinkStatus getStatus()
Status of the campaign asset.
.google.ads.googleads.v10.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;- Returns:
- The status.
-
-