FeedMapping

A feed mapping.

Fields

resource_name

string

Immutable. The resource name of the feed mapping. Feed mapping resource names have the form:

customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}

attribute_field_mappings[]

AttributeFieldMapping

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.

status

FeedMappingStatus

Output only. Status of the feed mapping. This field is read-only.

feed

string

Immutable. The feed of this feed mapping.

Union field

target

target. Feed mapping target. Can be either a placeholder or a criterion. For a given feed, the active FeedMappings must have unique targets. Required. target can be only one of the following:

placeholder_type

PlaceholderType

Immutable. The placeholder type of this mapping (for example, if the mapping maps feed attributes to placeholder fields).

criterion_type

FeedMappingCriterionType

Immutable. The criterion type of this mapping (for example, if the mapping maps feed attributes to criterion fields).