Setup Facebook and Instagram

Update a Facebook Page

You can update the Facebook Page used by an Advertiser by repeating the steps in Link a Facebook Page.

Read a Facebook Page

curl -G \
--user api@example.com:password \
https://api.adroll.com/facebook/fb_page_url
{
    "fb_page_id": "924916227619294",
    "fb_page_img": "https://scontent.xx.fbcdn.net/v/t1.0-1/c8.0.50.50/p50x50/13227202_924916487619268_2595545300798231503_n.jpg?oh=841895bd5e393a55db271b4ab9b4a212&oe=57C28088",
    "fb_page_name": "Cats 4 Gold",
    "is_published": true
}

Error Codes

Code Message Reason
1359102 A Facebook Ad Account is required AdRoll has not completed its integration with Facebook. Wait a few minutes and try again
1359102 A Facebook page URL is required The Facebook Page integration process has not been completed

Target Instagram

You target Instagram by including instagramstream in the placement_targets parameter of the adgroup/create endpoint:

curl -s https://api.adroll.com/api/v1/adgroup/create \
--user api@example.com:password \
-F campaign=F6FMJOTUHVENRAFAR34OV7 \
-F placement_targets="[\"desktopfeed\",\"mobilefeed\",\"rightcolumn\",\"FAN\",\"instagramstream\"]" \
-F name="Test AdGroup"