Google Ads

App · Marketing Automation · 27 actions

Run your Google Ads: create and pause campaigns, set budgets and keywords, keep customer lists, and see how they perform.

Actions

ActionWhat it does
Add a keywordAdd a keyword to an ad group, with its match type and an optional bid of its own.
Add people to a customer listAdd people to a customer list by their email addresses or phone numbers, up to 10,000 at a time.
Create a budgetCreate a daily campaign budget.
Create a campaignCreate a Search or Display campaign against an existing budget.
Create a customer listMake an empty customer list, to add people to by email address or phone number and then target with ads.
Create an ad groupCreate an ad group inside a campaign, optionally with the most it pays for a click.
Generate keyword ideasAsk Google for keyword ideas based on words, a web page, or both, with how often each is searched a month, how much competition there is, and what it costs to show at the top of the page.
Get a campaignGet one campaign, with its status, type, budget and dates.
Get a customer list uploadSee how an earlier add or remove went: whether Google has finished, how many it received, and roughly how many it matched.
Get a performance reportSee how often your ads were shown and clicked, the click-through rate, cost and conversions, by campaign, ad group or keyword, over a date range, with the totals added up for you.
List accountsList the Google Ads accounts you can open directly, with their IDs.
List ad groupsList ad groups in an account, or only those in one campaign.
List adsList the ads in an account with their type, final URLs and policy approval status.
List budgetsList the campaign budgets in an account, with their daily amount and how many campaigns use each.
List campaignsList the campaigns in an account with their status, channel type, budget and schedule.
List customer listsList the account's customer lists, the lists of your own customers' email addresses and phone numbers that ads can target, with about how many people Google can reach on each.
List keywordsList the keywords in an account with their match type, status and bid.
List search termsList what people actually typed before an ad showed, with the keyword each term matched and its clicks, cost and conversions.
Remove a budgetRemove a campaign budget.
Remove a campaignRemove a campaign.
Remove a customer listDelete a customer list.
Remove a keywordRemove a keyword from its ad group.
Remove an ad groupRemove an ad group.
Remove people from a customer listTake people off a customer list by their email addresses or phone numbers, such as someone who unsubscribed or asked not to be targeted.
Run a custom reportGet any figures Google Ads keeps by writing a query in Google Ads' query language (GAQL).
Update a campaignRename a campaign, pause or turn it on, or change when it stops.
Update an ad groupRename an ad group, pause or turn it on, or change the most it pays for a click.

Add a keyword

Add a keyword to an ad group, with its match type and an optional bid of its own.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Ad groupad_group_idtextRequired
The ad group to add the keyword to.
Keywordkeyword_texttextRequired
The word or phrase to bid on. At most 80 characters and 10 words.
Match typematch_typetext
Exact matches the term only, Phrase matches it inside longer queries, Broad matches related searches.One of: EXACT, PHRASE, BROAD. Default: BROAD.
Statusstatustext
Whether the keyword starts serving immediately.One of: ENABLED, PAUSED. Default: ENABLED.
Cost per clickcpc_bidnumber
The most to pay for a click on this keyword, in the account's currency. Leave empty to use the ad group's.At least 0.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "created",
  "id": "222~444",
  "resourceName": "customers/1234567890/adGroupCriteria/222~444"
}

Add people to a customer list

Add people to a customer list by their email addresses or phone numbers, up to 10,000 at a time. Each is hashed before it leaves Lodol. Google matches them to its users over the next day; Get a customer list upload says how it went.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Customer listlist_idtextRequired
The customer list. Pick one, or use the ID from Create a customer list or List customer lists.
Email addressesemailslist
The people's email addresses: a list from an earlier step, or one per line. Lodol hashes each one before it goes to Google, so Google never receives the address itself. Give these, phone numbers, or both.
Phone numbersphoneslist
The people's phone numbers with their country code, like +1 555 123 4567: a list from an earlier step, or one per line. Hashed before they go to Google, like the email addresses.
These people agreed toconsenttextRequired
What these people agreed to when you collected their details. Google requires the answer, and only you know it: don't add anyone who didn't agree to their data being used for ads. Choosing also confirms the account accepts Google's Customer Match terms.One of: personalized_ads (Their data used for ads, including personalized ads), ads_not_personalized (Their data used for ads, but not personalized ads).

