WordPress integration API
The official plugin calls these routes with:
Authorization: Bearer ynwp_<token>
Production API: https://api.ynoad.com.
Websites and verification
| Method | Path |
|---|---|
GET | /v1/integrations/wp/projects |
POST | /v1/integrations/wp/projects |
GET | /v1/integrations/wp/projects/{projectId}/site-meta-verify |
POST | /v1/integrations/wp/projects/{projectId}/verify-site-meta |
POST | /v1/integrations/wp/projects/{projectId}/verify-domain |
POST | /v1/integrations/wp/projects/{projectId}/pause-campaigns |
Sync and placements
| Method | Path |
|---|---|
GET | /v1/integrations/wp/sync |
POST | /v1/integrations/wp/projects/{projectId}/placements/bulk |
PATCH | /v1/integrations/wp/projects/{projectId}/placements/{placementId} |
GET | /v1/integrations/wp/placements/{placementId}/ads |
Campaigns, ads, reports
| Method | Path |
|---|---|
GET / POST | /v1/integrations/wp/projects/{projectId}/campaigns |
PATCH | /v1/integrations/wp/projects/{projectId}/campaigns/{campaignId} |
GET / POST | /v1/integrations/wp/projects/{projectId}/ads |
PATCH | /v1/integrations/wp/projects/{projectId}/ads/{adId} |
GET / POST | /v1/integrations/wp/projects/{projectId}/marketing-reports |
GET | /v1/integrations/wp/projects/{projectId}/marketing-reports/{reportId} |
Analytics (project scoped)
| Method | Path |
|---|---|
GET | /v1/integrations/wp/projects/{projectId}/analytics/totals |
GET | /v1/integrations/wp/projects/{projectId}/analytics/overview |
These are convenience endpoints for the plugin UI. Dashboard session users should call /v1/analytics/* instead.
Request and response bodies: OpenAPI reference.