Hi, just another question related to getting totals.

How can I get column totals? I mean, total like in a group by.

For example, I query at the adgroup level, and filter a subset of adgroup. 
I select campaign.name, and metrics.average_cost.
The result is aggregated at the adgroup level, one row per adgroup, so the 
result could have repeated campaigns. I want to get the total 
metrics.average_cost by campaign.

Is it possible with the API? I see Data Studio does it.

Best regards,
Luis
El viernes, 23 de abril de 2021 a la(s) 10:55:13 UTC-3, Luis Pandolfi 
escribió:

> Thank you! you saved my day.
>
> El viernes, 23 de abril de 2021 a la(s) 10:45:48 UTC-3, 
> nangsawxru...@gmail.com escribió:
>
>>
>> ในวันที่ ศ. 23 เม.ย. 2021 20:27 Google Ads API Forum Advisor Prod <
>> adsapifor...@gmail.com> เขียนว่า:
>>
>>> Hi Stefano,
>>>
>>> Thank you for sharing the information to help out other people.
>>>  
>>>
>>> - Luis,
>>>
>>> Let us know if you have any further questions.
>>>  
>>>
>>> Thanks and regards,
>>> Xiaoming, Google Ads API Team
>>>
>>>
>>> [image: Google Logo] 
>>> Xiaoming 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5001UAqWq9:ref
>>>
>>> -- 
>>> -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 adwor...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> adwords-api...@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 "AdWords API and Google Ads API Forum" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to adwords-api...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/adwords-api/9erlt000000000000000000000000000000000000000000000QS0QQD00oLcNVYL2Rp-IXpuZ61tugQ%40sfdc.net
>>>  
>>> <https://groups.google.com/d/msgid/adwords-api/9erlt000000000000000000000000000000000000000000000QS0QQD00oLcNVYL2Rp-IXpuZ61tugQ%40sfdc.net?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/32edd0b2-ca6a-4f46-b82d-0d262655ff1fn%40googlegroups.com.
  • Re: Getti... Luis Pandolfi
    • Re: ... Google Ads API Forum Advisor Prod
      • ... stefano...@webrepublic.ch
        • ... Google Ads API Forum Advisor Prod
          • ... นางสาวอรุณรักษ์ บุญลือ
            • ... Luis Pandolfi
              • ... Luis Pandolfi
                • ... Google Ads API Forum Advisor Prod
                • ... Luis Pandolfi
                • ... Google Ads API Forum Advisor Prod
                • ... Luis Pandolfi
                • ... Google Ads API Forum Advisor Prod
                • ... Luis Pandolfi
                • ... Google Ads API Forum Advisor Prod

Reply via email to