Join us live onDiscordon the Google Advertising and Measurement Community server and onYouTubeon March 26th at 11:00 AM EST! We will discuss the new features added in v23.2 of the Google Ads API.
LoggingStay organized with collectionsSave and categorize content based on your preferences.
Requests, responses, and summary messages made to the Google Ads API can be
logged to your own custom logger or a default logger in the Ruby library.
Log Levels
The library will log different types of events to different log levels. On a
successful API response, the summary will be logged atINFO, and the full
request and responses will be logged atDEBUG. On a request that resulted in
an API error, the summary message will be logged atWARNand the full request
and response will be logged atINFO.
For partial failures, the partial failure details will be logged atDEBUG.
Configuration
The logger can be configured as part of yourgoogle_ads_config.rbconfiguration. You can set up a default logger by specifying thelog_levelandlog_targetfields, or you can specify your own logger entirely by specifyinglogger. If you specifylogger, thenlog_levelandlog_targetwill be
ignored.
You can also specify a logger after instantiating the client usingclient.logger=.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-25 UTC."],[],[]]