Creating Shopping Campaign through API in .net C#, why budget id is required ?

22 views
Skip to first unread message

Atif ..

unread,
Feb 11, 2020, 5:16:19 AM2/11/20
to AdWords API and Google Ads API Forum
While creating shopping campaign through API in C#, it is requiring shared budget ID mandatory ? is there any way if i don't have budget id yet , i directly want to assign the budget to campaign while creation what is required to do ?
Here is the snippet which require must budget id , please suggest workaround for this , i don't have any budget id at the time of campaign creation
  Campaign campaign = new Campaign
                {
                    name = "test shopping campaign",


                    advertisingChannelType = AdvertisingChannelType.SHOPPING,


                    status = CampaignStatus.PAUSED,

                    // Set shared budget (required).
                    budget = new Budget
                    {
                        budgetId = budgetId
                      
                    }


                };
                

Google Ads API Forum Advisor Prod

unread,
Feb 11, 2020, 2:59:08 PM2/11/20
to fit...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for reaching out to us. I’ve tried testing creating shopping campaigns without a budget ID but unfortunately it looks like it is a required field in order to create a shopping campaign. You can see here for a required list of preferences. Please let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team



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