Skip to main content
Follow the REST app guide. Pass providerEndpoint("google-ads.report.gaql", "https://googleads.googleapis.com", "/v25/customers/1234567890/googleAds:search", auth, data) as receivers.provider from @bijectionhq/app-rest. Pass the same protected label to the receiver binder and as the app’s data. Use multiSecret with a sealed OAuth access token in Authorization with prefix Bearer and a sealed developer-token with no prefix. Rotate the access token before expiry.
Use the customer ID from the path as selection. For manager access, put the ten-digit manager ID in collection. Choose exactly one resource dimension from customer.id, campaign.id, ad_group.id and ad_group_ad.resource_name. Add segments.date for daily rows and, except for customer reporting, segments.device for device breakdown. Available metrics are metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.ctr and metrics.average_cpc. Each poll repeats the configured interval of up to 31 days. A report must fit one answer of up to 100 rows and 36 KiB. An extra row or continuation refuses the report. Keys combine the customer ID and ordered dimension values. Omitted groups leave existing observations in place. Google Ads v25 query builder

Campaigns, ad groups, ads, and assets

Use the same Google Ads Search path, label and credentials with one of google-ads.campaigns.observations, google-ads.ad-groups.observations, google-ads.ads.observations or google-ads.assets.observations. Set the customer as selection and, for manager access, its manager as collection. Set limit up to 100 and omit the report terms. The assets mode reads creative asset metadata. Each observation uses the exact GAQL resource name. The complete resource listing must fit one 36 KiB answer. Polling repeats the query from the beginning and leaves omitted records in place.

Conversion writes

Bind providerWriter for google-ads.conversions.upload and pass it as receivers.writers["google-ads.conversions.upload"], using the Google Ads origin and one customer ID in scope. Use separate sealed OAuth and developer token headers. Submit a create command comprising one gclid, conversionAction resource name and conversionDateTime with an offset. The receipt requires a successful per-event result and exposes the upload job ID. Google restricts this endpoint to eligible developer tokens. Follow the native write guide with the same protected data label on the writer and the app. Each command takes one JSON object up to 24 KiB. The mount binds its key to the exact command and dispatches once. An unresolved dispatch stays unknown. Acknowledgement does not establish attribution.