Hi,

Thank you for posting your concern.

I would like to inform you first that I am going to delete your initial post as 
it contains generated logs on your end. I will just paste here the context of 
your concern and the generated API logs with redacted fields, and you can see 
it below.

To further investigate, could you provide the complete request and response 
logs with request ID and request header generated on your end for retrieving 
the billing setup? You can provide it via Reply privately to author option. If 
this option is not available, then send it instead on this email address 
[email protected].

Also, remember to use a billing setup with a payments account where you have 
write access.

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

> query for account **********: 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: **********, RequestID: 
> xyU3gGC5ktLuyKqVJSqX8Q, ResponseCode: OK, Fault: null.

This gives me one resource_name: customers/**********/billingSetups/**********

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=**********, 
x-goog-api-client=gl-java/15.0.1 gapic/ gax/1.65.1 grpc/1.37.0}
Body: customer_id: "**********"
operation {
create {
proposal_type: CREATE
proposed_end_time_type: FOREVER
proposed_spending_limit_type: INFINITE
billing_setup: "customers/**********/billingSetups/**********"
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}."

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2QEwug:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/lqHMz000000000000000000000000000000000000000000000R1KAYM007K0F-4ZnTJmadi5cPhlCYg%40sfdc.net.
  • Bi... FW API
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to