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 58cc4ffba..ff36974d2 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 @@ -725,6 +725,154 @@ To use the Facebook Ads connector, first create the connection with your configu "ad_id": "456456456" } ``` +??? note "createCustomAudience" + The `createCustomAudience` operation creates a custom audience. + + + + + + + + + + + + + + + + +
Parameter NameDescriptionRequired
adAccountIdID of the ad account.Yes
propertiesCustom audience properties.Yes
+ + **Sample configuration** + + ```xml + + {json-eval($.ad_id)} + {json-eval($.properties)} + + ``` + + **Sample request** + + ```json + { + "ad_id": "456456456", + "properties": { + "name": "My Custom Audience", + "subtype": "CUSTOM", + "description": "Audience based on website traffic", + "customer_file_source": "USER_PROVIDED_ONLY" + } + } + ``` + +??? note "createAdCreative" + The `createAdCreative` operation creates an ad creative. + + + + + + + + + + + + + + + + +
Parameter NameDescriptionRequired
adAccountIdID of the ad account.Yes
propertiesAd creative properties.Yes
+ + **Sample configuration** + + ```xml + + {json-eval($.ad_id)} + {json-eval($.properties)} + + ``` + + **Sample request** + + ```json + { + "ad_id": "456456456", + "properties": { + "name": "My Ad Creative", + "object_story_spec": { + "page_id": "465229476789834", + "link_data": { + "description": "My ad creative", + "image_hash": "f2cafafae01fc9201c8d2e70687dhk675Ddsac", + "link": "https://sample.com/", + "message": "Check out my website!", + "name": "headline", + "call_to_action": { + "type": "LEARN_MORE", + "value": { + "link": "https://sample.com/", + "link_caption": "" + } + } + } + }, + "degrees_of_freedom_spec": { + "creative_features_spec": { + "standard_enhancements": { + "enroll_status": "OPT_OUT" + } + } + } + } + } + ``` + +??? note "updateCustomAudience" + The `updateCustomAudience` operation updates a custom audience. + + + + + + + + + + + + + + + + +
Parameter NameDescriptionRequired
customAudienceIdID of the ad set.Yes
propertiesCustom audience update properties.Yes
+ + **Sample configuration** + + ```xml + + {json-eval($.audience_id)} + {json-eval($.properties)} + + ``` + + **Sample request** + + ```json + { + "audience_id": "456456456", + "properties": { + "name": "My Custom Audience Update", + "subtype": "CUSTOM", + "description": "Audience based on website traffic", + } + } + ``` ## Error codes related to Facebook Ads Connector 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 e78bf4f22..7be8a312b 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.0 | MI 4.3.0 | +| 1.0.1 | MI 4.3.0 | ## Facebook Ads Connector documentation