> ## 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.

# Get Google Ads launch readiness

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

Returns what Base44 will do on launch, so you can check a launch will succeed before spending anything.

Read this first. It tells you the currency the account will be billed in, whether a card is on file, the business details that will go on the Google Ads account, the landing page Google will be asked to crawl, and the daily budget range launch accepts in that currency. Send `landing_page` back verbatim on [Launch campaign](/api-reference/launch-google-ads-campaign) rather than deriving the URL yourself: Base44 prefers a custom domain only once it actually routes, and a URL Google cannot fetch gets the campaign rejected after the account already exists.

Nothing is created or charged by this call.

`landing_page_ready` is best-effort. If Base44 cannot check the app's published address it comes back `false` with an empty `landing_page`, which is indistinguishable from an app that genuinely has no crawlable page.

<Note>This endpoint accepts a personal API key or a workspace API key. A workspace API key acts as the workspace owner.</Note>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/launch-readiness
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/launch-readiness:
    get:
      summary: Get Google Ads launch readiness
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Returns what Base44 will do on launch, so you can check a launch will
        succeed before spending anything.


        Read this first. It tells you the currency the account will be billed
        in, whether a card is on file, the business details that will go on the
        Google Ads account, the landing page Google will be asked to crawl, and
        the daily budget range launch accepts in that currency. Send
        `landing_page` back verbatim on [Launch
        campaign](/api-reference/launch-google-ads-campaign) rather than
        deriving the URL yourself: Base44 prefers a custom domain only once it
        actually routes, and a URL Google cannot fetch gets the campaign
        rejected after the account already exists.


        Nothing is created or charged by this call.


        `landing_page_ready` is best-effort. If Base44 cannot check the app's
        published address it comes back `false` with an empty `landing_page`,
        which is indistinguishable from an app that genuinely has no crawlable
        page.


        <Note>This endpoint accepts a personal API key or a workspace API key. A
        workspace API key acts as the workspace owner.</Note>


        <Warning>The response includes fields beyond the ones documented here.
        Don't rely on undocumented response fields, as they can change at any
        time.</Warning>
      operationId: get_launch_readiness_api_apps__app_id__google_ads_launch_readiness_get
      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
        - name: campaign_type
          in: query
          required: false
          schema:
            type: string
            description: >-
              Campaign type to quote the daily budget range for, as sent on
              launch: `PERFORMANCE_MAX` (the launch default) or `SMART`.
            default: PERFORMANCE_MAX
            title: Campaign Type
          description: >-
            Campaign type to quote the daily budget range for, as sent on
            launch: `PERFORMANCE_MAX` (the launch default) or `SMART`.
          example: PERFORMANCE_MAX
      responses:
        '200':
          description: What a launch would do, and whether it can succeed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LaunchReadinessResponse'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You don't have access to this app or the app does not exist. 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.
        '429':
          description: >-
            `rate_limited`: The base limit is 1,200 requests in a minute from
            your account, shared across every Google Ads read that doesn't name
            its own limit. Some workspaces have a higher limit.
            `X-RateLimit-Limit` reports the enforced limit. Retry after
            `Retry-After` seconds. The `X-RateLimit-*` headers report the budget
            left.
          content:
            application/json:
              examples:
                rate_limited:
                  summary: rate_limited
                  value:
                    error:
                      code: rate_limited
                      message: Rate limit exceeded.
                      details: {}
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
        - WorkspaceApiKeyAuth:
            - full_access
        - WorkspaceApiKeyBearerAuth:
            - full_access
