Hello Google Ads Team

I am trying to create a campaign using google ads API REST but I get 
an error message. Could you please advise? I'm working with a test account.

Below are the details

url: 
https://googleads.googleapis.com/v14/customers/{login_customer_id}/campaigns:mutate

variables:

Request:

{
   "operations":[
      {
         "create":{
            "name":"CampaƱa Api Rest",
            "status":"PAUSED",
            "advertisingChannelType":"SEARCH",
            "advertisingChannelSubType":"UNSPECIFIED",
            "networkSettings":{
               "targetGoogleSearch":true,
               "targetSearchNetwork":true,
               "targetPartnerSearchNetwork":true
            },
            "geoTargetTypeSetting":{
               "positiveGeoTargetType":"PRESENCE"
            },
            "biddingStrategyType":"ENHANCED_CPC",
            
"campaignBudget":"customers/2447006958/campaignBudgets/12698685038",
            "finalUrlSuffix":"kid={_kid}"
         }
      }
   ]
}

Response:

{
   "code":400,
   "message":"Request contains an invalid argument.",
   "status":"INVALID_ARGUMENT",
   "details":[
      {
        
 "@type":"type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure",
         "errors":[
            {
               "errorCode":{
                  "fieldError":"REQUIRED"
               },
               "message":"The required field was not present.",
               "location":{
                  "fieldPathElements":[
                     {
                        "fieldName":"operations",
                        "index":0
                     },
                     {
                        "fieldName":"create"
                     },
                     {
                        "fieldName":"campaign_bidding_strategy"
                     }
                  ]
               }
            }
         ],
         "requestId":"sIbnHlO3z2HjzYcRrxIYzg"
      }
   ]
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/c1805127-6610-4120-8b78-4ccdeef90a85n%40googlegroups.com.

Reply via email to