GET API call to retrieve the premium options settings of a catalog segment. You can provide either the catalog_segment_id and the partner_business_id or only the vendor_id. If you use both, ensure that the catalog_segment_id is owned by the provided vendor.catalog_segment_id and partner_business_id:curl -i -X GET \
"https://graph.facebook.com/v25.0/BUSINESS_ID?fields= \
collaborative_ads_partner_premium_options \
.catalog_segment_id(CATALOG_SEGMENT_ID) \
.partner_business_id(PARTNER_BUSINESS_ID) \
.vendor_id(VENDOR_ID) \
&access_token=ACCESS_TOKEN"
vendor_id:curl -i -X GET \
"https://graph.facebook.com/v25.0/BUSINESS_ID?fields= \
collaborative_ads_partner_premium_options \
.vendor_id(VENDOR_ID) \
.partner_business_id(PARTNER_BUSINESS_ID) \
&access_token=ACCESS_TOKEN"
| Name | Description |
|---|---|
business_id
numeric string or integer
| Required. ID for the business the catalog or vendor is in. |
catalog_segment_id
numeric string or integer
| Optional. ID of the catalog segment to update. Either this field or the vendor_id field is required. |
vendor_id
string
| Optional. ID of the vendor to update. Either this field or the catalog_segment_id field is required. |
partner_business_id
numeric string or integer
| Required. ID of the partner’s business to retrieve. |
{
"collaborative_ads_partner_premium_options": {
"enable_extended_audience_retargeting": bool,
"enable_basket_insight": bool,
"retailer_custom_audience_config": {
"audience_id": [
AUDIENCE_ID_1,
AUDIENCE_ID_2,
AUDIENCE_ID_3
]
}
}
}
POST API call to the /{business_id}/partner_premium_options endpoint to update the premium options information.catalog_segment_id and partner_business_id:curl -i -X POST \
"https://graph.facebook.com/v25.0/BUSINESS_ID/partner_premium_options \
?catalog_segment_id=CATALOG_SEGMENT_ID \
&partner_business_id=PARTNER_BUSINESS_ID \
&enable_extended_audience_retargeting=BOOL \
&enable_basket_insight=BOOL \
&retailer_custom_audience_config=JSON_OBJECT \
&access_token=ACCESS_TOKEN"
vendor_id:curl -i -X POST \
"https://graph.facebook.com/v25.0/BUSINESS_ID/partner_premium_options \
?vendor_id=VENDOR_ID \
&enable_extended_audience_retargeting=BOOL \
&enable_basket_insight=BOOL \
&retailer_custom_audience_config=JSON_OBJECT \
&access_token=ACCESS_TOKEN"
| Name | Description |
|---|---|
business_id
numeric string or integer
| Required. ID for the business the catalog or vendor is in. |
catalog_segment_id
numeric string or integer
| Optional. ID of the catalog segment to update. Either this field or the vendor_id field is required. |
vendor_id
string
| Optional. ID of the vendor to update. Either this field or the catalog_segment_id field is required. |
partner_business_id
numeric string or integer
| Required. ID of the partner’s business to retrieve. |
enable_extended_audience_retargeting
Boolean
| Required. Enable or disable extended audience retargeting. |
enable_basket_insight
Boolean
| Required.
Enable or disable basket insights. |
retailer_custom_audience_config
JSON object { audience_id: array of strings}
| Required. Contains the list of audience_ids to share this catalog segment with. To disable sharing, enter an empty array.Example: {'audience_id':[AUDIENCE_IDs]} |
{
"status": "success"
}