Outputs

request_idtext
The upload's ID. Give it to Get a customer list upload to see how Google matched it.
sentnumber
How many email addresses and phone numbers were sent.
Example output
{
  "request_id": "a1b2c3d4-0000-4000-8000-000000000001",
  "sent": 2
}

Create a budget

Create a daily campaign budget. Every campaign needs one, so this is the first step when building a campaign.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Budget namenametextRequired
A name for the budget. Must be unique within the account.
Daily amountdaily_amountnumberRequired
Average amount to spend per day, in the account's currency: enter 25 for 25 dollars, not micros.At least 0.
Delivery methoddelivery_methodtext
Standard spreads the budget across the day; Accelerated spends it as fast as it can.One of: STANDARD, ACCELERATED. Default: STANDARD.
Shared budgetexplicitly_sharedtrue/false
Let more than one campaign draw on this budget.Default: false.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "created",
  "id": "555",
  "resourceName": "customers/1234567890/campaignBudgets/555"
}

Create a campaign

Create a Search or Display campaign against an existing budget. It is created paused unless you say otherwise, so nothing starts spending before you've looked at it.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaign namenametextRequired
A name for the campaign. Must be unique in the account.
Budgetbudget_idtextRequired
The budget the campaign spends from. Pick one, or use the budget an earlier Create a budget step made.
Campaign typechannel_typetext
Where the ads run. Other campaign types need extra setup Google won't accept from a single step.One of: SEARCH, DISPLAY. Default: SEARCH.
Statusstatustext
Whether the campaign starts serving immediately.One of: ENABLED, PAUSED. Default: PAUSED.
Start datestart_datedate
First day the campaign can serve. Defaults to today if left blank.
End dateend_datedate
Last day the campaign serves. Leave blank to run indefinitely.
EU political advertisingeu_political_advertisingtext
A declaration Google requires on every campaign: does this campaign run political advertising in the EU? Answer truthfully; it is a legal declaration, not a setting.One of: DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING (No EU political advertising), CONTAINS_EU_POLITICAL_ADVERTISING (Contains EU political advertising). Default: DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "created",
  "id": "111",
  "resourceName": "customers/1234567890/campaigns/111"
}

Create a customer list

Make an empty customer list, to add people to by email address or phone number and then target with ads. The account must have accepted Google's Customer Match terms in Google Ads.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
NamenametextRequired
The list's name, which must be new in this account, like Newsletter subscribers.
Descriptiondescriptiontext
What the list is for, as Google Ads shows it.
Keep people formembership_daysnumber
How many days someone stays on the list after they're added, up to 540. Defaults to 540.From 1 to 540. Default: 540.

Outputs

descriptiontext
The list's description.
display_sizenumber
About how many people on it Google can show Display ads to.
idtext
The list's ID, which the add and remove steps take.
membership_daysnumber
How many days someone stays on the list once added.
nametext
The list's name.
opentrue/false
Whether people can still be added to it.
search_sizenumber
About how many people on it Google can show Search ads to. Google shows sizes only once a list is big enough.
Example output
{
  "description": "",
  "display_size": null,
  "id": "8123456789",
  "membership_days": 540,
  "name": "Newsletter subscribers",
  "open": true,
  "search_size": null
}

Create an ad group

Create an ad group inside a campaign, optionally with the most it pays for a click.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtextRequired
The campaign to put the ad group in.
Ad group namenametextRequired
A name for the ad group. Must be unique within the campaign.
Statusstatustext
Whether the ad group starts serving immediately.One of: ENABLED, PAUSED. Default: PAUSED.
Cost per clickcpc_bidnumber
The most to pay for a click, in the account's currency: enter 1.50 for one dollar fifty.At least 0.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "created",
  "id": "222",
  "resourceName": "customers/1234567890/adGroups/222"
}

Generate keyword ideas

