HighLevel Facebook Reporting API

Documentation for Ad-publishing API

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ad-publishing/facebook/reporting Get aggregated Facebook ad reporting · Get reporting data #
Ask an LLM
“How do I pull aggregated Facebook ad metrics for a location?”
“Can I group Facebook reporting by day or week?”
Tell an agent
Get Facebook reporting for location {locationId} from {startDate} to {endDate} grouped by {groupBy}.
Pull {fields} Facebook metrics for {type} in location {locationId} between {startDate} and {endDate}.
GET /ad-publishing/facebook/reporting/campaign/{campaignId} Get reporting for one Facebook campaign · Get campaign reporting #
Ask an LLM
“How do I see reporting for a single Facebook ad campaign?”
“Can I get Facebook metrics for one campaign over a date range?”
Tell an agent
Get reporting for Facebook campaign {campaignId} in location {locationId} from {startDate} to {endDate}.
Show Facebook metrics for campaign {campaignId} in location {locationId} between {startDate} and {endDate}.
GET /ad-publishing/facebook/reporting/list List Facebook campaigns, adsets or ads with reporting · Get reporting list #
Ask an LLM
“Which Facebook campaigns, adsets or ads have reporting data?”
“Can I get a list of Facebook reporting objects for a campaign?”
Tell an agent
List {listType} reporting for Facebook campaign {campaignId} in location {locationId} from {startDate} to {endDate}.
Show {listType} reporting objects for {type} in location {locationId} between {startDate} and {endDate}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/highlevel:highlevel-facebook-reporting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

highlevel-facebook-reporting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ad Manager Facebook Reporting API
  description: Documentation for Ad-publishing API
  version: '1.0'
  contact: {}
servers:
- url: https://services.leadconnectorhq.com
tags:
- name: Facebook Reporting
  description: Documentation for Ad-publishing API
paths:
  /ad-publishing/facebook/reporting:
    get:
      operationId: fb-get-reporting
      summary: Get reporting data
      description: Retrieve aggregated Facebook ad reporting metrics for a location
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: fRMewNQIxSyZ5R4nQyit
          type: string
      - name: groupBy
        required: true
        in: query
        description: Time grouping interval
        schema:
          example: month
          enum:
          - day
          - week
          - month
          type: string
      - name: startDate
        required: true
        in: query
        description: Report start date
        schema:
          example: '2022-01-11'
          type: string
      - name: endDate
        required: true
        in: query
        description: Report end date
        schema:
          example: '2022-01-31'
          type: string
      - name: type
        required: true
        in: query
        description: Integration source type
        schema:
          example: AD_MANAGER or INTEGRATION
          enum:
          - AD_MANAGER
          - INTEGRATION
          type: string
      - name: fields
        required: true
        in: query
        explode: false
        description: Comma-separated reporting fields
        schema:
          type: array
          items:
            type: string
            enum:
            - impressions
            - clicks
            - spend
            - cpc
            - cost_per_conversion
            - conversions
            - cpm
            - reach
            - frequency
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - Facebook Reporting
  /ad-publishing/facebook/reporting/campaign/{campaignId}:
    get:
      operationId: fb-get-campaign-reporting
      summary: Get campaign reporting
      description: Retrieve reporting metrics for a specific Facebook campaign
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: campaignId
        required: true
        in: path
        description: Campaign identifier
        schema:
          example: '120208142050850608'
          type: string
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: fRMewNQIxSyZ5R4nQyit
          type: string
      - name: startDate
        required: true
        in: query
        description: Report start date
        schema:
          example: '2022-01-11'
          type: string
      - name: endDate
        required: true
        in: query
        description: Report end date
        schema:
          example: '2022-01-31'
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - Facebook Reporting
  /ad-publishing/facebook/reporting/list:
    get:
      operationId: fb-get-reporting-list
      summary: Get reporting list
      description: Retrieve a list of Facebook campaigns, adsets, or ads with reporting data
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: fRMewNQIxSyZ5R4nQyit
          type: string
      - name: listType
        required: true
        in: query
        description: Reporting list type
        schema:
          example: campaigns
          type: string
      - name: startDate
        required: true
        in: query
        description: Report start date
        schema:
          example: '2022-01-11'
          type: string
      - name: endDate
        required: true
        in: query
        description: Report end date
        schema:
          example: '2022-01-31'
          type: string
      - name: campaignId
        required: true
        in: query
        description: Campaign identifier
        schema:
          example: '196684453527082'
          type: string
      - name: type
        required: true
        in: query
        description: Integration source type
        schema:
          example: INTEGRATION
          enum:
          - AD_MANAGER
          - INTEGRATION
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - Facebook Reporting
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account.
      type: http
    Agency-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
      type: http
    Agency-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency.
      type: http
x-tagGroups:
  name: Ad Manager
  tags:
  - Facebook Integration
  - Facebook Ads
  - Facebook Reporting
  - Google Integration
  - Google Ads
  - Google Reporting
  - LinkedIn Integration
  - LinkedIn Ads
  - LinkedIn Reporting
  - Reselling
  - Snapshots