About obtaining the cost amount for the account on the management screen

90 views
Skip to first unread message

矢崎慎悟

unread,
Mar 18, 2020, 6:10:55 AM3/18/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

I would like to get the cost amount displayed on the right side of the following URL page of the Google Adwords management screen with the API.


Even if you get Cost of BUDGET_PERFORMANCE_REPORT or Cost of ACCOUNT_PERFORMANCE_REPORT, the amount will be different.
Can you tell me how to get the cost amount on the above page?

Regards,
Shingo Yazaki

Google Ads API Forum Advisor Prod

unread,
Mar 18, 2020, 1:47:22 PM3/18/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

Thank you for reaching out. The retrieval of the account balance through API is currently not supported. There is already a feature request to support the retrieval of account balance directly from the API service. Please keep an eye on our blog for updates of the new release information.

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UXVP8x:ref

矢崎慎悟

unread,
Mar 19, 2020, 2:52:54 AM3/19/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

Thanks for the reply.
Let me check one more.
This is the fifth cost from the left of the list of pages of the following URL on the Google Adwords management screen, but is this also the same as the account balance and can not be obtained?


Please check it.

Regards,
Shingo Yazaki



2020年3月18日水曜日 22時47分22秒 UTC+9 adsapiforumadvisor:

Google Ads API Forum Advisor Prod

unread,
Mar 19, 2020, 6:53:44 PM3/19/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

Thank you for reaching out. You could use the BudgetOrderService.get() to retrieve the BudgetOrder for the account. Please let us know if you have any further concerns.



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UXVP8x:ref

矢崎慎悟

unread,
Mar 25, 2020, 5:53:18 AM3/25/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

Thanks for the reply.
Just in case, I will confirm the recognition because the image is pasted.

The attached image is a page displayed in Japanese, but the part displayed at the top with the following URL is cut out.

Is the method of obtaining the amount enclosed in the red frame of this image the same as the answer to the first question? Or is there a way to get it via API?

Regards,
Shingo Yazaki



2020年3月20日金曜日 3時53分44秒 UTC+9 adsapiforumadvisor:
cost_value.png

Google Ads API Forum Advisor Prod

unread,
Mar 25, 2020, 8:00:11 PM3/25/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

There is no service in the API to get the amount in the red box in the picture you sent. This is exactly the same as the account balance. There was already a feature request to support this functionality. Please keep an eye on our blog for updates of the new release information.



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UXVP8x:ref

矢崎慎悟

unread,
Mar 29, 2020, 12:08:10 PM3/29/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

Thanks for the reply.
Then, is it possible to obtain and calculate another value for the account balance that cannot be obtained with the API you answered?

Regards,
Shingo Yazaki



2020年3月26日木曜日 5時00分11秒 UTC+9 adsapiforumadvisor:

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2020, 4:02:20 PM3/30/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

Could you please explain a bit more about the value you would like to obtain? If you could clarify it I could better assist you.



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UXVP8x:ref

矢崎慎悟

unread,
Mar 31, 2020, 1:46:53 AM3/31/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

It will be the amount in the red frame confirmed by attaching the image before.
You answered that this amount cannot be obtained with the API.
Can the amount in the red frame be calculated from another value?
I will attach the same image that I attached before.

Regards,
Shingo Yazaki




2020年3月31日火曜日 1時02分20秒 UTC+9 adsapiforumadvisor:
cost_value.png

Google Ads API Forum Advisor Prod

unread,
Mar 31, 2020, 4:49:07 PM3/31/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

The amount in the red frame is the account balance. This value could not be calculated from another value via the API. Please keep an eye on our blog for updates of the new release information.



Thanks and regards,
Xiaoming, Google Ads API Team


 

ref:_00D1U1174p._5001UXVP8x:ref

矢崎慎悟

unread,
Apr 1, 2020, 2:31:56 AM4/1/20
to AdWords API and Google Ads API Forum
Dear, Google Ads API Team

It is said that the amount in the red frame of the attached image can not be obtained with the API.
It was also found that other values ​​could not be calculated.
So why is the result of subtracting the total ACCOUNT_PERFORMANCE_REPORT cost from MicroAmount obtained by get () of BudgetOrderService different from the amount in red frame?

Regards,
Shingo Yazaki


2020年4月1日水曜日 1時49分07秒 UTC+9 adsapiforumadvisor:
cost_value.png

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2020, 8:36:26 PM4/1/20
to s-ya...@linkseek.jp, adwor...@googlegroups.com

Hi Shingo,

Thank you for reaching out. The value in the red box is actually the amount served. However, the Adwords API does not provide any service to fetch this data. So the workaround is to calculate the Cost metrics from the ACCOUNT_PERFORMANCE_REPORT. Please try to use the same start date and end date as in the BudgetOrder when you run this report. You could also use the AccountBudgetService.GetAccountBudget() to retrieve the amount_served_micros field in the AccountBudget object in the Google Ads API. You could call both the Adwords API and Google Ads API in your application, and use the data that better represent the value on the Google Ads UI. 

I hope this helps. Please let me know if you have any further questions.



Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5001UXVP8x:ref
Reply all
Reply to author
Forward
0 new messages