naftiko: 1.0.0-alpha2 info: label: Snapchat Ads API — Creatives description: 'Snapchat Ads API — Creatives. 3 operations. Lead operation: List All Creatives for an Ad Account. Self-contained Naftiko capability covering one Snapchat business surface.' tags: - Snapchat - Creatives created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SNAPCHAT_API_KEY: SNAPCHAT_API_KEY capability: consumes: - type: http namespace: ads-creatives baseUri: https://adsapi.snapchat.com/v1 description: Snapchat Ads API — Creatives business capability. Self-contained, no shared references. resources: - name: adaccounts-ad_account_id-creatives path: /adaccounts/{ad_account_id}/creatives operations: - name: listcreatives method: GET description: List All Creatives for an Ad Account outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcreative method: POST description: Create a Creative outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: creatives-creative_id path: /creatives/{creative_id} operations: - name: getcreative method: GET description: Get a Specific Creative outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SNAPCHAT_API_KEY}}' exposes: - type: rest namespace: ads-creatives-rest port: 8080 description: REST adapter for Snapchat Ads API — Creatives. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/adaccounts/{ad-account-id}/creatives name: adaccounts-ad-account-id-creatives description: REST surface for adaccounts-ad_account_id-creatives. operations: - method: GET name: listcreatives description: List All Creatives for an Ad Account call: ads-creatives.listcreatives outputParameters: - type: object mapping: $. - method: POST name: createcreative description: Create a Creative call: ads-creatives.createcreative with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/creatives/{creative-id} name: creatives-creative-id description: REST surface for creatives-creative_id. operations: - method: GET name: getcreative description: Get a Specific Creative call: ads-creatives.getcreative outputParameters: - type: object mapping: $. - type: mcp namespace: ads-creatives-mcp port: 9090 transport: http description: MCP adapter for Snapchat Ads API — Creatives. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-creatives-ad-account description: List All Creatives for an Ad Account hints: readOnly: true destructive: false idempotent: true call: ads-creatives.listcreatives outputParameters: - type: object mapping: $. - name: create-creative description: Create a Creative hints: readOnly: false destructive: false idempotent: false call: ads-creatives.createcreative with: body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-creative description: Get a Specific Creative hints: readOnly: true destructive: false idempotent: true call: ads-creatives.getcreative outputParameters: - type: object mapping: $.