Ask Google for keyword ideas based on words, a web page, or both, with how often each is searched a month, how much competition there is, and what it costs to show at the top of the page.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Keywordskeywordslist
Words or phrases to base the ideas on. Give these, a page, or both.
Pagepage_urltext
The address of a web page to base the ideas on, for example https://example.com/running-shoes.
Languagelanguage_idtext
Only ideas in this language. Leave empty for every language.
Locationsgeo_target_idslist
Only ideas for people in these places: countries, regions or cities by name, such as United States or London, at most 10. Leave empty for everywhere.
Include adult keywordsinclude_adult_keywordstrue/false
Include adult keywords in the ideas.Default: false.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.

Outputs

countnumber
ideaslist
nextPageTokentext
totalSizetext
Example output
{
  "count": 1,
  "ideas": [
    {
      "avgMonthlySearches": "40500",
      "competition": "HIGH",
      "competitionIndex": "84",
      "highTopOfPageBid": 1.73,
      "highTopOfPageBidMicros": "1730000",
      "lowTopOfPageBid": 0.41,
      "lowTopOfPageBidMicros": "410000",
      "text": "trail running shoes"
    }
  ],
  "nextPageToken": null,
  "totalSize": "1"
}

Get a campaign

Get one campaign, with its status, type, budget and dates.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtextRequired
The campaign to get. Pick one, or use a campaign ID from an earlier step.

Outputs

campaignobject
Example output
{
  "campaign": {
    "advertisingChannelType": "SEARCH",
    "biddingStrategyType": "MANUAL_CPC",
    "campaignBudget": "customers/1234567890/campaignBudgets/555",
    "id": "111",
    "name": "Brand \u2014 Search",
    "resourceName": "customers/1234567890/campaigns/111",
    "startDateTime": "2026-08-01 00:00:00",
    "status": "ENABLED"
  }
}

Get a customer list upload

See how an earlier add or remove went: whether Google has finished, how many it received, and roughly how many it matched.

Inputs

Uploadrequest_idtextRequired
The upload's ID, from an Add people to a customer list or Remove people from a customer list step.

Outputs

errorslist
Why some weren't taken, and how many for each reason.
match_ratetext
Roughly how many Google matched to its users, like 20–30%. Blank until Google says.
recordsnumber
How many email addresses and phone numbers Google received.
statustext
processing, done, partly done, failed or unknown.
Example output
{
  "errors": [],
  "match_rate": "51\u201360%",
  "records": 2,
  "status": "done"
}

Get a performance report

