Adlyft
  1. Meta
Adlyft
  • Introduction
  • Getting Started
  • Auth Mangment
    • Get User Token
      POST
    • Refresh User Token
      GET
  • Workspace Mangment
    • Create Workspace
      POST
    • Get single workspace
      GET
    • Update Workspace
      PATCH
    • Delete Worksapace
      DELETE
    • Change Workspace Admin
      PATCH
  • Team Mangment
    • Create Team
      POST
    • Get Enterprise Team
      POST
    • Assign member
      POST
    • Get team members
      GET
    • Get Team By ID
      GET
    • Update Team Name
      PATCH
    • Delete Team
      DELETE
  • Connection
    • Create Connection
    • Get all tenant connections
    • Get connections by teamId
    • List of ad accounts and their connection statuses.
    • Delete connection
    • Disconnect
    • Get insights
  • Ads Account Mangment
    • Assign ad account
    • Revoke ad account
    • Change ad account
  • Meta
    • Campaigns
      • Get Campaigns
      • Update Campaign Status
      • Create Lead Campaign
      • Create Traffic Campaign
      • Create Sales Campaign
      • Create Awareness Campaign
      • Create Engagement Campaign
    • Lead Form
      • Get Page Lead forms
      • Create Page Lead form
    • Pixels
      • Get Pixels
      • Create Pixel
    • Audience
      • Get Saved Audience
      • Get Custom Audience
    • Import
      GET
    • Facebook pages
      GET
    • Targeting Search
      POST
    • Get Ads
      GET
    • Get AdSet
      GET
    • Get AdCreative
      GET
    • Get Insights
      GET
  1. Meta

Targeting Search

Developing
POST
{teamId}/meta/targeting/search

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging.api.adlyft.otomatika.net/api/v1/cabbdc29-3fe5-43c7-b815-084ab7c9f6fe/meta/targeting/search?adAccountId=act_1342045733694920' \
--header 'x-api-key: $2b$10$3gm2vjmU2FT2iHNlwu/Lg.Gwta4oya1evIS8uBXp5Zs/5Kelh0aCK' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "location",
  "query": "New York"
}'
Response Response Example
{}
Modified at 2025-11-18 10:50:51
Previous
Facebook pages
Next
Get Ads
Built with