Optimyzee App/Campaign/Google Ads API

App/Campaign/GoogleAds

Operations 4

POST /app/campaign/googleAds/{campaignId}/access #
POST /app/campaign/googleAds #
GET /app/campaign/googleAds/{campaignId}/metrics #
POST /app/campaign/googleAds/{campaignId}/refresh #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optimyzee-app-campaign-googleads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimyzee-app-campaign-googleads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Optimyzee Application App/Campaign/Google Ads API
  version: 4.1.0
  x-original-title: API
  description: App/Campaign/GoogleAds
servers:
- url: https://api.optimyzee.com
  description: Production (host serving this document at /docs)
tags:
- name: App/Campaign/GoogleAds
  description: App/Campaign/GoogleAds
paths:
  /app/campaign/googleAds/{campaignId}/access:
    post:
      tags:
      - App/Campaign/GoogleAds
      operationId: appCampaignGoogleAdsAccess
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: Successful
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
      security:
      - token: []
  /app/campaign/googleAds:
    post:
      tags:
      - App/Campaign/GoogleAds
      operationId: appCampaignGoogleAdsCreate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - linkingId
              - campaignId
              properties:
                linkingId:
                  type: integer
                campaignId:
                  type: integer
              type: object
      responses:
        '201':
          description: Successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdSchema'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
      security:
      - token: []
  /app/campaign/googleAds/{campaignId}/metrics:
    get:
      tags:
      - App/Campaign/GoogleAds
      operationId: appCampaignGoogleAdsMetrics
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: integer
      - name: from
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: to
        in: query
        required: true
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/AppCampaignGoogleAdsMetricsReportSchema'
                type: object
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBagSchema'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
      security:
      - token: []
  /app/campaign/googleAds/{campaignId}/refresh:
    post:
      tags:
      - App/Campaign/GoogleAds
      operationId: appCampaignGoogleAdsRefresh
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: Successful
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
      security:
      - token: []
components:
  schemas:
    ErrorSchema:
      required:
      - errors
      properties:
        error:
          type: string
        message:
          type:
          - string
          - 'null'
      type: object
    IdSchema:
      required:
      - id
      properties:
        id:
          type: integer
      type: object
    ErrorBagSchema:
      required:
      - errors
      properties:
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      type: object
    AppCampaignGoogleAdsMetricsReportSchema:
      required:
      - unit
      - currencyCode
      - metrics
      - summary
      properties:
        unit:
          type: string
        currencyCode:
          type: string
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/AppCampaignGoogleAdsMetricsSchema'
        summary:
          $ref: '#/components/schemas/AppCampaignGoogleAdsMetricsSummarySchema'
      type: object
    AppCampaignGoogleAdsMetricsSchema:
      required:
      - date
      - costMicros
      - clicks
      - conversions
      - costPerConversion
      properties:
        date:
          type: string
          format: date
        costMicros:
          type: integer
        clicks:
          type: integer
        conversions:
          type: number
          format: float
        costPerConversion:
          type: number
          format: float
      type: object
    AppCampaignGoogleAdsMetricsSummarySchema:
      required:
      - costMicros
      - clicks
      - conversions
      - costPerConversion
      properties:
        costMicros:
          type: integer
        clicks:
          type: integer
        conversions:
          type: number
          format: float
        costPerConversion:
          type: number
          format: float
      type: object
  securitySchemes:
    token:
      type: apiKey
      description: Bearer token authorization
      name: authorization
      in: header