Sign in

Create Line Item Curated Categories

documented

Associate curated categories with a line item.

POST /5/accounts/{account_id}/line_item_curated_categoriesAds 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://ads-api.x.com/12/accounts/{{$account_id}}/line_item_curated_categories?line_item_id={{$line_item_id}}&curated_category_id={{$curated_category_id}}" \
  -X POST \
  -H 'Authorization: OAuth oauth_consumer_key="{{X_API_KEY}}", oauth_token="{{OAUTH1_TOKEN}}", oauth_signature="{{OAUTH1_SIGNATURE}}", oauth_signature_method="HMAC-SHA1", oauth_timestamp="{{OAUTH1_TIMESTAMP}}", oauth_nonce="{{OAUTH1_NONCE}}", oauth_version="1.0"' \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"line_item_id": "{{$line_item_id}}", "curated_category_id": "{{$curated_category_id}}"}'
Create Line Item Curated Categories · X · OpenIntegrations