Hello, I am trying to make a request to the Google Ads API using the REST APIs and not the SDKs, but I am getting an invalid argument response.
After setting the appropriate headers, the JSON I am sending to "https://googleads.googleapis.com/v10/customers/{AccountNumber}/campaignBudgets:mutate" is as follows: { operations: [ { updateMask: "amount_micros", update:{ resourceName: "customers/{AccountNumber}/campaignBudgets/{BudgetID}", amount_micros: "60000000" } } ] } I am not sure if the response below is telling me the BudgetID I am sending can't be found or something else. I am retrieving the BudgetID in a prior call using the campaign_budget.id field: { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "mutateError": "RESOURCE_NOT_FOUND" }, "message": "Resource was not found.", "trigger": { "int64Value": "{BudgetID}" }, "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "update" }, { "fieldName": "resource_name" } ] } } ], "requestId": "7Fc0P_Mbl9N842_xbI-A2A" } ] } } Thanks in advance for any information you might be able to provide. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/6d317cd4-a100-43f2-b25d-e01e3c1829e1n%40googlegroups.com.
