Hi,
I'm using the Google Ads API to get a conversion action ID.
I was using v6 until the other day, but I upgraded to v8 because I received 
a notice that the request will be closed.
However, since 9/8, the request has failed.
Looking at the migration guide, I don't think there were any changes to the 
'search' method. Is this mentioned somewhere in the documentation?
The error status and Ruby source code are as follows.

ruby/2.7.0/gems/google-ads-googleads-12.0.2/lib/google/ads/google_ads/v8/services/google_ads_service/client.rb:247:in
 
`search'

client = Google::Ads::GoogleAds::GoogleAdsClient.new do |config|
  config.client_id = ENV['GOOGLE_CLIENT_ID']
  config.client_secret = ENV['GOOGLE_CLIENT_SECRET']
  config.refresh_token = ENV['REFRESH_TOKEN']
  config.developer_token = ENV['DEVELOPER_TOKEN']
end
ga_service = client.service.google_ads
response = ga_service.search(
  customer_id: conversion_api.sub_account_id,
  query: query
)

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/703829fb-d2d2-41f5-b462-17f56454c087n%40googlegroups.com.

Reply via email to