See how often your ads were shown and clicked, the click-through rate, cost and conversions, by campaign, ad group or keyword, over a date range, with the totals added up for you. Each row is ready to put in a table or a message as it is (beta): name, cost_display (money in the account's currency), clicks, conversions, cost_per_conversion_display and ctr_display, so no step has to divide, format or sort. Rows come back with the one that cost most first. To call rows out, fill in the Flag fields rather than adding a filter step: flagged then holds just those rows, each with the reason in flag, and flagged_count says how many. Every campaign (or ad group or keyword) comes back, including one that showed no ads in the period, with zeros, unless Only rows with activity is on. Dates are days in the account's own time zone, and money is in the account's own currency (returned as currency). The whole report comes back in one go, up to How many rows: there are no pages to loop over.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Report onleveltext
What each row should represent.One of: campaign, ad_group (Ad group), keyword. Default: campaign.
Date rangedate_rangetext
The period to report on. Ignored when you set both a start and an end date below. Defaults to the last 30 days. Days are the account's own, in its time zone: Last week (Mon–Sun) is the most recent full Monday to Sunday there, and the Last 7, 14 and 30 days end yesterday. The result says which days were covered, in period_display.One of: TODAY, YESTERDAY, LAST_7_DAYS (Last 7 days), LAST_14_DAYS (Last 14 days), LAST_30_DAYS (Last 30 days), LAST_BUSINESS_WEEK (Last business week), THIS_WEEK_SUN_TODAY (This week (Sun–today)), THIS_WEEK_MON_TODAY (This week (Mon–today)), LAST_WEEK_SUN_SAT (Last week (Sun–Sat)), LAST_WEEK_MON_SUN (Last week (Mon–Sun)), THIS_MONTH (This month), LAST_MONTH (Last month). Default: LAST_30_DAYS.
Start datestart_datedate
First day to include. Set this with an end date for a custom range.
End dateend_datedate
Last day to include. Set this with a start date for a custom range.
Campaigncampaign_idtext
Only include this campaign. Leave empty for every campaign.
Only rows with activityonly_with_activitytrue/false
(beta) Leave out campaigns, ad groups or keywords whose ads weren't shown at all in the period, such as paused ones. Off unless you turn it on: they are then listed with zeros.Default: false.
Flag cost per conversion aboveflag_cost_per_conversion_abovenumber
(beta) An amount in the account's currency, like 50. A row that cost more than this for each conversion gets the flag "Cost per conversion over $50.00" and is listed in flagged. A row with no conversions has no cost per conversion, so this never flags it: turn on Flag spend with no conversions for those. Leave empty to flag nothing this way.At least 0.
Flag spend with no conversionsflag_no_conversionstrue/false
(beta) Flag each row that cost money and got no conversions, as "Spent $312.40 with no conversions", and list it in flagged. A row that cost nothing is never flagged. Off unless you turn it on. With both Flag fields left alone, flagged is empty and flagged_count is 0.Default: false.
How manypage_sizenumber
The most rows to get, from 1 to 10,000. Defaults to 100. When there are more, you get the ones that cost most, and the totals add up only those. All of them come back at once.From 1 to 10000. Default: 100.
Next pagepage_tokentext
Leave empty. The report comes back in one go, so there is no next page to ask for.

Outputs

countnumber
Number of rows in results. 0 when nothing matched.
currencytext
(beta) The account's currency code, like USD. Every money figure in the report is in it.
flaggedlist
(beta) Only the rows whose flag isn't empty, the one that cost most first: those the Flag fields picked out. Always an empty list when neither Flag field is set.
flagged_countnumber
(beta) How many rows are in flagged. 0 when none are, or when neither Flag field is set.
leveltext
The level reported on: campaign, ad_group or keyword.
nextPageTokentext
Always empty: the report comes back in one go.
period_displaytext
(beta) The days the report covers, in words, like "Nov 2, 2026 to Nov 8, 2026", for a subject line or heading. Empty for Last business week.
period_endtext
(beta) Last day the report covers, YYYY-MM-DD. Empty for Last business week.
period_starttext
(beta) First day the report covers, YYYY-MM-DD. Empty for Last business week.
resultslist
Every row, the one that cost most first. Each has ready-to-show fields (name, cost_display, clicks, conversions, cost_per_conversion_display, ctr_display) beside Google's raw values.
time_zonetext
(beta) The account's time zone, like America/New_York. Each day of the report starts and ends at midnight there.
totalResultsCounttext
totalsobject
The rows in results added up.
Example output
{
  "count": 3,
  "currency": "USD",
  "flagged": [
    {
      "ad_group_name": "",
      "campaign": {
        "id": "113",
        "name": "Competitors \u2014 Search",
        "status": "ENABLED"
      },
      "campaign_name": "Competitors \u2014 Search",
      "clicks": 96,
      "conversions": 0,
      "cost": 312.4,
      "cost_display": "$312.40",
      "cost_per_conversion": null,
      "cost_per_conversion_display": "No conversions",
      "ctr_display": "1.85%",
      "customer": {
        "currencyCode": "USD",
        "timeZone": "America/New_York"
      },
      "flag": "Spent $312.40 with no conversions",
      "impressions": 5200,
      "metrics": {
        "averageCpc": 3254167.0,
        "clicks": "96",
        "conversions": 0.0,
        "conversionsValue": 0.0,
        "costMicros": "312400000",
        "ctr": 0.0185,
        "impressions": "5200"
      },
      "name": "Competitors \u2014 Search"
    },
    {
      "ad_group_name": "",
      "campaign": {
        "id": "112",
        "name": "Generic \u2014 Search",
        "status": "ENABLED"
      },
      "campaign_name": "Generic \u2014 Search",
      "clicks": 142,
      "conversions": 2,
      "cost": 170.02,
      "cost_display": "$170.02",
      "cost_per_conversion": 85.01,
      "cost_per_conversion_display": "$85.01",
      "ctr_display": "1.75%",
      "customer": {
        "currencyCode": "USD",
        "timeZone": "America/New_York"
      },
      "flag": "Cost per conversion over $50.00",
      "impressions": 8100,
      "metrics": {
        "averageCpc": 1197324.0,
        "clicks": "142",
        "conversions": 2.0,
        "conversionsValue": 240.0,
        "costMicros": "170020000",
        "ctr": 0.0175,
        "impressions": "8100"
      },
      "name": "Generic \u2014 Search"
    }
  ],
  "flagged_count": 2,
  "level": "campaign",
  "nextPageToken": null,
  "period_display": "Nov 2, 2026 to Nov 8, 2026",
  "period_end": "2026-11-08",
  "period_start": "2026-11-02",
  "results": [
    {
      "ad_group_name": "",
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search",
        "status": "ENABLED"
      },
      "campaign_name": "Brand \u2014 Search",
      "clicks": 531,
      "conversions": 21,
      "cost": 754.02,
      "cost_display": "$754.02",
      "cost_per_conversion": 35.91,
      "cost_per_conversion_display": "$35.91",
      "ctr_display": "4.28%",
      "customer": {
        "currencyCode": "USD",
        "timeZone": "America/New_York"
      },
      "flag": "",
      "impressions": 12400,
      "metrics": {
        "averageCpc": 1420000.0,
        "clicks": "531",
        "conversions": 21.0,
        "conversionsValue": 3150.0,
        "costMicros": "754020000",
        "ctr": 0.0428,
        "impressions": "12400"
      },
      "name": "Brand \u2014 Search"
    },
    {
      "ad_group_name": "",
      "campaign": {
        "id": "113",
        "name": "Competitors \u2014 Search",
        "status": "ENABLED"
      },
      "campaign_name": "Competitors \u2014 Search",
      "clicks": 96,
      "conversions": 0,
      "cost": 312.4,
      "cost_display": "$312.40",
      "cost_per_conversion": null,
      "cost_per_conversion_display": "No conversions",
      "ctr_display": "1.85%",
      "customer": {
        "currencyCode": "USD",
        "timeZone": "America/New_York"
      },
      "flag": "Spent $312.40 with no conversions",
      "impressions": 5200,
      "metrics": {
        "averageCpc": 3254167.0,
        "clicks": "96",
        "conversions": 0.0,
        "conversionsValue": 0.0,
        "costMicros": "312400000",
        "ctr": 0.0185,
        "impressions": "5200"
      },
      "name": "Competitors \u2014 Search"
    },
    {
      "ad_group_name": "",
      "campaign": {
        "id": "112",
        "name": "Generic \u2014 Search",
        "status": "ENABLED"
      },
      "campaign_name": "Generic \u2014 Search",
      "clicks": 142,
      "conversions": 2,
      "cost": 170.02,
      "cost_display": "$170.02",
      "cost_per_conversion": 85.01,
      "cost_per_conversion_display": "$85.01",
      "ctr_display": "1.75%",
      "customer": {
        "currencyCode": "USD",
        "timeZone": "America/New_York"
      },
      "flag": "Cost per conversion over $50.00",
      "impressions": 8100,
      "metrics": {
        "averageCpc": 1197324.0,
        "clicks": "142",
        "conversions": 2.0,
        "conversionsValue": 240.0,
        "costMicros": "170020000",
        "ctr": 0.0175,
        "impressions": "8100"
      },
      "name": "Generic \u2014 Search"
    }
  ],
  "time_zone": "America/New_York",
  "totalResultsCount": "3",
  "totals": {
    "clicks": 769,
    "conversions": 23.0,
    "cost": 1236.44,
    "costMicros": 1236440000,
    "cost_display": "$1,236.44",
    "cost_per_conversion": 53.76,
    "cost_per_conversion_display": "$53.76",
    "impressions": 25700
  }
}

