|
||||||
Hi Nirmita,
Unfortunately this hasn’t helped. I have looked into the mutate operation changed it to the exact example for budget
// Create the campaign budget.
CampaignBudget budget = new CampaignBudget()
{
Name = ResourceNames.CampaignBudget(clientId, item.operand.budgetId),
DeliveryMethod = BudgetDeliveryMethod.Standard,
AmountMicros = 100000000
};
// Create the operation.
CampaignBudgetOperation budgetOperation = new CampaignBudgetOperation()
{
Update = budget,
UpdateMask = FieldMasks.AllSetFieldsOf(budget)
};
// Create the campaign budget.
MutateCampaignBudgetsResponse response = service.MutateCampaignBudgets(
clientId.ToString(), new CampaignBudgetOperation[] { budgetOperation });
and it just hangs I can’t even get it to populate the log files using:
// Detailed logs.
TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE,
"D:\\logs\\details.log", System.Diagnostics.SourceLevels.All);
// Summary logs.
TraceUtilities.Configure(TraceUtilities.SUMMARY_REQUEST_LOGS_SOURCE,
"D:\\logs\\Summary.log", System.Diagnostics.SourceLevels.All);
This code works fine on Version 10 but version 11 and 12 it just hangs with no error. It’s as if it is going through some sort of continuous loop.
Thanks,
Darren
From: Google Ads API Forum Advisor <ads...@forumsupport.google>
Sent: 18 January 2023 18:42
To: Darren Shirley <darren....@onefeed.co.uk>
Cc: adwor...@googlegroups.com
Subject: RE: MutateAdGroupCriteriaResponse
Hi Darren,
Thank you for reaching out to the Google Ads API support team.
You may refer thttps://developers.google.com/google-ads/api/sampleshis code example. Let me know if you have any questions.
Thanks,
|
||||||