Sign in

Get WordAds stats

documented

Get WordAds stats for a site.

GET /sites/{site}/wordads/statsSitesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/wordads/stats?context={{$context}}&http_envelope={{$http_envelope}}&pretty={{$pretty}}&fields={{$fields}}&unit={{$unit}}&quantity={{$quantity}}&date={{$date}}" \
  -X GET \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-WP-API-Key: {{WORDPRESS_API_KEY}}" \
  -H "X-WordPress-Secret: {{WORDPRESS_SECRET}}"