List accounts

List the Google Ads accounts you can open directly, with their IDs. Ask for details to also get each account's name and whether it manages other accounts, plus a shortlist of the ones a campaign can be built in.

Inputs

Include account detailsinclude_detailstrue/false
Look each account up to add its name, currency, and whether it manages other accounts or is a test account, and to narrow the list to the ones you can build campaigns in. Takes a little longer.Default: false.

Outputs

countnumber
customerslist
usablelist
Only present with details: the accounts that are reachable and are not managers — the ones a campaign can be built in.
usableCountnumber
Example output
{
  "count": 2,
  "customers": [
    {
      "currencyCode": "USD",
      "customerId": "1234567890",
      "descriptiveName": "Acme \u2014 Manager",
      "manager": true,
      "reachable": true,
      "resourceName": "customers/1234567890",
      "testAccount": false,
      "timeZone": "America/New_York"
    },
    {
      "currencyCode": "USD",
      "customerId": "9876543210",
      "descriptiveName": "Acme Retail",
      "manager": false,
      "reachable": true,
      "resourceName": "customers/9876543210",
      "testAccount": false,
      "timeZone": "America/New_York"
    }
  ],
  "usable": [
    {
      "currencyCode": "USD",
      "customerId": "9876543210",
      "descriptiveName": "Acme Retail",
      "manager": false,
      "reachable": true,
      "resourceName": "customers/9876543210",
      "testAccount": false,
      "timeZone": "America/New_York"
    }
  ],
  "usableCount": 1
}

