Hi,
I am trying to migrate Audience Performance Report from AdWords API to Ads 
API.

1. I am doing the following request (on adgroup level):
SELECT 
   ad_group_criterion.user_list.user_list, 
   customer.descriptive_name, 
   campaign.id, 
   ad_group.id,     
   metrics.conversions,metrics.conversions_value, 
   metrics.impressions,metrics.cost_micros, 
   metrics.ctr,metrics.clicks 
   FROM ad_group_audience_view 
   WHERE  
   segments.date BETWEEN 20201015 AND 20201015

I'm getting no impressions from this select, while in UI I'm getting 2815 
views in total.
(From UI I'm fetching the report Reports->Predefined 
Reports->Basic->Audience)

How to make the request to get the same data as from UI?

2. Another problem I can see also on campaign level:
SELECT 
   campaign_criterion.user_list.user_list, 
   customer.descriptive_name, 
   campaign.id, 
   metrics.conversions,metrics.conversions_value, 
   metrics.impressions,metrics.cost_micros, 
   metrics.ctr,metrics.clicks 
   FROM campaign_audience_view 
   WHERE segments.date BETWEEN 20201015 AND 20201015
Doing the API query like above, I'm getting 1437
 impressions in total, while in UI I'm getting 2815 impressions, like 
before.

Please give me an advice, how to make a request to get the coherent results.

3. I have also a question, if this is the right method to get an Audience 
name: to get *campaign_criterion.user_list.user_list* or 
*ad_group_criterion.user_list.user_list* depending on the level, and than 
to make a *request to user_list resource* like:

*SELECT user_list.name, user_list.type FROM user_list WHERE 
user_list.resource_name = '...'*



Thank you for your explanation!

Regards, 
Ela

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/999cf42d-7e84-4ef2-b95f-cd594cea54fan%40googlegroups.com.

Reply via email to