naftiko: 1.0.0-alpha2 info: label: Google Campaign Manager Campaign Manager 360 API — Campaigns description: 'Google Campaign Manager Campaign Manager 360 API — Campaigns. 5 operations. Lead operation: Google Campaign Manager List Campaigns. Self-contained Naftiko capability covering one Google Campaign Manager business surface.' tags: - Google Campaign Manager - Campaigns created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CAMPAIGN_MANAGER_API_KEY: GOOGLE_CAMPAIGN_MANAGER_API_KEY capability: consumes: - type: http namespace: google-campaign-manager-campaigns baseUri: https://dfareporting.googleapis.com/dfareporting/v4 description: Google Campaign Manager Campaign Manager 360 API — Campaigns business capability. Self-contained, no shared references. resources: - name: userprofiles-profileId-campaigns path: /userprofiles/{profileId}/campaigns operations: - name: listcampaigns method: GET description: Google Campaign Manager List Campaigns outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: advertiserIds in: query type: array description: Select only campaigns that belong to these advertisers. - name: ids in: query type: array description: Select only campaigns with these IDs. - name: searchString in: query type: string description: Search string for filtering results. Matches against campaign name and ID fields. - name: archived in: query type: boolean description: Select only archived campaigns. Default is false. - name: sortField in: query type: string description: Field by which to sort the list. - name: sortOrder in: query type: string description: Order of sorted results. - name: insertcampaign method: POST description: Google Campaign Manager Create a Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: userprofiles-profileId-campaigns-campaignId path: /userprofiles/{profileId}/campaigns/{campaignId} operations: - name: getcampaign method: GET description: Google Campaign Manager Get a Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecampaign method: PUT description: Google Campaign Manager Update a Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: patchcampaign method: PATCH description: Google Campaign Manager Patch a Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GOOGLE_CAMPAIGN_MANAGER_API_KEY}}' exposes: - type: rest namespace: google-campaign-manager-campaigns-rest port: 8080 description: REST adapter for Google Campaign Manager Campaign Manager 360 API — Campaigns. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/userprofiles/{profileid}/campaigns name: userprofiles-profileid-campaigns description: REST surface for userprofiles-profileId-campaigns. operations: - method: GET name: listcampaigns description: Google Campaign Manager List Campaigns call: google-campaign-manager-campaigns.listcampaigns with: advertiserIds: rest.advertiserIds ids: rest.ids searchString: rest.searchString archived: rest.archived sortField: rest.sortField sortOrder: rest.sortOrder outputParameters: - type: object mapping: $. - method: POST name: insertcampaign description: Google Campaign Manager Create a Campaign call: google-campaign-manager-campaigns.insertcampaign with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/userprofiles/{profileid}/campaigns/{campaignid} name: userprofiles-profileid-campaigns-campaignid description: REST surface for userprofiles-profileId-campaigns-campaignId. operations: - method: GET name: getcampaign description: Google Campaign Manager Get a Campaign call: google-campaign-manager-campaigns.getcampaign outputParameters: - type: object mapping: $. - method: PUT name: updatecampaign description: Google Campaign Manager Update a Campaign call: google-campaign-manager-campaigns.updatecampaign with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchcampaign description: Google Campaign Manager Patch a Campaign call: google-campaign-manager-campaigns.patchcampaign with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: google-campaign-manager-campaigns-mcp port: 9090 transport: http description: MCP adapter for Google Campaign Manager Campaign Manager 360 API — Campaigns. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-campaign-manager-list-campaigns description: Google Campaign Manager List Campaigns hints: readOnly: true destructive: false idempotent: true call: google-campaign-manager-campaigns.listcampaigns with: advertiserIds: tools.advertiserIds ids: tools.ids searchString: tools.searchString archived: tools.archived sortField: tools.sortField sortOrder: tools.sortOrder outputParameters: - type: object mapping: $. - name: google-campaign-manager-create-campaign description: Google Campaign Manager Create a Campaign hints: readOnly: false destructive: false idempotent: false call: google-campaign-manager-campaigns.insertcampaign with: body: tools.body outputParameters: - type: object mapping: $. - name: google-campaign-manager-get-campaign description: Google Campaign Manager Get a Campaign hints: readOnly: true destructive: false idempotent: true call: google-campaign-manager-campaigns.getcampaign outputParameters: - type: object mapping: $. - name: google-campaign-manager-update-campaign description: Google Campaign Manager Update a Campaign hints: readOnly: false destructive: false idempotent: true call: google-campaign-manager-campaigns.updatecampaign with: body: tools.body outputParameters: - type: object mapping: $. - name: google-campaign-manager-patch-campaign description: Google Campaign Manager Patch a Campaign hints: readOnly: false destructive: false idempotent: true call: google-campaign-manager-campaigns.patchcampaign with: body: tools.body outputParameters: - type: object mapping: $.