Hello guys
I try to create a smart campaign shopping ads, but I receive an error say:
*The required field was not present., at
operations[0].create.campaign_bidding_strategy*
Header:
developer-token:{{AUTH_DEVELOPER_TOKEN}}
login-customer-id:{{MANAGER_CUSTOMER_ID}} Content-Type:application/json
Req:
{
"operations": [
{
"create": {
"name": "First Campaign From POSTMAN",
"status": "PAUSED",
"advertising_channel_type": "SHOPPING",
"advertising_channel_sub_type": "SHOPPING_SMART_ADS",
"shopping_setting": {
"merchant_id":"{{MERCHANT_ID}}",
"sales_country":"US"
},
"campaign_budget": "/customers/{{CUSTOMER_ID}}
/campaignBudgets/9878129176",
"start_date": "2021-11-12",
"end_date": "2021-11-14"
}
}
],
"partial_failure": true,
"validate_only": false,
"response_content_type": "MUTABLE_RESOURCE"
}
Res:
{
"results": [
{}
],
"partialFailureError": {
"code": 3,
"message": "The required field was not present., at
operations[0].create.campaign_bidding_strategy",
"details": [
{
"@type":
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"fieldError": "REQUIRED"
},
"message": "The required field was not present.",
"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "campaign_bidding_strategy"
}
]
}
}
]
}
]
}
}
I hope someone can help to fix this
Thank you
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/6289f441-3adc-4a46-801b-606123343269n%40googlegroups.com.