Setup Guide Beta
3 minute read
This guide will help you set up Amazon Audience as a destination in the RudderStack dashboard. It also lists the configuration settings required to correctly send data from the supported sources to Amazon.
Make sure you have already set up a Reverse ETL source in RudderStack before following the steps in this guide.
Setup
In your RudderStack dashboard, go to Directory > Destinations > Cloud Destinations and search for Amazon Audience.
Connection settings
Configure the following settings to set up Amazon Audience as a destination in RudderStack:
| Setting | Description |
|---|---|
| Name | Specify a unique name to identify the destination in RudderStack. |
| Account Settings | Click Create Account > Connect with Amazon Audience and give RudderStack the required permissions to access your Amazon account. |
| Select your Account | Select the required Advertiser ID from the dropdown. This is populated from your Amazon Audience account. |
| Authorization Servers | Select the authorization server from the dropdown. Currently, RudderStack supports only North America. |
Send record event
The Amazon Audience destination supports only record events.
Upload record data and provide an
externalIdof your choice to each record. It is used later to associate the record to a data provider audience. If not provided, RudderStack assignsRudderstack_${sha256(users)}as the defaultexternalId.The following table lists the mappings between RudderStack and Amazon fields:
RudderStack field Amazon Audience property/event Base: records[0].hashedRecords.$.Data Type emailemailString phonephoneString first_namefirstNameString last_namelastNameString addressaddressString citycityString statestateString countrycountryString postalCodepostalCodeString
Note that:
- You must format and hash the above fields before sending them to Amazon.
- If you are passing the
phonefield, and:
- The country is
US, you just need to send the hashed phone number.- The country is not
US, you must send the hashed phone number along with the country name incountryproperty.
Create data provider audience.
The following table lists the mappings between RudderStack and Amazon fields:
RudderStack field Amazon Audience property/event Data Type name(from RudderStack dashboard)
RequirednameString description(from RudderStack dashboard)
RequireddescriptionString config.advertiserId
RequiredadvertiserIDString DATA_PROVIDERmetadata.typeString config.source_countryUSmetdadata.dataSourceCountryString config.externalaudienceIdRuderstack AudienceexternalAudienceIdString config.ttlttlString
You must hash the above fields before sending them to Amazon.
Associate record data with the data provider audience.
The following table lists the mappings between RudderStack and Amazon fields:
RudderStack field Amazon Audience property/event Data Type externalId(from step 1)
RequiredexternalIdString audienceId(from step 2’s response)
RequiredaudienceIdString
Next steps
FAQ
What might be the reason for below error while creating the data provider audience?
{
errorType: 'INVALID_INPUT',
message: 'Existing name: string, New name: khfyuc',
fieldName: 'name',
},
{
errorType: 'INVALID_INPUT',
message: 'Existing description: string, New description: strinogiycvg1',
fieldName: 'description',
},You can try changing your external_audience_id which is unique for each audience. That should resolve the issue.