How to get Daily Budget for Campaigns which are configured in Shared Budget(Adwords API)?

127 views
Skip to first unread message

Anurag Sinha

unread,
Sep 27, 2021, 6:04:07 AM9/27/21
to AdWords API and Google Ads API Forum
Hi Team,
1.I wanted to know how to get the Daily Budget of a Campaign if its in a Shared Budget Configuration. 
2.As per example in google Doc Shared Budget. When we configure a Budget in Shared Budget then it is evenly distributed among all the Campaign inside it by default. : Is this understanding correct? 
3. When we use Reporting API in Adwords API , then in that there is a field "Amount" ,does this also return the Amount (Avg Daily Budget) for a campaign in which individual Budget is not set instead Shared Budget is configured ? below is the Query.
ReportQuery query =
            new ReportQuery.Builder()
                    .fields(
                            "CampaignId",
                            "AdGroupId",
                            "Id",
                            "Amount",
                            "Impressions",
                            "Clicks",
                            "Cost")
                    .from(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT)
                    .where("Status").in("ENABLED", "PAUSED")
                    .during(ReportDefinitionDateRangeType.LAST_7_DAYS)
                    .build();
Regards,
Anurag Sinha

Google Ads API Forum Advisor

unread,
Sep 28, 2021, 4:09:05 PM9/28/21
to anuragku...@in.pega.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. Firstly, I recommend moving to the Ads API as soon as you can, as the AdWords API will become unavailable in April 2022. If you want to get campaign performance for campaigns with a shared budget, you can filter using the IsBudgetExplicitlyShared attribute. For budget performance, you can use the Budget Performance Report, and filter using the same attribute to include only shared budgets.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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