List ad groups

List ad groups in an account, or only those in one campaign.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtext
Only include this campaign. Leave empty for every campaign.
Statusstatustext
Only ad groups with this status. Blank means all live ones.One of: ENABLED, PAUSED, REMOVED.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "adGroup": {
        "campaign": "customers/1234567890/campaigns/111",
        "cpcBidMicros": "1500000",
        "id": "222",
        "name": "Brand terms",
        "resourceName": "customers/1234567890/adGroups/222",
        "status": "ENABLED",
        "type": "SEARCH_STANDARD"
      },
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search"
      }
    }
  ],
  "totalResultsCount": "1"
}

List ads

List the ads in an account with their type, final URLs and policy approval status. Scope it to a campaign or ad group if you like.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Ad groupad_group_idtext
Only ads in this ad group. Leave empty for every ad group.
Campaigncampaign_idtext
Only include this campaign. Leave empty for every campaign.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "adGroup": {
        "id": "222",
        "name": "Brand terms"
      },
      "adGroupAd": {
        "ad": {
          "finalUrls": [
            "https://example.com/brand"
          ],
          "id": "333",
          "type": "RESPONSIVE_SEARCH_AD"
        },
        "policySummary": {
          "approvalStatus": "APPROVED"
        },
        "resourceName": "customers/1234567890/adGroupAds/222~333",
        "status": "ENABLED"
      },
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search"
      }
    }
  ],
  "totalResultsCount": "1"
}

List budgets

List the campaign budgets in an account, with their daily amount and how many campaigns use each.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "campaignBudget": {
        "amountMicros": "25000000",
        "deliveryMethod": "STANDARD",
        "explicitlyShared": false,
        "id": "555",
        "name": "Brand daily budget",
        "referenceCount": "1",
        "resourceName": "customers/1234567890/campaignBudgets/555",
        "status": "ENABLED"
      }
    }
  ],
  "totalResultsCount": "1"
}

List campaigns

List the campaigns in an account with their status, channel type, budget and schedule. Removed campaigns are hidden unless you ask for them.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Statusstatustext
Only campaigns with this status. Blank means all live ones.One of: ENABLED, PAUSED, REMOVED.
Name containsname_containstext
Only campaigns whose name contains this text. Quotes and backslashes aren't allowed.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "campaign": {
        "advertisingChannelType": "SEARCH",
        "biddingStrategyType": "MANUAL_CPC",
        "campaignBudget": "customers/1234567890/campaignBudgets/555",
        "id": "111",
        "name": "Brand \u2014 Search",
        "resourceName": "customers/1234567890/campaigns/111",
        "startDateTime": "2026-08-01 00:00:00",
        "status": "ENABLED"
      }
    }
  ],
  "totalResultsCount": "1"
}

