Hi, I am trying to create a campaign with total budget through the API. I
already have the daily budget campaign creation working, but when I try to
create a total budget campaign I get the following error:
{
"errorCode": { "campaignBudgetError": "INVALID_PERIOD" },
"message": "The period of the budget is not allowed.",
"trigger": { "int64Value": "14172244997" },
"location": {
"fieldPathElements": [
{ "fieldName": "operations", "index": 0 },
{ "fieldName": "create" },
{ "fieldName": "campaign_budget" }
]
}
}
Below, I show information of the data I send.
Budget creation (works)
{
explicitlyShared: false,
name: 'test generate google Budget - 1734617427950a',
deliveryMethod: 'STANDARD',
totalAmountMicros: 25000000,
period: 'CUSTOM_PERIOD'
}
Creation of the campaign with the previous budget (fails)
{
name: 'test generate google - Buzzly',
status: 'ENABLED',
campaignBudget: 'customers/9437372372/campaignBudgets/14178825351'
,
manualCpc: { enhancedCpcEnabled: false },
startDate: '2024-12-19',
endDate: '2024-12-26',
advertisingChannelType: 'SEARCH',
networkSettings: {
targetContentNetwork: true,
targetGoogleSearch: true,
targetSearchNetwork: false,
targetPartnerSearchNetwork: false
}
}
Google request ID of the failed request:
TSUIqA2LwyOpasTamWX0Tg
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit
https://groups.google.com/d/msgid/adwords-api/146d6d85-e4d7-46c2-be0c-602327e901acn%40googlegroups.com.