Skip to content
Maua.Culturewire

Google Ads

Campaigns, metrics and reports

MarketingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Google Ads, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In Google Cloud Console (console.cloud.google.com):
    2. Create or pick a project and, under “APIs & Services → Library”, enable the APIs of the services you will connect.
    3. Configure the “OAuth consent screen”.
    4. Under “Credentials → Create credentials → OAuth client ID” choose “Web application” and add the redirect URI shown below to “Authorized redirect URIs”.
    5. Copy the client ID and secret. These steps are only needed for your own OAuth app: when this deployment has a managed Google app, Continue connects without them.

    Default scopes

    • https://www.googleapis.com/auth/adwords

Tools (2)

  • Google Ads API requestGOOGLEADS_SEND_REQUEST

    Authenticated call to the Google Ads API (https://googleads.googleapis.com/{version}). Any endpoint of the API is allowed. Examples: GET /customers:listAccessibleCustomers, POST /customers/{id}/googleAds:search with {"query": "SELECT …"}.

    Required scopes

    No scopes required

    Input

    Google Ads API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • GAQL queryGOOGLEADS_RUN_GAQL_QUERY

    Runs a GAQL query on an account (campaigns, metrics, etc.).

    Required scopes

    No scopes required

    Input

    GAQL query input
    NameTypeDescription
    accountrequiredstringAccount ID (digits only)
    queryrequiredstringe.g. SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_30_DAYS