Hi,

I'm trying to add a budget to an account. I'm using the 
add_account_budget_proposal example. 

This is the error message and log:

[2020-08-18 09:15:35,440 - INFO] Request
-------
Method: 
/google.ads.googleads.v4.services.AccountBudgetProposalService/MutateAccountBudgetProposal
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "xxxxxxxxxx",
  "x-goog-api-client": "gl-python/3.8.5 grpc/1.31.0 gax/1.22.1 gapic/6.0.0",
  "x-goog-request-params": "customer_id=xxxxxxxxxx"
}
Request: customer_id: "xxxxxxxxxx"
operation {
  create {
    billing_setup {
      value: "customers/xxxxxxxxxx/billingSetups/xxxxxxxxxxxxxxxx"
    }
    proposal_type: CREATE
    proposed_name {
      value: "Account Budget Proposal (example)"
    }
    proposed_start_time_type: NOW
    proposed_end_time_type: FOREVER
    proposed_spending_limit_micros {
      value: 1000000
    }
  }
}


Response
-------
Headers: {
  "google.ads.googleads.v4.errors.googleadsfailure-bin": 
"\nG\n\u00028\u0003\u0012\u0017Resource was not 
found.\"(\u0012\u000b\n\toperation\u0012\b\n\u0006create\u0012\u000f\n\rbilling_setup",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v4.errors.GoogleAdsFailure\u0012I\nG\n\u00028\u0003\u0012\u0017Resource
 
was not 
found.\"(\u0012\u000b\n\toperation\u0012\b\n\u0006create\u0012\u000f\n\rbilling_setup",
  "request-id": "rBUXCldjFfi41xHtznIVgw"
}
Fault: errors {
  error_code {
    mutate_error: RESOURCE_NOT_FOUND
  }
  message: "Resource was not found."
  location {
    field_path_elements {
      field_name: "operation"
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "billing_setup"
    }
  }
}


[2020-08-18 09:15:35,440 - WARNING] Request made: ClientCustomerId: 
xxxxxxxxxx, Host: googleads.googleapis.com:443, Method: 
/google.ads.googleads.v4.services.AccountBudgetProposalService/MutateAccountBudgetProposal,
 
RequestId: rBUXCldjFfi41xHtznIVgw, IsFault: True, FaultMessage: Resource 
was not found.

Thanks
Kasper

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/102e790d-ff36-42f5-a8dc-c37d5938c014n%40googlegroups.com.

Reply via email to