login_customer_id for multiple accounts

2022-11-04 Thread Vk Kv
Hello,

I'm migrating my app from AdWords to GoogleAds. My test email contains 
multiple manager accounts, some of them are empty or disabled (screenshot 
"accounts"). 
When I'm trying to get account hierarchy or do anything with customer 
account, linked to the manager, I have to pass *login_customer_id. *But if 
customer account is linked to a different manager account, I have to switch 
back and forth between *login_customer_id*s, which is pain, because it 
slows the app down. 

I also use *list_accessible_customers() *to get initial list of accounts 
that I have on particular email, and, as I mentioned, not everywhere I can 
retrieve account hierarchy because these accounts can be disabled. When I 
retrieve customers via *googleads_service.search*, I can filter in query by 
customer_client.status = 'ENABLED'. But how can I filter the initial set, 
that I retrieve through  *list_accessible_customers()*?

Thanks in advance.[image: accounts.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4822132-b225-41a2-a41a-ebad5cc7b71bn%40googlegroups.com.


all_coversions_value in shopping_performance_view

2022-09-12 Thread Vk Kv
Hello, trying to select *all_conversions_value* in 
*shopping_performance_view*, however, it throws an error, that field is not 
selectable. Tried both in GAQL and directly through API. 
GAQL traceback and screenshot from documentation on  
*shopping_performance_view. 
*Any help appreciated, thanks!

   - API Version: v11
   - Query: "SELECT segments.product_item_id, metrics.clicks, 
   metrics.impressions, metrics.average_cpc, metrics.search_impression_share, 
   metrics.all_coversions_value, metrics.cost_micros, metrics.all_conversions, 
   metrics.cost_per_all_conversions, 
   metrics.search_absolute_top_impression_share, metrics.all_conversions_value 
   FROM shopping_performance_view"
   
   - Result: Invalid Query (errors below) 'metrics.all_coversions_value' is 
   not a valid field in the SELECT clause when 'shopping_performance_view' is 
   the resource in the FROM clause. Fields in the SELECT must be 'Selectable'.
   
   - 
   [image: documentation.png]
   

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b9817649-710e-4810-b315-b67502288240n%40googlegroups.com.