Google Ads API Integration
Last updated: August 12, 2026
Affitek S.R.L. operates its own portfolio of dating comparison and review websites across eight European markets, and acquires traffic for them through Google Ads. This page describes Affitek Marketing Automation — the internal software tool we build and run in-house, which uses the Google Ads API to report on and manage our own advertising accounts.
1. Our business model
Affitek is a Romanian advertising company (CAEN 7311 — advertising agencies) that builds and operates comparison and review websites in the online dating category, and is expanding into the AI companion product category. Each site compares and reviews dating services available in its local market and is published in that market's language.
Revenue comes from affiliate commissions paid by the dating platforms we review, when a visitor we referred signs up with them. We buy the traffic that reaches these sites primarily through Google Ads search campaigns — one Google Ads account structure per market, all consolidated under a single Google Ads manager (MCC) account owned by Affitek.
Because we are the advertiser, the publisher, and the developer at the same time, every Google Ads account our software touches is an account that Affitek owns and pays for directly.
2. Web properties we operate
These are the live websites whose Google Ads campaigns the tool manages. All are verified in Google Search Console under our account.
| Market | Website | Category |
|---|---|---|
| Romania | topdating.ro | Dating comparison & reviews |
| Austria | topdating.at | Dating comparison & reviews |
| Germany | datingvergleichseiten.de | Dating comparison & reviews |
| Poland | top-portalerandkowe.pl | Dating comparison & reviews |
| Czech Republic | seznamkyrecenze.cz | Dating comparison & reviews |
| Slovakia | zoznamkyrecenzie.sk | Dating comparison & reviews |
| Italy | topincontri.it | Dating comparison & reviews |
| Spain | top5sitiosdecitas.es | Dating comparison & reviews |
| International | topaipartner.com | AI companion comparison |
3. The problem the tool solves
Running search campaigns across nine properties in eight languages produces more day-to-day work than can be handled reliably through the Google Ads web interface. Three problems in particular drove us to build against the API:
- Revenue lives outside Google Ads. Our affiliate commissions are recorded in our own systems, not in Google Ads. To know the true return on a campaign we have to join Google Ads cost data with our internal conversion and revenue data — which requires pulling cost programmatically at keyword and campaign level, on a schedule.
- Cross-market comparison is manual. Comparing spend, CPA and ROI across eight markets means exporting from eight account structures by hand. The API lets us collect it once, nightly, into a single internal dataset.
- Optimization decisions are repetitive. Pausing loss-making keywords, adjusting budgets when a market's return drops, and correcting bids are rule-based actions we would otherwise perform by hand hundreds of times a month.
4. What the tool does
Reporting and analysis (read)
On a scheduled basis, the tool queries the Google Ads API using Google Ads Query Language (GAQL) to retrieve performance data for our own accounts — impressions, clicks, cost, conversions, CPC, CPA and derived ROI — at campaign, ad group and keyword level. This data is written into our internal data store, joined with affiliate revenue recorded by our own tracking, and surfaced in an internal dashboard used by Affitek staff to decide where budget should go.
Campaign management (write)
Based on that analysis, authorized Affitek staff use the tool to apply changes to our own accounts:
- Adjust daily campaign budgets when a market's measured return moves outside its target range.
- Pause or enable campaigns, ad groups, ads and keywords.
- Update keyword bids (CPC) and keyword sets for our campaigns.
- Create and update responsive search ads, including localized headlines and descriptions per market.
Write operations are reviewed before execution: every mutation is first sent with Google's validate_only flag so it is validated by the API without being applied, and only then executed by a member of staff.
Google Ads API resources used
- GoogleAdsService — GAQL reporting queries (campaign, ad group, ad group criterion, ad group ad, customer)
- CampaignService — status and settings updates on our own campaigns
- CampaignBudgetService — daily budget amount updates
- AdGroupService and AdGroupAdService — ad group and ad management
- AdGroupCriterionService — keyword status and bid management
- CustomerService — enumerating the accounts under our own manager account
5. How it works
- Authorization. An Affitek administrator who holds access to our Google Ads manager account authorizes the tool once through Google's OAuth 2.0 consent flow, granting the
adwordsscope. The resulting refresh token is stored server-side. - Scheduled collection. Automated jobs run on Affitek-controlled infrastructure (Amazon Web Services, eu-central-1) and call the Google Ads API over HTTPS to retrieve performance data for the accounts under our manager account.
- Internal storage and joining. Retrieved data is stored in our own database and joined with conversion and affiliate revenue data produced by our own websites and tracking systems.
- Internal reporting. Results are presented to Affitek staff in an internal, authentication-protected dashboard. Access to the dashboard is limited to an explicit allowlist of Affitek email addresses.
- Managed changes. Optimization actions decided by staff are validated against the API and then applied to our own Google Ads accounts through the same integration.
6. Who has access
Access is restricted to internal Affitek personnel only — employees and contracted staff working on Affitek's own campaigns. There are no external users. The tool has no public interface, no sign-up, no customer accounts and no reseller or white-label distribution. No third party can connect their own Google Ads account to it.
7. Data handling and security
- Data retrieved from the Google Ads API relates exclusively to Affitek's own advertising accounts and is used only to manage and report on those accounts.
- Google Ads API data is never sold, licensed, shared with, or exposed to any third party, and is not used for any purpose unrelated to managing our own advertising.
- OAuth client credentials, refresh tokens and the developer token are stored in restricted-permission configuration on Affitek-controlled infrastructure, are never exposed to end users, and are never logged or printed.
- All communication with the Google Ads API takes place over HTTPS.
- The internal dashboard is protected by Google sign-in against an explicit email allowlist, with short-lived signed session tokens.
- Infrastructure access is limited to authorized Affitek personnel.
8. Compliance
Affitek Marketing Automation is developed and operated in accordance with the Google Ads API Terms and Conditions and the Google Ads API Required Minimum Functionality policy. Because the tool is used solely by Affitek to manage Affitek's own advertising accounts and is not offered to any third party, it operates as an internal-use tool under those policies. API call volume is limited to scheduled reporting pulls and on-demand management actions for a single advertiser's account structure, well within standard rate limits.
9. Contact
For questions regarding this integration or our use of the Google Ads API, contact office@affitek.com.
Registered office: Str. Zimbrului nr. 11-13-15, Et. 1, Ap. 22, Municipiul Iași, Jud. Iași, România
Unique registration code (CUI): 50547978 · Trade register no.: J2024022484002
Principal activity: CAEN 7311 — Advertising agencies