Google API Endpoints & Fields

This article provides a consolidated reference of Google API endpoints and reporting fields used by Zitcha to create, manage, and report on campaigns across planning and orders workflows.

This article outlines how Zitcha interacts with advertising platforms in Zitcha 1.0 (Orders). It documents the key campaign, ad set, ad, product, and reporting endpoints that underpin how campaigns are created, managed, and measured.

Google Ads API

Campaign Management

ServiceEndpointHTTP
Campaign Managementcustomers/{customer_id}/campaigns:mutatePOST

Fields: id, name, status, advertising_channel_type, advertising_channel_sub_type, start_date_time, end_date_time, campaign_budget, bidding_strategy_type

Campaign Metrics/ Insights

ServiceEndpointHTTP
Campaign Metrics/Insightscustomers/{customer_id}/googleAds:searchStreamPOST

Fields: cost_micros, average_cpc, average_cpm, ctr, clicks, impressions, conversions_value, conversions, video_trueview_views, video_trueview_view_rate, trueview_average_cpv

Campaign Store Insights

ServiceEndpointHTTP
Campaign Store Insightscustomers/{customer_id}/googleAds:searchStreamPOST

Fields: all_conversions, all_conversions_value

Segments: conversion_action_category (filtered to STORE_SALE)

Campaign Breakdown Insights

ServiceEndpointHTTP
Campaign Breakdown Insightscustomers/{customer_id}/googleAds:searchStreamPOST

Fields: clicks, impressions, average_cpc, average_cpm, cost_micros

Segments: date

Ad Groups

ServiceEndpointHTTP
Ad Groupscustomers/{customer_id}/adGroups:mutatePOST

Fields: id, name, status

Ads

ServiceEndpointHTTP
Adscustomers/{customer_id}/adGroupAds:mutatePOST

Fields: ad.id, ad.name, status

Campaign Budgets

ServiceEndpointHTTP
Campaign Budgetscustomers/{customer_id}/campaignBudgets:mutatePOST

Fields: amount_micros, total_amount_micros, explicitly_shared

Ad Group Criteria (Audience / Product Targeting)

ServiceEndpointHTTP
Ad Group Criteriacustomers/{customer_id}/adGroupCriteria:mutatePOST

Fields: Targeting criteria (audiences, product groups, gender)

Campaign Criteria (Location Targeting)

ServiceEndpointHTTP
Campaign Criteriacustomers/{customer_id}/campaignCriteria:mutatePOST

Fields: Location targeting criteria

Geographic Target Constants

ServiceEndpointHTTP
Geographic Target ConstantsgeoTargetConstants:suggestPOST

Fields: id, name, target_type, canonical_name, status

Remarketing Audiences

ServiceEndpointHTTP
Remarketing Audiencescustomers/{customer_id}/googleAds:searchStreamPOST

Resource: user_list

Fields: id, name, type, size_for_search, membership_life_span, size_range_for_search, size_range_for_display, size_for_display, description, membership_status, logical_user_list.rules

User Interests (In-Market & Affinity)

ServiceEndpointHTTP
User Interestscustomers/{customer_id}/googleAds:searchStreamPOST

Resource: user_interest

Fields: name, taxonomy_type, user_interest_id

Filters: taxonomy_type = IN_MARKET or taxonomy_type = AFFINITY


Google Content API for Shopping (Merchant Center)

Products

ServiceEndpointHTTP
List Products{merchantId}/productsGET (paginated)

Fields: id, offerId, imageLink, price (value, currency)

Products Statuses

ServiceEndpointHTTP
List Product Statuses{merchantId}/productstatusesGET (paginated)
Get Product Status{merchantId}/productstatuses/{productId}GET
Batch Get Product Statusesproductstatuses/batchPOST (custom batch)

Batch Fields: method, productId, merchantId, batchId