Hello.

I'm trying to create an Account Budget. I first want to retrieve existing 
billing_setups:

> query for account 2306816448: select billing_setup.resource_name from 
billing_setup
> SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v8.services.GoogleAdsService/SearchStream, Endpoint: 
googleads.googleapis.com:443, CustomerID: 2306816448, RequestID: 
xyU3gGC5ktLuyKqVJSqX8Q, ResponseCode: OK, Fault: null.

This gives me one 
resource_name: customers/2306816448/billingSetups/6659245698

I create an account_budget using that id, and get "Resource Not Found".

Which is weird, because I just retrieved that resource.

What happens here?

________________________________________________________________

Request
-------
MethodName: 
google.ads.googleads.v8.services.AccountBudgetProposalService/MutateAccountBudgetProposal
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6231667853, 
x-goog-api-client=gl-java/15.0.1 gapic/ gax/1.65.1 grpc/1.37.0}
Body: customer_id: "2306816448"
operation {
  create {
    proposal_type: CREATE
    proposed_end_time_type: FOREVER
    proposed_spending_limit_type: INFINITE
    billing_setup: "customers/2306816448/billingSetups/6659245698"
    proposed_name: "hierNameEinf\303\274gen - 25. 10. 2021"
    proposed_start_date_time: "2021-10-25 15:25:13"
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=IwveQaMqWeBYryoEmsJa_A,date=Mon,
 
25 Oct 2021 13:16:41 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000)
Body: null
Failure message: 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"
    }
  }
}
request_id: "IwveQaMqWeBYryoEmsJa_A"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f6d9608e-e3aa-4efc-84d6-785649a1c1d2n%40googlegroups.com.
  • Bi... FW API
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to