Hello Team,
I'm working in the migration to the new Google Ads API, currently working 
in the migration process from CLICK_PERFORMANCE_REPORT to Click View report.

I'm having an issue with a query that filter by a GCLID. For some reason, 
it always returns an empty list.

GAQL:
click_view_query = <<~QUERY
  SELECT
        campaign.id,
        campaign.name,
        ad_group.name,
        ad_group.id,
        click_view.area_of_interest.region,
        click_view.area_of_interest.city,
        segments.slot,
        click_view.keyword_info.text,
        click_view.keyword_info.match_type
  FROM click_view
  WHERE click_view.gclid = '#{CLICK_ID}'
  AND segments.date = '2022-04-11'
QUERY

Ruby Client:
result = @google_ads_client.service.google_ads.search(
customer_id: @account_id,
return_total_results_count: true,
query: click_view_query
)

I'm using the latest version of ruby client that is recommed in the 
official documentation. I would appreciate any help here. Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/209000ba-9671-43c8-b901-0d3de9e4e268n%40googlegroups.com.
  • Em... Daniel
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to