Actions16
- 📧 Email Actions
- 🏢 Company Actions
- 👤 Profile Actions
- 👥 People Actions
- 💼 Job Actions
- 📱 Advertisement Actions
Overview
The node provides access to LeadMagic's B2B data enrichment and lead generation API, focusing on various resources including email validation, company intelligence, profile enrichment, job postings, people search, credit management, and advertisement intelligence.
Specifically, for the Advertisement resource with the Search Meta Ads operation, the node allows users to search for competitive advertisements on Meta platforms (such as Facebook and Instagram) by specifying either a company domain or a company name. This is useful for marketing teams, competitive analysts, and advertisers who want to monitor competitors' ad campaigns, gather insights on ad strategies, or discover new advertising opportunities.
Practical examples:
- A marketing analyst wants to find all active Meta ads run by "gong.io" to analyze their messaging and creative approach.
- An advertiser searches by company name "Gong" to identify competitor ads and benchmark performance.
Properties
Name | Meaning |
---|---|
Search Method | How to search for the company. Options: "By Company Domain" or "By Company Name". |
Company Domain | The domain of the company to search ads for (e.g., "gong.io"). Required if searching by domain. |
Company Name | The name of the company to search ads for (e.g., "Gong"). Required if searching by name. |
Output
The node outputs JSON data representing the search results from the LeadMagic API for Meta advertisements related to the specified company. Each item in the output array corresponds to an individual ad or ad campaign found.
The exact structure depends on the API response but typically includes details such as:
- Ad identifiers
- Ad content and creatives
- Targeting information
- Performance metrics (if available)
- Dates and status of the ads
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the LeadMagic API.
- The node makes HTTP POST requests to
https://api.leadmagic.io/meta/searchads
. - Proper configuration of the API key credential in n8n is necessary.
Troubleshooting
Common issues:
- Missing or invalid API key will cause authentication failures.
- Providing neither company domain nor company name when required will result in errors.
- Network connectivity issues can prevent successful API calls.
Error messages:
- Errors returned from the API will be included in the output if "Continue On Fail" is enabled.
- If too many inputs are provided in bulk operations (not applicable here), an error about maximum allowed items may appear.
- Invalid parameter combinations (e.g., selecting domain search but not providing a domain) will cause request failures.
Resolutions:
- Ensure the API key credential is correctly set up and valid.
- Provide the required input property based on the selected search method.
- Check network connectivity and API endpoint availability.
Links and References
- LeadMagic Official Website
- LeadMagic API Documentation (for detailed API endpoints and parameters)
- Meta Ads Library (for manual ad research): https://www.facebook.com/ads/library/
This summary is based solely on static analysis of the provided source code and property definitions.