Re: Get Balance Api Adwords

2020-02-24 Thread Google Ads API Forum Advisor Prod
Hi,

There is a better way to get this value by fetching the 
account_budget.amount_served_micros field from the account_budget resource. You 
could refer to this documentation on how to write the report query.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UV1n7T: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 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/HJNH80Q67SK2002yd7p4xTRiq-hqyGfP-W3g%40sfdc.net.


Re: Get Balance Api Adwords

2020-02-21 Thread Василий Рогачев
 the Cost value from the Account Performance Report - How to get it?

On Friday, February 21, 2020 at 10:47:01 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi,
>
> Thanks for reaching out. The way mentioned to calculate the balance is by 
> subtracting the spending from the pre-set budget on the account. The 
> Account Performance Report is the report for retrieving metrics for a 
> specific account within a date range. Once you get the Cost value from the 
> Account Performance Report, you could subtract it from the budget you set 
> for the account for the same period of time to know how much budget left 
> for the account.  
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>  
>
> ref:_00D1U1174p._5001UV1n7T: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 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/a99447f2-19af-457f-8df5-68ba5d37e7fd%40googlegroups.com.


RE: Get Balance Api Adwords

2020-02-21 Thread Google Ads API Forum Advisor Prod
Hi,

Thanks for reaching out. The way mentioned to calculate the balance is by 
subtracting the spending from the pre-set budget on the account. The Account 
Performance Report is the report for retrieving metrics for a specific account 
within a date range. Once you get the Cost value from the Account Performance 
Report, you could subtract it from the budget you set for the account for the 
same period of time to know how much budget left for the account.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UV1n7T: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 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/G8D180Q62HLK00E4sskbywTE2wdgIQwvQ1lw%40sfdc.net.


Get Balance Api Adwords

2020-02-21 Thread Василий Рогачев
Hello.

"Balance information is still not directly available via the AdWords API. 
Please continue to follow our blog 
 for 
updates.

However, as a workaround, you can compute the remaining balance by 
subtracting the total Cost 

 of 
the Account Performance Report 

 from 
your known budget."

Could you tell us more about calculating the balance? About calculating the 
cost of clicks, for a week it is clear "SELECT AccountDescriptiveName, 
Cost, AccountCurrencyCode   FROM ACCOUNT_PERFORMANCE_REPORT DURING 
LAST_7_DAYS". What is the Account Performance Report ? How is it 
calculated? And how is it related to the balance?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/da638b7d-fe35-42c2-859f-cf376154e3e7%40googlegroups.com.