Radar
‹ Back to home

Radar platform: Google Ads API tool design

How our internal tool uses the Google Ads API to manage, monitor and report on the accounts of the local service businesses we work for.

Company and business model

Radar (aradar.com.br) is a small agency based in Goiânia, Goiás, Brazil. We manage Google Ads campaigns and Google Business Profiles for local service providers: plumbers, drain cleaners, electricians, air-conditioning technicians, dentists, physiotherapists and similar businesses. Clients pay a monthly fee to Radar; their ad spend is paid by the client directly to Google, on their own Google Ads account.

The Radar platform is our internal tool. Agency staff use it to manage and monitor the accounts we are responsible for, and each client gets a read-only dashboard with their own results. All client accounts are linked to the Radar Google Ads manager account (MCC).

Tool typeInternal agency tool + read-only client dashboard (web app, PHP + MySQL)
Who connects to the APIOnly the agency owner, through one OAuth 2.0 consent on the Radar manager account
Accounts accessedOnly client accounts linked to our MCC
Third-party accessNone. We do not offer API access or the tool to other agencies or advertisers.

Users and how an account is connected

Agency staff

The owner and a small team sign in with their own e-mail and password. Roles (owner, manager, salesperson, read-only) are checked on the server. Only the owner and managers can see client Google Ads data or make changes. Staff never receive Google credentials or tokens.

Clients (read-only)

Each client receives a private link to a dashboard with their own numbers: spend, calls, messages, optimization score, the changes we made and our open questions. Clients cannot change anything in Google Ads through Radar and never see other clients' data.

Linking a new client

The client gives us their customer ID. Radar sends a manager link invitation from our MCC. The client accepts it inside their own Google Ads account. The client keeps ownership and can remove our access at any time.

Features

Each feature is marked as reading data (reports) or changing data (mutates). Every change is made by a staff member on request; Radar makes no automatic changes to client campaigns.

Reads

Daily performance pull

Cost, clicks, impressions, conversions and phone calls per campaign and day, stored in our database.

Reads

Spend-stopped alert

At 11:00 and 16:00 we check whether an account stopped spending (missing days count as zero) and notify staff.

Reads

Optimization score history

We store the account's optimization score so the client sees where we started and where it is now.

Reads

Search terms review

Staff see which searches triggered the ads, to find irrelevant ones.

Changes

Negative keywords

From the search terms list, staff block a term as an exact or phrase-match campaign negative.

Changes

Pause or enable a campaign

For example when a client is fully booked or out of service.

Changes

Daily budget

Staff change a campaign's daily budget after the client approves it.

Changes

Recommendations

Staff review Google's recommendations and apply or dismiss each one individually.

Changes

Manager link invitation

Sends a link invitation from our MCC to a new client's account.

Reads

Keyword research

Search volume and cost estimates by service and city (Keyword Planner), used to plan new accounts. Results are cached for 30 days.

Reads

Before and after

After 14 days, results are compared with the baseline stored when the client joined.

Reads

Weekly summary and change log

Every Monday a summary is prepared from stored data; every change and open question appears in the client's dashboard.

Google Ads API services used

ServicePurpose in RadarTypeWhen
GoogleAdsService.SearchReports from customer, campaign, campaign_criterion, search_term_view, ad_group_ad, recommendation and customer_client_linkReadDaily pull, 2 checks a day, staff views
CampaignCriterionService.MutateCampaignCriteriaAdd negative keywordsWriteOn demand, by staff
CampaignService.MutateCampaignsPause or enable a campaignWriteOn demand, by staff
CampaignBudgetService.MutateCampaignBudgetsChange a daily budgetWriteOn demand, by staff
RecommendationService.ApplyRecommendation / DismissRecommendationApply or dismiss one recommendationWriteOn demand, by staff
CustomerClientLinkService.MutateCustomerClientLinkInvite a new client account to our MCCWriteOnce per new client
GeoTargetConstantService.SuggestGeoTargetConstantsFind the city for keyword researchReadOn demand, by staff
KeywordPlanIdeaService.GenerateKeywordIdeasSearch volume and cost estimatesReadOn demand, cached 30 days

Expected volume and efficiency

Volume

Today we use about 10 operations per client account per day. Our goal is 100 to 300 client accounts, which means about 1,000 to 3,000 operations a day. That passes the Explorer limit of 2,880 and stays well within Basic access.

Efficiency

One scheduled pull per account per day, stored in our database. Dashboards read from the database, not from the API. Checks query only today and yesterday. Failed calls are retried once with a delay, and past days are never requested twice.

Data flow

StepWhat happens
1. Google Ads APIClient accounts under our MCC, accessed with one OAuth refresh token kept on our server.
2. Scheduled jobDaily pull plus checks at 11:00 and 16:00 (America/Sao_Paulo).
3. Radar databaseMySQL at our hosting provider: daily metrics, history, alerts and the change log.
4. Staff appAlerts, client cards, campaign and search-term actions (owner and managers only).
5. Client dashboardRead-only view of the client's own numbers and our change log.

Security and data handling

  • The developer token, OAuth client secret and refresh token are stored on the server, outside the public web folder, and never sent to browsers.
  • The customer ID used for every read or change comes from the client record on the server, never from the browser.
  • Role checks happen on the server. Only the owner can connect or disconnect Google and invite team members.
  • Sign-in is limited to a few attempts; deactivated users lose access immediately.
  • All traffic uses HTTPS. Client dashboard links are private and can be replaced at any time.
  • Google Ads data is used only to manage and report on that client's own account. It is not sold, shared with third parties or combined across clients. See our privacy policy.
  • When a client ends the service, we remove the manager link and stop all API calls for that account.

Contact

Radar · Goiânia, Goiás, Brazil · aradar.com.br
E-mail: contato@aradar.com.br · Phone / WhatsApp: +55 (62) 92005-8416