Here is the request curl and response
Thanks for your help
curl --location 
'https://googleads.googleapis.com/v17/customers/4926841893/campaignBudgets:mutate'
 
\
--header 'developer-token: hN6dsqjNmj3tWdITcPd_Qg' \
--header 'login-customer-id: 3263459376' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 
ya29.a0AXooCgtcFCq88QpzE-082AKQng5h1oXpJ-WvI-qLlkdzQNLN9AgNUUCwzU4wn_cUjWLEa3wGHFGFeDU40BPD_p2wqGSXBCD6Mi1E9Ew82IxMot3Z1ct-IGrEOlupFLOFPA2njdXgU4x2cmoDo8X1KtDm1ofv1Hg6wBZVaCgYKAR0SARMSFQHGX2MiSoHhPa5pxiQPHwZsgOUylw0171'
 
\
--data '{
    "operations": [
        {
            "create": {
                "status": "ENABLED",
                "deliveryMethod": "STANDARD",
                "period": "DAILY",
                "type": "LOCAL_SERVICES",
                "name": "Local budget 1",
                "amountMicros": 1000000
            }
        }
    ]
}'

Here is the response - 
{
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "@type": 
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
                "errors": [
                    {
                        "errorCode": {
                            "requestError": "UNKNOWN"
                        },
                        "message": "The error code is not in this version.",
                        "trigger": {
                            "stringValue": "HOME_SERVICES_ADS"
                        },
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operations",
                                    "index": 0
                                },
                                {
                                    "fieldName": "create"
                                },
                                {
                                    "fieldName": "type"
                                }
                            ]
                        }
                    }
                ],
                "requestId": "1ZoG1nIMKkAb-cyE_JzJzA"
            }
        ]
    }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ac9d55d-01fa-4122-8071-fd725b75542fn%40googlegroups.com.

Reply via email to