-
Couldn't load subscription status.
- Fork 395
fixes for batch 5.3 #8096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes for batch 5.3 #8096
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,36 +43,21 @@ This destination sends audiences, or lists of users, to Facebook Custom Audience | |
|
|
||
| After you've connected your Facebook Custom Audiences destination to Segment, set up a mapping that adds users to a new or existing Custom Audience. | ||
|
|
||
| > warning "Added or updated records is the only supported additive sync mode" | ||
| > Selecting any other sync mode might lead to sync failures with the Facebook Custom Audiences (Actions) destination. | ||
|
|
||
|
Comment on lines
+46
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. moved the warning to top, to prevent markdown list order to reset (previously the html was used to prevent that from happening) |
||
| 1. Navigate to **Connections > Sources** and select your Reverse ETL source. | ||
| 2. On the Models page, select the model you'd like to use and click **Add Mapping**. | ||
| 3. Select the Facebook Custom Audience (Actions) destination and the Sync Audience action, then click **Create Mapping**. | ||
| 4. Enter a descriptive name for your mapping. Segment recommends a name that includes both the audience name and sync mode, for example, `Loyalty Users (Add)`. | ||
| 5. Under **Select record to map and send**, select **Added or updated records**. The Added or updated records sync mode both adds new records and attempts to re-add any updated records to the custom audience. Adding updated records to your destination enables better match rates as more user identifiers are added to the source model over time. | ||
|
|
||
| > warning "Added or updated records is the only supported additive sync mode" | ||
| > Selecting any other sync mode might lead to sync failures with the Facebook Custom Audiences (Actions) destination. | ||
|
|
||
| <ol style="counter-reset: none;"> | ||
| <li value="6" markdown=1> | ||
| Set how often your model syncs by setting the [Sync schedule](/docs/connections/reverse-etl/#step-4-create-mappings). | ||
| </li> | ||
| <li value="7" markdown=1> | ||
| Select or create an audience in Facebook to sync your data with. Click the **Select or create audience in Facebook** button to save the audience ID to your mapping. | ||
| </li> | ||
| <li value="8" markdown=1> | ||
| Map your model columns to the appropriate Facebook Custom Audience parameters. For more context about data formatting, see the [Sync Audience](#sync-audience) and [Data processing](#data-processing) documentation. | ||
| <ul> | ||
| <li> Map External ID to a unique user identifier from your system (like User ID, CRM ID, or anonymous ID.) Segment recommends using the External ID column as your primary key when setting up your Reverse ETL model so you can more easily remove users from your custom audience. External ID is the only field Facebook requires. </li> | ||
| <li> Segment recommends mapping as many parameters as you have available in your source model so that you can increase your match rates. </li> | ||
| </ul> | ||
| </li> | ||
| <li value ="9" markdown=1> | ||
| Send a test record. If successful, you should see a 200 response in Segment and one added record to your custom audience. To verify that the record was successfully added to your custom audience, open Facebook Ads Manager and navigate to **Audiences > {Audience Name} > History**. | ||
| </li> | ||
| <li value="10" markdown=1> | ||
| Click **Save Mapping** and enable the mapping. | ||
| </li> | ||
| </ol> | ||
| 6. Set how often your model syncs by setting the [Sync schedule](/docs/connections/reverse-etl/#step-4-create-mappings). | ||
| 7. Select or create an audience in Facebook to sync your data with. Click the **Select or create audience in Facebook** button to save the audience ID to your mapping. | ||
| 8. Map your model columns to the appropriate Facebook Custom Audience parameters. For more context about data formatting, see the [Sync Audience](#sync-audience) and [Data processing](#data-processing) documentation. | ||
| - Map External ID to a unique user identifier from your system (like User ID, CRM ID, or anonymous ID.) Segment recommends using the External ID column as your primary key when setting up your Reverse ETL model so you can more easily remove users from your custom audience. External ID is the only field Facebook requires. | ||
| - Segment recommends mapping as many parameters as you have available in your source model so that you can increase your match rates. | ||
| 9. Send a test record. If successful, you should see a 200 response in Segment and one added record to your custom audience. To verify that the record was successfully added to your custom audience, open Facebook Ads Manager and navigate to **Audiences > \{Audience Name\} > History**. | ||
| 10. Click **Save Mapping** and enable the mapping. | ||
|
|
||
| ### Remove users from a Custom Audience | ||
|
|
||
|
|
@@ -84,7 +69,7 @@ After you've connected your Facebook Custom Audiences destination to Segment, se | |
| 6. Set how often your model syncs by setting the [Sync schedule](/docs/connections/reverse-etl/#step-4-create-mappings). | ||
| 7. Select or create an audience in Facebook to sync your data with. Click the **Select or create audience in Facebook** button to save the audience ID to your mapping. | ||
| 8. Map your model columns to the appropriate Facebook Custom Audience parameters. Only the External ID is required. When a record is deleted from your source model, only the model primary key is sent to the mapping; other columns from your source model are not sent. Segment recommends using the External ID as your primary key in your source model. | ||
| 9. Send a test record. If successful, you should see a `200` response in Segment and one record removed from your custom audience. To verify that the record was successfully removed from your custom audience, open Facebook Ads Manager and navigate to **Audiences > {Audience Name} > History**. | ||
| 9. Send a test record. If successful, you should see a `200` response in Segment and one record removed from your custom audience. To verify that the record was successfully removed from your custom audience, open Facebook Ads Manager and navigate to **Audiences > \{Audience Name\} > History**. | ||
| 10. Click **Save Mapping** and enable the mapping. | ||
|
|
||
| {% include components/actions-fields.html %} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,45 +20,20 @@ id: 65dde5755698cb0dab09b489 | |
|
|
||
| The way you've configured your Kafka Cluster informs the authentication and encryption settings you'll need to apply to the Segment Kafka Destination. You may need the assistance of someone technical to provide values for the following Settings: | ||
|
|
||
| <ol style="counter-reset: none"> | ||
| <li value="5" markdown="1"> | ||
| On the Settings tab, enter values into the **Client ID**, **Brokers** and **Authentication Mechanism** setting fields. | ||
| </li> | ||
| <li value="6"> | ||
| Populate fields based on the value you selected from the <b>Authentication Mechanism</b> field: | ||
| <ul> | ||
| <li> | ||
| <b>Plain</b> or <b>SCRAM-SHA-256 / 512</b> authentication: provide values for <b>Username</b> and <b>Password</b> fields. | ||
| </li> | ||
| <li> | ||
| <b>Client Certificate</b> authentication: provide values for the <b>SSL Client Key</b> and <b>SSL Client Certificate</b> fields. | ||
| </li> | ||
| </ul> | ||
| </li> | ||
| <li value="7" markdown="1"> | ||
| Populate the **SSL Certificate Authority** field, if necessary. | ||
| </li> | ||
| <li value="8" markdown="1"> | ||
| Save your changes and proceed to [Configure the Send Action](#configure-the-send-action). | ||
| </li> | ||
| </ol> | ||
| 1. On the Settings tab, enter values into the **Client ID**, **Brokers** and **Authentication Mechanism** setting fields. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original author intended the whole page to be a set of steps. However, the lists are introduced at each paragraph. Reseting the number here still makes sense as they're a different set of steps, even though as a whole its a continuum action |
||
| 2. Populate fields based on the value you selected from the **Authentication Mechanism** field: | ||
| - **Plain** or **SCRAM-SHA-256 / 512** authentication: provide values for **Username** and **Password** fields. | ||
| - **Client Certificate** authentication: provide values for the **SSL Client Key** and **SSL Client Certificate** fields. | ||
| 3. Populate the **SSL Certificate Authority** field, if necessary. | ||
| 4. Save your changes and proceed to [Configure the Send Action](#configure-the-send-action). | ||
|
|
||
| ### Configure the "Send" Action | ||
|
|
||
| <ol style="counter-reset: none;"> | ||
| <li value="9" markdown=1> | ||
| Select the Mappings tab and add a new **Send** mapping. | ||
| </li> | ||
| <li value="10" markdown=1> | ||
| Select a Topic to send data to. This field should auto-populate based on the credentials you provided in the Settings tab. | ||
| </li> | ||
| <li value="11" markdown=1> | ||
| Map your payload using the **Payload** field. <br> _(Optional)_: Specify partitioning preferences, Headers and Message Key values. | ||
| </li> | ||
| <li value="12" markdown=1> | ||
| Save and enable the Action, then navigate back to the Kafka destination's Settings tab to enable and save the Destination. | ||
| </li> | ||
| </ol> | ||
| 1. Select the Mappings tab and add a new **Send** mapping. | ||
| 2. Select a Topic to send data to. This field should auto-populate based on the credentials you provided in the Settings tab. | ||
| 3. Map your payload using the **Payload** field. | ||
| _(Optional)_: Specify partitioning preferences, Headers and Message Key values. | ||
| 4. Save and enable the Action, then navigate back to the Kafka destination's Settings tab to enable and save the Destination. | ||
|
|
||
| {% include components/actions-fields.html %} | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some usages showed
Modifying the snippet to make it generic, doesn't remove context. If you're inside a page already, then it's obvious that this statement applies to this subject.