max budget

31 views
Skip to first unread message

Vallard Benincosa

unread,
Jul 22, 2020, 1:16:01 AM7/22/20
to AdWords API and Google Ads API Forum
Working with a client who is using MXN currency and has a daily budget of $MX21,000/day for one of the campaigns.  When I call the API to get back the budget it gives me back 100000000 instead of what I think it should do:  21000000000000.  Is there some max value I'm missing?  Using the v201809 Adwords API.  The lesser amounts work fine, it's just these big ones it sends back some garbage number.  

Thanks for your help!

Vallard Benincosa

unread,
Jul 22, 2020, 1:29:12 AM7/22/20
to AdWords API and Google Ads API Forum
also, I'm using python with Pandas on this query so wondering if that is an issue. 

Google Ads API Forum Advisor Prod

unread,
Jul 22, 2020, 1:08:12 PM7/22/20
to val...@castlerock.ai, adwor...@googlegroups.com
Hi Vallard,

Thank you for reaching out. Can you please share your client customer ID and the campaign ID that's having an issue via Reply privately to author so I can further investigate the issue? Also, if you are using a report, please share your report definition and if you are using a service, please share the complete detailed request and response logs for the call. You can find information on enabling logging here.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q22Y8fR:ref

Vallard Benincosa

unread,
Jul 22, 2020, 3:36:30 PM7/22/20
to AdWords API and Google Ads API Forum
Thanks Mitchell, 
I did some more digging and it looks like it was because I was using a segment in my query (AssociatedCampaignStatus) it broke it out into multiple groups.  I left that out and made the query look as it does below and that seemed to solve the issue.  


report_query = (adwords.ReportQueryBuilder()
                      .Select(
                          'Amount',
                          'BudgetId',
                          'BudgetName',
                          'Period',
                          'Clicks',
                          'Impressions',
                          'AverageCpc',
                          'Cost',
                          'Conversions',
                          'CostPerConversion',
                          'ConversionValue'
                              )
                      .From('BUDGET_PERFORMANCE_REPORT')
                      .During('{},{}'.format(from_date.strftime("%Y%m%d"), to_date.strftime("%Y%m%d")))
                      .Where('BudgetStatus').EqualTo('ENABLED')
                      .Build())

Google Ads API Forum Advisor Prod

unread,
Jul 23, 2020, 9:27:29 AM7/23/20
to val...@castlerock.ai, adwor...@googlegroups.com
Hi Vallard,

I'm glad to see you solved the issue! Let me know if there's anything else I can assist you with.
Reply all
Reply to author
Forward
0 new messages