List customer lists

List the account's customer lists, the lists of your own customers' email addresses and phone numbers that ads can target, with about how many people Google can reach on each.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.

Outputs

countnumber
How many lists there are.
listslist
The account's customer lists.
Example output
{
  "count": 1,
  "lists": [
    {
      "description": "Everyone who signed up on the website",
      "display_size": 9500,
      "id": "8123456789",
      "membership_days": 540,
      "name": "Newsletter subscribers",
      "open": true,
      "search_size": 12000
    }
  ]
}

List keywords

List the keywords in an account with their match type, status and bid. Scope it to a campaign or ad group if you like.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Ad groupad_group_idtext
Only keywords in this ad group. Leave empty for every ad group.
Campaigncampaign_idtext
Only include this campaign. Leave empty for every campaign.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "adGroup": {
        "id": "222",
        "name": "Brand terms"
      },
      "adGroupCriterion": {
        "cpcBidMicros": "1500000",
        "criterionId": "444",
        "keyword": {
          "matchType": "PHRASE",
          "text": "running shoes"
        },
        "negative": false,
        "resourceName": "customers/1234567890/adGroupCriteria/222~444",
        "status": "ENABLED"
      },
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search"
      }
    }
  ],
  "totalResultsCount": "1"
}

List search terms

List what people actually typed before an ad showed, with the keyword each term matched and its clicks, cost and conversions. The report to mine for negative keywords.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtext
Only include this campaign. Leave empty for every campaign.
Date rangedate_rangetext
The period to report on. Ignored when you set both a start and an end date below. Defaults to the last 30 days.One of: TODAY, YESTERDAY, LAST_7_DAYS (Last 7 days), LAST_14_DAYS (Last 14 days), LAST_30_DAYS (Last 30 days), LAST_BUSINESS_WEEK (Last business week), THIS_WEEK_SUN_TODAY (This week (Sun–today)), THIS_WEEK_MON_TODAY (This week (Mon–today)), LAST_WEEK_SUN_SAT (Last week (Sun–Sat)), LAST_WEEK_MON_SUN (Last week (Mon–Sun)), THIS_MONTH (This month), LAST_MONTH (Last month). Default: LAST_30_DAYS.
Start datestart_datedate
First day to include. Set this with an end date for a custom range.
End dateend_datedate
Last day to include. Set this with a start date for a custom range.
How manypage_sizenumber
How many to get, from 1 to 10,000. Defaults to 100.From 1 to 10000. Default: 100.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "adGroup": {
        "id": "222",
        "name": "Brand terms"
      },
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search"
      },
      "metrics": {
        "clicks": "44",
        "conversions": 3.0,
        "costMicros": "63000000",
        "impressions": "820"
      },
      "searchTermView": {
        "searchTerm": "best running shoes 2026",
        "status": "ADDED"
      },
      "segments": {
        "keyword": {
          "info": {
            "matchType": "PHRASE",
            "text": "running shoes"
          }
        }
      }
    }
  ],
  "totalResultsCount": "1"
}

Remove a budget

Remove a campaign budget. Remove or re-point the campaigns using it first: Google refuses to remove a budget that is still referenced.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Budgetbudget_idtextRequired
The budget to remove.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "removed",
  "id": "555",
  "resourceName": "customers/1234567890/campaignBudgets/555"
}

Remove a campaign

Remove a campaign. Its ad groups and keywords stop serving with it, and this can't be undone, so pause it with Update a campaign instead if you might want it back.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtextRequired
The campaign to remove.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "removed",
  "id": "111",
  "resourceName": "customers/1234567890/campaigns/111"
}

Remove a customer list

Delete a customer list. Ads targeting it stop reaching its people, and this can't be undone.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Customer listlist_idtextRequired
The customer list. Pick one, or use the ID from Create a customer list or List customer lists.

Outputs

actiontext
Always removed.
idtext
The removed list's ID.
Example output
{
  "action": "removed",
  "id": "8123456789"
}

Remove a keyword

