Hi,

Could you please email us the below required details directly to 
*'[email protected]'* for further investigation.

   - Complete API logs (request 
   
<https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
    and response 
   
<https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
    with request-id 
   
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
    and request header 
   
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
   ) generated at your end for both ad_group_audience_view and 
   campaign_audience_view reports
   - Uncropped UI screenshot of audience stats (with visible customer Id)

If you are using a client library and haven't enabled the logging yet, I 
would request you to enable logging for the specific client library that 
you are using. You can refer to the guides Java 
<https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
, .Net 
<https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
, PHP 
<https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
, Python 
<https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
, Ruby 
<https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging>
 or Perl 
<https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> to 
enable logging at your end. For REST interface requests, you can enable 
logging via the curl command by using the -i flag.

Regards,
Google Ads API Team.

On Tuesday, September 9, 2025 at 3:57:01 AM UTC+5:30 
[email protected] wrote:

> Hello,
>
> The answer provided does not address what I am trying to achieve. As 
> explained earlier, I am retrieving the data through Fivetran, which 
> leverages the Google Ads API to provide audience stats via both 
> ad_group_audience_view 
> <https://developers.google.com/google-ads/api/fields/v21/ad_group_audience_view>
>  and campaign_audience_view 
> <https://developers.google.com/google-ads/api/fields/v21/campaign_audience_view>.
>  
> Below is the script I am currently using to extract the unaggregated data:
>
> with audience_stats_custom_reports as (
> select
>     round(sum(cost_micros/1000000), 4) as cost,
>     sum(clicks) as clicks,
>     sum(impressions) as impressions,
>     sum(interactions) as interactions,
>     sum(video_views) as video_views
> from $source_ad_group_audience
> where date between $date_1 and $date_2
> union all
> select
>     round(sum(cost_micros/1000000), 4) as cost,
>     sum(clicks) as clicks,
>     sum(impressions) as impressions,
>     sum(interactions) as interactions,
>     sum(video_views) as video_views
> from $source_campaign_audience
> where date between $date_1 and $date_2
> )
>
> select
>     sum(cost) as cost,
>     sum(clicks) as clicks,
>     sum(impressions) as impressions,
>     sum(interactions) as interactions,
> sum(video_views) as video_views
> from audience_stats_custom_reports
>
> After running the query, the results do not align with what I see in the 
> Google Ads console. The only exception is video_views, which matches only 
> when I filter out the “*Removed*” state from the *audience segment state*, 
> as explained above.
>
> Could you clarify why video_views matches the console while the other 
> metrics do not?
> On Monday, September 8, 2025 at 2:29:01 AM UTC-5 Google Ads API Forum 
> Advisor wrote:
>
>> Hi,
>>
>> Thank you for reaching out to the Google Ads API support team.
>>
>> An audience is a reusable collection of focused segments, demographic 
>> targeting, and exclusions. In order to these retrieve audiences 
>> <https://developers.google.com/google-ads/api/docs/remarketing/audiences?hl=en#retrieve_audiences>
>>  please 
>> refer to the sample query below: 
>>
>>
>> SELECT
>>   audience.id,
>>   audience.resource_name,
>>   audience.name,
>>   audience.status,
>>   audience.description,
>>   audience.dimensions,
>>   audience.exclusion_dimension
>> FROM audience
>>
>> You can try making a request using the Search 
>> <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest>
>>  or SearchStream 
>> <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/SearchStream?transport=rest>
>>  by 
>> passing the customer Id. Also, you can use QueryBuilder 
>> <https://developers.google.com/google-ads/api/fields/v21/overview_query_builder>
>>  to 
>> create your query and QueryValidator 
>> <https://developers.google.com/google-ads/api/fields/v21/query_validator> to 
>> validate your query.
>>
>> If this is not what you are looking for, provide us with the uncropped UI 
>> screenshot with a visible customer Id by highlighting the audience level 
>> stats that you are trying to retrieve using the Google Ads API. 
>>
>> You can send the details via *Reply privately to the author option*, or 
>> *direct 
>> private reply* to this email.
>>   
>>
>> Thanks,
>>   
>> [image: Google Logo] Google Ads API Team 
>> Feedback
>> How was our support today? 
>>
>> [image: rating1] 
>> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001u5vGQIAY>
>>   
>>   [image: rating2] 
>> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001u5vGQIAY>
>>   
>>   [image: rating3] 
>> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001u5vGQIAY>
>>   
>>   [image: rating4] 
>> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001u5vGQIAY>
>>   
>>   [image: rating5] 
>> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001u5vGQIAY>
>> [2025-09-08 07:28:22Z GMT] This message is in relation to case 
>> "ref:!00D1U01174p.!500Ht01u5vGQ:ref" (ADR-00331941)
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/629c33e0-ae5e-4793-a3e7-c9582fc0a273n%40googlegroups.com.
  • Re... 'Sergio Ortiz' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Google Ads API and AdWords API Forum

Reply via email to