Hi Aryeh
Thanks for response
Request:
SELECT
campaign.id,
customer.id,
campaign_budget.resource_name,
campaign_budget.amount_micros,
campaign_budget.total_amount_micros,
metrics.cost_micros,
campaign.start_date,
campaign.end_date
FROM
campaign_budget
WHERE
campaign.id in (14851088599)
AND segments.date = '2021-10-05'
Response
results {
customer {
resource_name: "customers/8895986609"
id: 8895986609
}
campaign {
resource_name: "customers/8895986609/campaigns/14851088599"
name: "Hide, contains customer information"
id: 14851088599
start_date: "2021-10-04"
end_date: "2021-11-15"
}
metrics {
cost_micros: 0
}
campaign_budget {
resource_name: "customers/8895986609/campaignBudgets/9589407243"
amount_micros: 1220000
}
}
field_mask {
paths: "campaign.id"
paths: "customer.id"
paths: "campaign.name"
paths: "campaign_budget.resource_name"
paths: "campaign_budget.amount_micros"
paths: "campaign_budget.total_amount_micros"
paths: "metrics.cost_micros"
paths: "campaign.start_date"
paths: "campaign.end_date"
}
request_id: "hTxdoJLcde_yIV3jQydSRw"
Please notice the amount_micros: 1220000. On 2021-10-05, the daily budget
should be *850000* rather than *1220000*
On Thursday, October 28, 2021 at 12:48:52 PM UTC-7 adsapi wrote:
> Hi Haiyang,
>
> Could you privately send us a request and response log of API
> communication that would show this issue? The request and response appears
> similar to the JSON Mappings in our REST documentation
> <https://developers.google.com/google-ads/api/rest/design/json-mappings?hl=en>.
>
> Our client libraries have loggers with logging instructions, to see these
> instructions you can click on the client library you use in the sidebar of
> our client library guide
> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en> and
> click on "Logging". Setting the logger to 'DEBUG' will get the desired log.
>
> Regards,
>
> [image: Google Logo]
> Aryeh Baker
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2QFvdQ: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 [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/3bc9b6ce-917a-47d1-ab71-25e5f00570a5n%40googlegroups.com.