Remove a keyword from its ad group. This can't be undone, so pause it with Add a keyword's status instead if you might want it back.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Keywordkeyword_idtextRequired
The keyword to remove. Pick one, or use the keyword an earlier Add a keyword step added.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "removed",
  "id": "222~444",
  "resourceName": "customers/1234567890/adGroupCriteria/222~444"
}

Remove an ad group

Remove an ad group. Its ads and keywords stop serving with it, and this can't be undone, so pause it with Update an ad group instead if you might want it back.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Ad groupad_group_idtextRequired
The ad group to remove.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "removed",
  "id": "222",
  "resourceName": "customers/1234567890/adGroups/222"
}

Remove people from a customer list

Take people off a customer list by their email addresses or phone numbers, such as someone who unsubscribed or asked not to be targeted. They're hashed the same way as when they were added.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Customer listlist_idtextRequired
The customer list. Pick one, or use the ID from Create a customer list or List customer lists.
Email addressesemailslist
The people's email addresses: a list from an earlier step, or one per line. Lodol hashes each one before it goes to Google, so Google never receives the address itself. Give these, phone numbers, or both.
Phone numbersphoneslist
The people's phone numbers with their country code, like +1 555 123 4567: a list from an earlier step, or one per line. Hashed before they go to Google, like the email addresses.

Outputs

request_idtext
The upload's ID. Give it to Get a customer list upload to see how Google matched it.
sentnumber
How many email addresses and phone numbers were sent.
Example output
{
  "request_id": "a1b2c3d4-0000-4000-8000-000000000002",
  "sent": 1
}

Run a custom report

Get any figures Google Ads keeps by writing a query in Google Ads' query language (GAQL). Use this when the other list and report steps don't cover what you need.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
QueryquerytextRequired
The query, in Google Ads' query language, for example: SELECT campaign.id, campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS.
Next pagepage_tokentext
To get the next page, use the next page token an earlier run of this step returned. Leave empty to start at the first page.

Outputs

countnumber
Number of rows on this page.
nextPageTokentext
Pass back as Page token to read the next page. Absent on the last page.
resultslist
totalResultsCounttext
Total rows matching the query, across all pages.
Example output
{
  "count": 1,
  "nextPageToken": null,
  "results": [
    {
      "campaign": {
        "id": "111",
        "name": "Brand \u2014 Search",
        "resourceName": "customers/1234567890/campaigns/111"
      },
      "metrics": {
        "clicks": "342"
      }
    }
  ],
  "totalResultsCount": "1"
}

Update a campaign

Rename a campaign, pause or turn it on, or change when it stops. Only the fields you fill in are changed.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Campaigncampaign_idtextRequired
The campaign to change.
New namenametext
Leave blank to keep the current name.
New statusstatustext
Leave blank to keep the current status. Use Remove a campaign to delete one.One of: ENABLED, PAUSED.
New end dateend_datedate
Leave blank to keep the current end date.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "updated",
  "id": "111",
  "resourceName": "customers/1234567890/campaigns/111"
}

Update an ad group

Rename an ad group, pause or turn it on, or change the most it pays for a click. Only the fields you fill in are changed.

Inputs

Accountcustomer_idtextRequired
The Google Ads account to work in. Pick one, or type its ID, shown at the top of Google Ads (like 123-456-7890), for an account the list doesn't show: it lists only the accounts you can open directly, not those under another manager account.
Ad groupad_group_idtextRequired
The ad group to change.
New namenametext
Leave blank to keep the current name.
New statusstatustext
Leave blank to keep the current status.One of: ENABLED, PAUSED.
New cost per clickcpc_bidnumber
The most to pay for a click, in the account's currency. Leave empty to keep the current amount.At least 0.

Outputs

actiontext
What happened: created, updated or removed.
idtext
The record's ID on its own. For a keyword this is the composite 'adGroupId~criterionId' its removal needs.
resourceNametext
Full resource name of the changed record, for example customers/1234567890/campaigns/98765.
Example output
{
  "action": "updated",
  "id": "222",
  "resourceName": "customers/1234567890/adGroups/222"
}

On this page