Interface FeedMappingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FeedMapping,FeedMapping.Builder
public interface FeedMappingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeFieldMappings(int index) Immutable.intImmutable.Immutable.getAttributeFieldMappingsOrBuilder(int index) Immutable.List<? extends AttributeFieldMappingOrBuilder>Immutable.Immutable.intImmutable.getFeed()Immutable.com.google.protobuf.ByteStringImmutable.Immutable.intImmutable.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.booleanImmutable.booleanhasFeed()Immutable.booleanImmutable.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
-
getResourceName
String getResourceName()Immutable. The resource name of the feed mapping. Feed mapping resource names have the form: `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}`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 feed mapping. Feed mapping resource names have the form: `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasFeed
boolean hasFeed()Immutable. The feed of this feed mapping.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- Whether the feed field is set.
-
getFeed
String getFeed()Immutable. The feed of this feed mapping.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The feed.
-
getFeedBytes
com.google.protobuf.ByteString getFeedBytes()Immutable. The feed of this feed mapping.
optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for feed.
-
getAttributeFieldMappingsList
List<AttributeFieldMapping> getAttributeFieldMappingsList()Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.
repeated .google.ads.googleads.v18.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAttributeFieldMappings
Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.
repeated .google.ads.googleads.v18.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAttributeFieldMappingsCount
int getAttributeFieldMappingsCount()Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.
repeated .google.ads.googleads.v18.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAttributeFieldMappingsOrBuilderList
List<? extends AttributeFieldMappingOrBuilder> getAttributeFieldMappingsOrBuilderList()Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.
repeated .google.ads.googleads.v18.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getAttributeFieldMappingsOrBuilder
Immutable. Feed attributes to field mappings. These mappings are a one-to-many relationship meaning that 1 feed attribute can be used to populate multiple placeholder fields, but 1 placeholder field can only draw data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder field can be mapped to multiple feed attributes. Required.
repeated .google.ads.googleads.v18.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
getStatusValue
int getStatusValue()Output only. Status of the feed mapping. This field is read-only.
.google.ads.googleads.v18.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
FeedMappingStatusEnum.FeedMappingStatus getStatus()Output only. Status of the feed mapping. This field is read-only.
.google.ads.googleads.v18.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
hasPlaceholderType
boolean hasPlaceholderType()Immutable. The placeholder type of this mapping (for example, if the mapping maps feed attributes to placeholder fields).
.google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the placeholderType field is set.
-
getPlaceholderTypeValue
int getPlaceholderTypeValue()Immutable. The placeholder type of this mapping (for example, if the mapping maps feed attributes to placeholder fields).
.google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for placeholderType.
-
getPlaceholderType
PlaceholderTypeEnum.PlaceholderType getPlaceholderType()Immutable. The placeholder type of this mapping (for example, if the mapping maps feed attributes to placeholder fields).
.google.ads.googleads.v18.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The placeholderType.
-
hasCriterionType
boolean hasCriterionType()Immutable. The criterion type of this mapping (for example, if the mapping maps feed attributes to criterion fields).
.google.ads.googleads.v18.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the criterionType field is set.
-
getCriterionTypeValue
int getCriterionTypeValue()Immutable. The criterion type of this mapping (for example, if the mapping maps feed attributes to criterion fields).
.google.ads.googleads.v18.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for criterionType.
-
getCriterionType
FeedMappingCriterionTypeEnum.FeedMappingCriterionType getCriterionType()Immutable. The criterion type of this mapping (for example, if the mapping maps feed attributes to criterion fields).
.google.ads.googleads.v18.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The criterionType.
-
getTargetCase
FeedMapping.TargetCase getTargetCase()
-