Facebook Custom Audiences is an advertising feature that allows businesses to target ads to specific groups of people, such as their existing customers or website visitors. It enables advertisers to reach people they already know and build more effective campaigns.
๐Ÿ”— Connect and Use Facebook Custom Audiences
1. ๐Ÿ”‘ Connect your Facebook Custom
2. โœ… Select an action
3. ๐Ÿš€ Go live with the agent
What do you want to do?

API actions for Facebook Custom Audiences for AI assitants/agents

Language
JS
PYTHON

Create Custom Audience

Create a new custom audience based on specified criteria
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOM_AUDIENCE])

Add Users To Custom Audience

Add new users to an existing custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ADD_USERS_CUSTOM_AUDIENCE])

Remove Users From Custom Audience

Remove specific users from an existing custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.REMOVE_USERS_CUSTOM_AUDIENCE])

Update Custom Audience

Modify the parameters or criteria of an existing custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOM_AUDIENCE])

Delete Custom Audience

Remove a custom audience from the account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DELETE_CUSTOM_AUDIENCE])

Create Lookalike Audience

Generate a new audience similar to an existing custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_LOOKALIKE_AUDIENCE])

Share Custom Audience

Share a custom audience with another ad account or business
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SHARE_CUSTOM_AUDIENCE])

Create Rule Based Custom Audience

Create a custom audience based on specific rules and conditions
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_RULE_BASED_AUDIENCE])

Create Website Custom Audience

Create a custom audience based on website visitor data
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_WEBSITE_CUSTOM_AUDIENCE])

Create App Activity Custom Audience

Generate a custom audience based on app usage and activity
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_APP_ACTIVITY_AUDIENCE])

Create Offline Event Custom Audience

Create a custom audience from offline event data
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_OFFLINE_EVENT_AUDIENCE])

Create Customer File Custom Audience

Generate a custom audience by uploading a customer file
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER_FILE_AUDIENCE])

Create Engagement Custom Audience

Create a custom audience based on engagement with Facebook content
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_ENGAGEMENT_AUDIENCE])

Merge Custom Audiences

Combine multiple custom audiences into a single audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MERGE_CUSTOM_AUDIENCES])

Exclude Custom Audience

Create an audience that excludes members of a specified custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.EXCLUDE_CUSTOM_AUDIENCE])

Rename Custom Audience

Change the name of an existing custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.RENAME_CUSTOM_AUDIENCE])

Get Custom Audience Details

Retrieve detailed information about a specific custom audience
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.GET_CUSTOM_AUDIENCE_DETAILS])

List All Custom Audiences

Get a list of all custom audiences in the ad account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.LIST_ALL_CUSTOM_AUDIENCES])

Create Video View Custom Audience

Generate a custom audience based on video view data
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_VIDEO_VIEW_AUDIENCE])

Create Lead Form Custom Audience

Create a custom audience from lead form submissions
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_LEAD_FORM_AUDIENCE])

Custom Audience Size Change

Trigger when the size of a custom audience changes significantly
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_SIZE_CHANGE])

Custom Audience Creation

Trigger when a new custom audience is created
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_CREATED])

Custom Audience Deletion

Trigger when a custom audience is deleted
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_DELETED])

Custom Audience Update

Trigger when a custom audience is modified or updated
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_UPDATED])

Lookalike Audience Creation

Trigger when a new lookalike audience is generated
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.LOOKALIKE_AUDIENCE_CREATED])

Custom Audience Sharing

Trigger when a custom audience is shared with another account
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_SHARED])

Custom Audience Expiration

Trigger when a custom audience is about to expire
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_EXPIRATION])

Custom Audience Reach Threshold

Trigger when a custom audience reaches a specific size threshold
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_REACH_THRESHOLD])

Custom Audience Overlap Change

Trigger when the overlap between custom audiences changes significantly
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_OVERLAP_CHANGE])

Custom Audience Performance Alert

Trigger when a custom audience's performance metrics change notably
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CUSTOM_AUDIENCE_PERFORMANCE_ALERT])

Frequently asked questions

What is Composio.dev?

Composio.dev is a platform for building AI applications, designed to make the process of developing AI solutions super easy and fun! It provides a comprehensive set of tools and libraries that simplify the process of developing AI solutions, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support Facebook Custom Audiences?

Composio.dev seamlessly integrates with Facebook Custom Audiences, allowing you to leverage its capabilities within the Composio.dev platform. You can utilize Facebook Custom Audiences to call functions across various platforms, including Google, GitHub, and others, making it a breeze to incorporate different services into your AI applications. Additionally, it supports user authentication via OAuth2 and can work in conjunction with other popular frameworks like LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with Facebook Custom Audiences?

With Facebook Custom Audiences, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate Facebook Custom Audiences into my project?

Composio.dev provides a seamless integration for Facebook Custom Audiences, making it super easy to incorporate this powerful framework into your projects. You can leverage the Composio.dev API to call functions from Facebook Custom Audiences, allowing you to tap into its capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with your preferred programming language and integrate Facebook Custom Audiences into your projects seamlessly.

What is the pricing for Facebook Custom Audiences?

Facebook Custom Audiences is completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes it accessible for developers and organizations of all sizes to explore and experiment with this powerful tool without any upfront costs. Whether you're a student working on a personal project or a startup building the next big thing, you can get started with Facebook Custom Audiences without worrying about breaking the bank.

What kind of authentication is supported for Facebook Custom Audiences?

Facebook Custom Audiences supports OAuth2 authentication, ensuring secure and authorized access to its functionalities. You can leverage the Composio.dev API to handle authentication and call functions from Facebook Custom Audiences seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add Facebook Custom Audiences to my project?

Absolutely! You can easily incorporate Facebook Custom Audiences into your project by utilizing the Composio.dev API. This API allows you to call functions from Facebook Custom Audiences, enabling you to leverage its capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add Facebook Custom Audiences to your project with ease.

What is the accuracy of Facebook Custom Audiences?

Facebook Custom Audiences is designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. Facebook Custom Audiences's comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for Facebook Custom Audiences?

Facebook Custom Audiences can be used for a wide range of AI applications, making it a versatile tool for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. It's particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, Facebook Custom Audiences can help you bring your ideas to life.

How does Facebook Custom Audiences handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and Facebook Custom Audiences takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. Facebook Custom Audiences provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using Facebook Custom Audiences for your AI development needs.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents๐Ÿงช