Sign in

Create audience

documented

Create a new audience under an account.

POST /v1beta/{name=accounts/*}/audiencesAnalytics Data APIno 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://analyticsadmin.googleapis.com/v1beta/properties/{{$property_id}}/audiences" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"audience": {"display_name": "{{$audience_display_name}}", "description": "{{$description}}", "membership_duration_days": {{$membership_duration_days}}}}'
Create audience · Google Analytics · OpenIntegrations