> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Google Ads account for tracking

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Creates the app's Google Ads account without launching a campaign, so you can wire conversion tracking before launch.

The account has no campaign and nothing is charged. Calling it again returns the same account. Then call [Build Google Ads tracking fix prompt](/api-reference/build-google-ads-tracking-fix-prompt), install its `tracking_snippet` and `conversions`, and publish the app, so campaigns launched afterwards can serve straight away instead of starting paused.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/ensure-for-tracking
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/apps/{app_id}/google-ads/accounts/ensure-for-tracking:
    post:
      summary: Create Google Ads account for tracking
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Creates the app's Google Ads account without launching a campaign, so
        you can wire conversion tracking before launch.


        The account has no campaign and nothing is charged. Calling it again
        returns the same account. Then call [Build Google Ads tracking fix
        prompt](/api-reference/build-google-ads-tracking-fix-prompt), install
        its `tracking_snippet` and `conversions`, and publish the app, so
        campaigns launched afterwards can serve straight away instead of
        starting paused.
      operationId: >-
        ensure_account_for_tracking_api_apps__app_id__google_ads_accounts_ensure_for_tracking_post
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app to advertise.
            title: App Id
          description: ID of the app to advertise.
          example: 6820f3a4e7b91d003c45a1f2
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/_EnsureAccountForTrackingRequest'
                - type: 'null'
              title: Payload
      responses:
        '200':
          description: The app's Google Ads account.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Ensure Account For Tracking Api Apps  App Id  Google
                  Ads Accounts Ensure For Tracking Post
              example:
                id: 68b1c0d4e7b91d003c45a1f8
                account_name: Nordwind Furniture
                google_customer_id: '1234567890'
                status: ACTIVE
                currency_code: EUR
                timezone: Europe/Berlin
                budget_active: true
                billing_cadence: 1w
                charge_trigger_mode: cadence
                monthly_spend_cap_micros: 500000000
                auto_renew: true
                budget_window_end: '2026-09-30T23:59:59Z'
                terms_accepted_at: '2026-08-25T11:20:00Z'
                business_profile_location_id: locations/12345
                customer_grade: 1
                active_campaign_limit: 3
                total_campaign_limit: 5
                created_date: '2026-08-25T11:20:00Z'
                updated_date: '2026-08-25T14:05:00Z'
        '401':
          description: Missing or invalid credentials.
        '402':
          description: The workspace has no payment method on file.
        '403':
          description: >-
            You don't have access to this app, the app does not exist, or you
            used a workspace API key. A missing app and an app you cannot reach
            are deliberately the same answer. Marketing setup, campaign edits,
            generation and resuming also return `app_marketing_not_allowed` when
            the app's owning workspace has the FERPA designation. Historical
            reads, pausing, deletion and financial settlement remain available.
        '409':
          description: >-
            One of four things: the workspace or this account is on billing
            hold, the app's account exists but cannot take tracking setup
            (`extra_data.account_status` names its status, for example
            `SUSPENDED`), the app moved to another workspace, or another call is
            creating the account right now. Retry only the last one.
        '422':
          description: >-
            The body has a field other than `timezone`, or `timezone` is not a
            string.
        '503':
          description: Billing is temporarily unavailable. Retry shortly.
      security:
        - PersonalAccessTokenAuth:
            - full_access
components:
  schemas:
    _EnsureAccountForTrackingRequest:
      properties:
        timezone:
          type: string
          title: Timezone
          default: ''
      additionalProperties: false
      type: object
      title: _EnsureAccountForTrackingRequest
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.