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 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

      AttributeFieldMapping getAttributeFieldMappings(int index)
       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

      AttributeFieldMappingOrBuilder getAttributeFieldMappingsOrBuilder(int index)
       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

       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

       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

       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()