Budget history

25 views
Skip to first unread message

anzor urdia

unread,
Sep 15, 2022, 9:56:10 AM9/15/22
to Google Ads API and AdWords API Forum
Hey,
May anyone know how to get history(by a range perion) for a campaign budget for Google Ads API?
I use this query, but Google returns the current campaign budget value for the whole range. Actual Result 
2022-09-10 - 150$ 
2022-09-11 - 150$ 
2022-09-12 - 150$ 
2022-09-13 - 150$ 
2022-09-14 - 150$ 
2022-09-15 - 150$ 
 
Expected Result 
2022-09-10 - 50$ 
2022-09-11 - 50$ 
2022-09-12 - 50$ 
2022-09-13 - 150$ 
2022-09-14 - 150$ 
2022-09-15 - 150$ 

Query:
 SELECT campaign.id
                campaign_budget.amount_micros,
                metrics.cost_micros, segments.date 
 FROM campaign
 WHERE segments.date = BETWEEN '2022-09-09' AND '2022-09-15' AND campaign.id IN (111111111111)


Thanks

Google Ads API Forum Advisor

unread,
Sep 15, 2022, 2:41:06 PM9/15/22
to anzor...@gmail.com, adwor...@googlegroups.com
Hi Anzor,

Thank you for raising this concern to the Google Ads API Forum.

To try this in our end, could you please provide the complete API logs request and response logs with request ID and request header that generated on your end also the screenshot of the Google Ads UI to know what history for campaign budget that you are referring to?  If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. This information will help our team to better check the comparison between actual results and expected result.

For privacy purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


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