Empty response when migrate from Adwords to Google Ads Click View

136 views
Skip to first unread message

Daniel

unread,
Apr 11, 2022, 8:23:15 PM4/11/22
to Google Ads API and AdWords API Forum
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!

Google Ads API Forum Advisor

unread,
Apr 12, 2022, 5:44:26 AM4/12/22
to daniel....@gmail.com, adwor...@googlegroups.com

Hi Daniel.

Thank you for raising this concern to the Google Ads API forum.

With regard to your concern, could you please provide the complete logs within the format of the request and response logs with request-id and login-customer-id generated on your end and the screenshot where you can see the "always returns an empty list.", that you said? This information will help our team to investigate further.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

Best regards,

Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2a26J4:ref
Reply all
Reply to author
Forward
0 new messages