Audience Report

89 views
Skip to first unread message

Michael Gardner

unread,
May 26, 2023, 3:15:23 PM5/26/23
to Google Ads API and AdWords API Forum
Hello,

I am trying to replicate a UI report provided by a client through the Google Ads API. 

Here are the UI column names the client is requesting:
  • Account name
  • Customer ID
  • Audience segment
  • Audience segment type
  • Campaign
  • Ad group
  • Campaign status
  • Campaign status reasons
  • Campaign ID
  • Day
  • Currency code
  • Clicks
  • Cost
  • Impr.
I have come up with the following query:
SELECT customer.descriptive_name, customer.id, ad_group_criterion.display_name, campaign.name, ad_group.name, campaign.status, campaign.primary_status, campaign.primary_status_reasons, campaign.id, segments.date, customer.currency_code, metrics.clicks, metrics.cost_micros, metrics.impressions
FROM ad_group_audience_view

The issue that I am running into is that I am also not able to find an API equivalent of audience segment and audience segment type. ad_group_cirterion.display_name seems to be close to audience segment, but doesn't seem to be a 100% match. Could you point me in the right direction for those two fields? I can provide the report and more client information if needed.

Thanks,
Michael

Google Ads API Forum Advisor

unread,
May 30, 2023, 1:10:30 PM5/30/23
to mgar...@channelmix.com, adwor...@googlegroups.com

Hi, 

Thanks for reaching out to the Google Ads API Team. I hope you are doing well today.

With regards to your concern about the ad_group_audience_view report and fields result, if you're encountering Google Ads API issues or errors, for our team to further compare, investigate, and validate why you are encountering issues, can you provide more information?

  • Provide the complete (request and response with request-id) logs with request ID generated as shown in the respective links.
  • Complete or uncropped screenshots from the Google Ads UI (data that you are retrieving)

We do this to check if there’s an error thrown on your side or if there is any discrepancy and provide accurate recommendations. 

If you haven't enabled logging yet, it can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

You can provide these via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Reference links:

This message is in relation to case "ref:_00D1U1174p._5004Q2ltouT:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages