Apify example task · whoareyouanas/meta-brand-dropdown-search

Disambiguate UK IKEA advertiser pages on Meta

Search for IKEA with the United Kingdom selected. Compare available Page IDs, names, categories and verification fields before choosing the intended advertiser.

Actor
Facebook Page ID Finder - Meta Ad Library Brand Search
Result limit
6 (maxResults)
Estimated cost
Up to $0.024
Run options
Actor defaults

Example updated 2026-11-20 · actor build 0.2.2 · runs in your own Apify account

01 / About the actor

Facebook Page ID Finder - Meta Ad Library Brand Search

Resolve a brand name or prefix into Meta Ad Library advertiser suggestions. Retrieve ranked candidate pages and Page IDs for competitor selectors, advertiser discovery, and downstream ad searches.

Brand-to-Page-ID lookup

Search one brand phrase or prefix and review ranked advertiser candidates.

Verify the candidate

Use category, social links, and verification context to choose the intended advertiser.

Dropdown API workflow

Use the documented Standby endpoint for a search interface or run a bounded lookup through Apify.

02 / Input

The exact input this example runs.

Use one non-empty query per lookup with country, ad type, and result controls when needed. This is an advertiser-suggestion search, not a batch of keywords or an ad-copy search.

input.json · meta-uk-advertiser-page-disambiguation
{
  "maxResults": 6,
  "query": "IKEA",
  "country": "GB"
}
Input fields used by this example, their values and what they control
FieldValue in this exampleWhat it controls
maxResultsChange this6Return up to this many ranked Facebook advertiser suggestions. Meta controls the available dropdown results; raising this limit does not add pagination.
queryChange this"IKEA"The single brand name or partial name to search, such as ele, Nike or Spotify. Required for every lookup; use 2–200 characters. Standby requests send this field to /search instead of setting it at server startup.
countryChange this"GB"ALL or a two-letter ISO country code such as US, GB or IN. This selects Meta's search context, not the advertiser's headquarters.
Other inputs you can add (6)
Deployed actor input fields, types, defaults, and descriptions
FieldType / requiredDefaultPurpose
adTypestring"ALL"Meta Ad Library ad category. Availability of regulated categories varies by country.

Options: ALL, POLITICAL_AND_ISSUE_ADS, HOUSING_ADS, EMPLOYMENT_ADS, FINANCIAL_PRODUCTS_AND_SERVICES_ADS

proxyConfigurationobject{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}Residential proxies are the cloud default for Meta Ad Library access. Apify bills proxy traffic separately. Direct access is available when your network supports it.
cacheTtlSecondsinteger00 fetches live results (default). Set up to 300 to reuse recent results in a warm Standby run. fresh=true bypasses this cache.

Minimum: 0 · Maximum: 300

minIntervalMsinteger1000Minimum time between outbound lookups per browser session. Unique queries are serialized with a bounded queue.

Minimum: 500 · Maximum: 10000

requestTimeoutSecsinteger60Total upstream deadline, including browser launch and retries. Queue waiting has a separate 10-second limit.

Minimum: 15 · Maximum: 120

maxRetriesinteger3Retries a blocked or failed Meta session with a new browser and proxy IP, within the same time limit.

Minimum: 0 · Maximum: 4

03 / Make it yours

Change these fields for your own research.

  1. 01 · maxResults

    Maximum advertiser suggestions

    Return up to this many ranked Facebook advertiser suggestions. Meta controls the available dropdown results; raising this limit does not add pagination.

    Example: 6

  2. 02 · query

    Brand name or search prefix

    The single brand name or partial name to search, such as ele, Nike or Spotify. Required for every lookup; use 2–200 characters. Standby requests send this field to /search instead of setting it at server startup.

    Example: "IKEA"

  3. 03 · country

    Search country

    ALL or a two-letter ISO country code such as US, GB or IN. This selects Meta's search context, not the advertiser's headquarters.

    Example: "GB"

Run it in three steps

  1. Open the example on Apify and select Try for free to copy it into your Apify account.
  2. Replace the sample values above with your own target and keep the limit small.
  3. Start the run, then export the dataset as JSON, CSV or Excel.

04 / Output

What the results table shows.

Columns in the “Advertiser candidates” view

query

Query

country

Country

rank

Rank

pageId

Page ID

pageName

Advertiser

category

Category

likes

Facebook likes

pageAlias

Facebook alias

verification

Verification

igUsername

Instagram

igFollowers

IG followers

igVerification

IG verified

libraryUrl

Ad Library

pageUrl

Facebook page

logoUrl

Logo

fetchedAt

Fetched at

A view selects columns for the table. The full JSON export keeps every field, including nested arrays and objects.

05 / Cost

What this example costs to run.

At most about $0.024: up to 6 results at $0.004 each (result) plus $0.00005 per GB of memory for the start event. Fewer results cost less. The live Pricing tab on Apify is authoritative.

Prices checked 2026-11-22. Set a run spending limit in Apify when you widen the input.

06 / API

Run the same input from your code.

This call starts a billable run of Facebook Page ID Finder - Meta Ad Library Brand Search with this example's input and returns the dataset items when it finishes. Synchronous calls wait up to five minutes; for longer runs, POST to /runs instead and read the run's default dataset when it succeeds. Keep the token in an environment variable.

cURL · run and return the results
curl --request POST \
  'https://api.apify.com/v2/acts/whoareyouanas~meta-brand-dropdown-search/run-sync-get-dataset-items?format=json' \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"maxResults":6,"query":"IKEA","country":"GB"}'

Coverage & interpretation

Check the result before relying on it.

Questions

About this example.

What does the "Disambiguate UK IKEA advertiser pages on Meta" example collect?

Search for IKEA with the United Kingdom selected. Compare available Page IDs, names, categories and verification fields before choosing the intended advertiser. It runs Facebook Page ID Finder - Meta Ad Library Brand Search, published by whoareyouanas on Apify.

Which input does this example use?

Maximum advertiser suggestions (maxResults) set to 6; Brand name or search prefix (query) set to "IKEA"; Search country (country) set to "GB". The full JSON input is shown on this page.

How much does it cost to run this example?

At most about $0.024: up to 6 results at $0.004 each (result) plus $0.00005 per GB of memory for the start event. Fewer results cost less. The live Pricing tab on Apify is authoritative.

How do I change it for my own research?

Open the example on Apify and select Try for free to copy it into your account, then edit Maximum advertiser suggestions, Brand name or search prefix, Search country. Keep the result limit small for the first run and check the output before scaling up.

Can I run it from the API or on a schedule?

Yes. Send the same JSON input to the Facebook Page ID Finder - Meta Ad Library Brand Search run endpoint with your Apify API token, or save the copied task in your Apify account and add a schedule. Results land in the run's default dataset as JSON, CSV or Excel.

More examples

Related tasks you can copy.

Guides

Read more about this workflow.