GRPC::Unimplemented: 12:Operation is not implemented, or supported, or enabled.. debug_error_string:{"created":"@1650273920.527183000","description":"Error received from peer ipv4:142.250.183.202:443","file":"src/core/lib/surface/call.cc","file_line":906,"grpc_message":"Operation is not implemented, or supported, or enabled.","grpc_status":12}
If the code is run again its showing another error
GRPC::Core::CallError: Cannot run batch on closed call
Complete code I tried
client = Google::Ads::GoogleAds::GoogleAdsClient.new do |config|
config.client_id = ' '
config.client_secret = ' '
config.refresh_token = ' '
config.developer_token = ' '
end
responses = client.service.google_ads.search_stream(
customer_id: ' ',
query: 'SELECT campaign.id, campaign.name FROM campaign ORDER BY campaign.id',
)
# Output of responses
#<Enumerator: ...>
responses.each do |response|
response.results.each do |row|
puts "Campaign with ID #{row.campaign.id} and name '#{row.campaign.name}' was found."
end
end
Hi Kiran,
Thanks for reaching out to the Google Ads API Forum.
I can see that you’ve encountered an error with the message “Operation is not implemented, or supported, or enabled.”. However, could you provide us with the complete request and response logs with the request-id generated, so our team can investigate further?
For the ruby library, logging can be enabled by following this guide. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
Regards,
|
||||||
Hi Tyler,
Thanks for commenting on this forum thread.
However, I am unable to proceed with the investigation. To investigate further, our team would require the complete logs in the format of the request and response logs as seen in their respective links. Since you're using a Ruby client library, you may first enable logging by navigating to the Client libraries > Your client library (ex. Ruby) > Logging documentation, which you can access from this link. Kindly provide these details to our team via reply to author Privately option.
Regards,