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 <[email protected]>
Sent: 18 January 2023 18:42
To: Darren Shirley <[email protected]>
Cc: [email protected]
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<https://developers.google.com/google-ads/api/samples>
code example. Let me know if you have any questions.
Thanks,
[Google Logo]
Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2hzjpx:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/CWXP265MB503528A2F38E6B7513E0C141DEC49%40CWXP265MB5035.GBRP265.PROD.OUTLOOK.COM.