Update budget status

39 views
Skip to first unread message

Anis Qazi

unread,
Oct 19, 2021, 4:43:00 AM10/19/21
to AdWords API and Google Ads API Forum
Hi,

I'm trying to update the status of the budget to REMOVED, I see that the request goes through but on google nothing happens.

Here is what I'm doing : 

CampaignBudget campaignBudget = CampaignBudget.newBuilder()
.setResourceName(budgetResourceName)
.setStatus(BudgetStatusEnum.BudgetStatus.REMOVED)
.build();
FieldMask fieldMask = FieldMask.newBuilder().addPaths("status").build();

CampaignBudgetOperation campaignBudgetOperation = CampaignBudgetOperation.newBuilder()
.setUpdate(campaignBudget)
.setUpdateMask(fieldMask)
.build();

When I mutate this operation it returns the resourceName of the budget successfully but on google I see nothing.
Is there something that I'm doing wrong here?

Google Ads API Forum Advisor

unread,
Oct 19, 2021, 11:41:27 AM10/19/21
to anis...@visual-meta.com, adwor...@googlegroups.com

Hello Anis,

  

Thanks for reaching out to the Google Ads API team.

 

To investigate the issue further, could you please provide us with the complete logs (request and response with request-id) via the Reply privately to author option. 

 

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team
 

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