competitors

Setup User Own Ads

Set up user's own ads by providing their Facebook page URL.

post/api/v1/competitors/my-ads/setup

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/competitors/my-ads/setup
  • Auth: HTTP bearer

Query parameters

countrystring

Country filter (e.g., US, ALL)

active_statusstring

Filter: active, inactive, all

limitinteger

Maximum ads to return

client_user_idinteger nullable

Client user ID to view data for

Headers

x-lapis-dev-tokenstring nullable
x-assume-user-idinteger nullable

Request body

facebook_urlstring required

User's Facebook page URL (e.g., https://facebook.com/yourpage)

Response

Successful Response

page_namestring required
page_idstring required
facebook_urlstring required
total_adsinteger required
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.