class AdwordsApi::UtilsReporter
Public Class Methods
new(credential_handler)
click to toggle source
Default constructor.
Args:
-
credential_handler: The
CredentialHandler
being used by the current
AdwordsApi
instance.
# File lib/adwords_api/utils_reporter.rb, line 30 def initialize(credential_handler) @credential_handler = credential_handler end
Public Instance Methods
batch_job_utils_used()
click to toggle source
A callback method from batch job utils to indicate that it has been used, and that its usage should be recorded in the next user agent string.
# File lib/adwords_api/utils_reporter.rb, line 42 def batch_job_utils_used() @credential_handler.include_in_user_agent("BatchJobHelper") end
report_query_builder_used()
click to toggle source
A callback method from report query builder to indicate that it has been used, and that its usage should be recorded in the next user agent string.
# File lib/adwords_api/utils_reporter.rb, line 48 def report_query_builder_used() @credential_handler.include_in_user_agent("ReportQueryBuilder") end
report_utils_used()
click to toggle source
A callback method from report utils to indicate that it has been used, and that its usage should be recorded in the next user agent string.
# File lib/adwords_api/utils_reporter.rb, line 36 def report_utils_used() @credential_handler.include_in_user_agent("ReportDownloader") end
service_query_builder_used()
click to toggle source
A callback method from service query builder to indicate that it has been used, and that its usage should be recorded in the next user agent string.
# File lib/adwords_api/utils_reporter.rb, line 54 def service_query_builder_used() @credential_handler.include_in_user_agent("ServiceQueryBuilder") end