diff --git a/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-configuration.md b/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-configuration.md index 84554b5d9..feafc4664 100644 --- a/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-configuration.md +++ b/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-configuration.md @@ -892,18 +892,71 @@ To use the Facebook Ads connector, first create the connection with your configu Properties of the users to be added to the audience. Yes + + inputStructure + Structure of the user data to be added. + No + - **Sample configuration** + **Sample configurations for Facebook API compatible input** ```xml {json-eval($.audience_id)} {json-eval($.properties)} + + + {json-eval($.audience_id)} + {json-eval($.properties)} + FACEBOOK_API_COMPATIBLE + ``` - **Sample request** + **Sample request for Facebook API compatible input** + + ```json + { + "audience_id": "456456456", + "properties": { + "payload": { + "schema": [ + "COUNTRY", + "EMAIL", + "FN", + "GEN", + "LN", + "MADID", + "PHONE" + ], + "data": [ + [ + "79adb2a2fce5c6ba215fe5f27f532d4e7edbac4b6a5e09e1ef3a08084a904621", + "23b9cb38c8e9c75a466a349eec16aff2c3eabc707cf57432a872aab7e532d069", + "b54f08623ae4039f55bcecba4961037fb4513d2ba9cb2b0667c5db970ac94911", + "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", + "d07227456ed0f3a3ca01456ee769b4662c1c679d754465b44c93b075fea751cd", + "aece52e7-03ee-455a-b3c4-e57283966239", + "c7e1a5948418c64b472abbe6a7b443ec83c4e31573874d600de828f89dd71339" + ] + ] + } + } + } + ``` + + **Sample configurations for JSON array input** + + ```xml + + {json-eval($.audience_id)} + {json-eval($.properties)} + JSON_ARRAY + + ``` + + **Sample request for JSON array input** ```json { @@ -963,18 +1016,71 @@ To use the Facebook Ads connector, first create the connection with your configu Properties of the users to be removed from the audience. Yes + + inputStructure + Structure of the user data to be removed. + No + - **Sample configuration** + **Sample configurations for Facebook API compatible input** ```xml {json-eval($.audience_id)} {json-eval($.properties)} + + + {json-eval($.audience_id)} + {json-eval($.properties)} + FACEBOOK_API_COMPATIBLE + ``` - **Sample request** + **Sample request for Facebook API compatible input** + + ```json + { + "audience_id": "456456456", + "properties": { + "payload": { + "schema": [ + "COUNTRY", + "EMAIL", + "FN", + "GEN", + "LN", + "MADID", + "PHONE" + ], + "data": [ + [ + "79adb2a2fce5c6ba215fe5f27f532d4e7edbac4b6a5e09e1ef3a08084a904621", + "23b9cb38c8e9c75a466a349eec16aff2c3eabc707cf57432a872aab7e532d069", + "b54f08623ae4039f55bcecba4961037fb4513d2ba9cb2b0667c5db970ac94911", + "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", + "d07227456ed0f3a3ca01456ee769b4662c1c679d754465b44c93b075fea751cd", + "aece52e7-03ee-455a-b3c4-e57283966239", + "c7e1a5948418c64b472abbe6a7b443ec83c4e31573874d600de828f89dd71339" + ] + ] + } + } + } + ``` + + **Sample configurations for JSON array input** + + ```xml + + {json-eval($.audience_id)} + {json-eval($.properties)} + JSON_ARRAY + + ``` + + **Sample request for JSON array input** ```json { diff --git a/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-overview.md b/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-overview.md index a2bb6cb38..7465a8c94 100644 --- a/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-overview.md +++ b/en/docs/reference/connectors/facebook-ads-connector/facebook-ads-overview.md @@ -12,7 +12,7 @@ To see the Facebook Ads Connector, navigate to the [connector store](https://sto | Connector Version | Supported product versions | | ------------- |-------------| -| 1.0.4 | MI 4.3.0 | +| 1.1.0 | MI 4.3.0 | ## Facebook Ads Connector documentation