components:
  schemas:
    LaunchReadinessResponse:
      properties:
        has_payment_method:
          type: boolean
          title: Has Payment Method
          description: >-
            Whether the workspace has a card on file. Launching without one is
            rejected with a 402.
          example: true
        stripe_unavailable:
          type: boolean
          title: Stripe Unavailable
          description: >-
            `true` when Base44 could not reach its payment provider, so
            `has_payment_method` is not trustworthy. Launching in this state is
            rejected rather than allowed through.
          example: false
        currency_code:
          type: string
          title: Currency Code
          description: >-
            Currency the campaign will be billed in. On an account that already
            exists this is the currency it was created with and cannot change.
            Otherwise Base44 derives it from where the request comes from, not
            from how the workspace pays.
          example: EUR
        account_exists:
          type: boolean
          title: Account Exists
          description: >-
            Whether the app already has a Google Ads account. When `false`,
            launching creates one, which cannot be undone.
          example: false
        account_id:
          type: string
          title: Account Id
          description: ID of that account, empty when there is none yet.
          example: 68b1c0d4e7b91d003c45a1f0
        billing_cadence:
          type: string
          title: Billing Cadence
          description: >-
            How often the campaign will be charged once launched: `3d`, `1w`,
            `2w`, or `1m`. Answered before the account exists so the billing
            terms shown at launch match how the account is actually charged.
          example: 1w
        landing_page_ready:
          type: boolean
          title: Landing Page Ready
          description: >-
            Whether Base44 resolved a page Google can actually crawl. Launching
            without one gets the campaign rejected by Google after the account
            already exists.
          example: true
        landing_page:
          type: string
          title: Landing Page
          description: >-
            The exact URL to send as the campaign's `landing_page`: a live
            custom domain if the app has one, otherwise its published address.
            Empty when neither resolves. Send this rather than building the URL
            yourself.
          example: https://example.com
        business_info:
          anyOf:
            - $ref: '#/components/schemas/LaunchBusinessInfo'
            - type: 'null'
          description: >-
            The business details that will go on the Google Ads account. `null`
            when the app has none saved, in which case Base44 uses the app's
            name.
        budget_campaign_type:
          type: string
          title: Budget Campaign Type
          description: >-
            Campaign type the budget range below is quoted for: the
            `campaign_type` query parameter, upper-cased.
          example: PERFORMANCE_MAX
        min_daily_budget_micros:
          type: integer
          title: Min Daily Budget Micros
          description: >-
            Lowest daily budget launch accepts, in micros of `currency_code`
            (1,000,000 micros = 1 unit). A lower budget is rejected with a 400.
          example: 8000000
        max_daily_budget_micros:
          type: integer
          title: Max Daily Budget Micros
          description: >-
            Highest daily budget launch accepts, in micros of `currency_code`. A
            higher budget is rejected with a 400.
          example: 85000000
      type: object
      required:
        - has_payment_method
        - stripe_unavailable
        - currency_code
        - account_exists
        - account_id
        - billing_cadence
        - landing_page_ready
        - landing_page
        - budget_campaign_type
        - min_daily_budget_micros
        - max_daily_budget_micros
      title: LaunchReadinessResponse
      description: >-
        Everything that decides whether a launch will succeed.


        Omits `payment_method_last4` and `payment_method_brand`, which the
        response

        also carries. Card detail is not something this endpoint needs to
        publish to

        answer "can this launch"; `has_payment_method` is. Both fields keep
        being

        sent, so leaving them undocumented changes no API.
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    LaunchBusinessInfo:
      properties:
        name:
          type: string
          title: Name
          description: >-
            Business name. Base44 falls back to the app's name when this is
            empty.
          example: Nordwind Furniture
        category:
          type: string
          title: Category
          description: Business category, empty when none is saved.
          example: Furniture store
        description:
          type: string
          title: Description
          description: What the business does, empty when none is saved.
          example: Handmade oak furniture, delivered across Germany.
        phone:
          type: string
          title: Phone
          description: Contact phone number, empty when none is saved.
          example: '+493012345678'
      type: object
      required:
        - name
        - category
        - description
        - phone
      title: LaunchBusinessInfo
      description: The business details Base44 will put on the Google Ads account.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  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`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

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