Why do I get the account budget interface through the Google Ads api, but the account budget information is not obtained.

2022-04-19 Thread Cyan
Why do I get the account budget interface through the Google Ads api, but 
the account budget information is not obtained.

Account CID: *474-143-6315*
All other accounts can get the account budget information, but the account 
budget cannot be obtained for this account id.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c63645db-6a13-425f-a46b-b15e5049365fn%40googlegroups.com.


Failed to create a bill, associated with an existing account

2021-01-14 Thread Cyan
HI,

When I created the bill, I was associated with an existing account. The 
request failed.

Return information:

FAILURE REQUEST DETAIL.
Request
---
MethodName: 
google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6739876670, 
x-goog-api-client=gl-java/1.8.0_251 gapic/ gax/1.57.0 grpc/1.30.0}
Body: customer_id: "6477922205"
operation {
  create {
resource_name: 
"customers/6477922205/paymentsAccounts/2338-3104-9327-7072"
start_time_type: NOW
payments_account: "2338-3104-9327-7072"
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=l3H_8382yUeWkpvYQtbheQ,date=Thu,
 
14 Jan 2021 13:18:52 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.
2021-01-14 21:18:52.706 ERROR 12943 --- [nio-8002-exec-4] 
c.a.g.a.s.GoogleAdsAccountBudgetService  : errors {
  error_code {
request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}


com.google.ads.googleads.v6.errors.GoogleAdsException: errors {
  error_code {
request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}

Thanks
cyan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/32341c55-f276-459c-8d4a-e8578858a29fn%40googlegroups.com.


Re: Create billing setup, request failed.

2021-01-07 Thread Cyan
Hi Matt,

One of the amazing things I find is when I'm building AccountBudget, If a 
proposed_spending_limit_micros is equal to 0, then the request fails, and 
if a proposed_spending_limit_micros is equal to 10_000, then the request 
succeeds.

Thankyou
cyan


在2021年1月8日星期五 UTC+8 上午2:50:33 写道:

> Hello,
>
> Thanks for providing the log summary. It appears that the internal error 
> you observed was a temporary error. This type of error can often be 
> resolved just by retrying the request 
> <https://developers.google.com/google-ads/api/docs/best-practices/error-types#retryable_errors>,
>  
> and it appears it did in fact work on the second attempt. 
>
> However, please let us know if the issue persists.
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AIDCf: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 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 
"AdWords API and Google Ads 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/d66fa823-8167-407f-8e5e-b2af59c1a225n%40googlegroups.com.


Create billing setup, request failed.

2021-01-07 Thread Cyan
Hello team,
I am using Google ads api to create a billing setup, but the request 
failed. I found that the interface failed the first time, and the interface 
was created successfully the second time, which is incredible. The results 
are as follows.

First request:
FAILURE REQUEST DETAIL.
Request
---
MethodName: 
google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6739876670, 
x-goog-api-client=gl-java/1.8.0_251 gapic/ gax/1.57.0 grpc/1.30.0}
Body: customer_id: "5060762588"
operation {
  create {
start_time_type: NOW
payments_account_info {
  payments_account_name: 
"\346\261\237\350\213\217\346\234\252\350\277\237\346\225\260\345\255\227\346\212\200\346\234\257\346\234\211\351\231\220\345\205\254\345\217\270"
  payments_profile_id: "1624-3300-2040"
}
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=S4M2tB8OyNowdZUwWm3cww,date=Thu,
 
07 Jan 2021 07:54:10 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
internal_error: INTERNAL_ERROR
  }
  message: "An internal error has occurred."
}

Second request:
SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup, 
Endpoint: googleads.googleapis.com:443, CustomerID: 5060762588, RequestID: 
dlvTZflBhnb-MBadccoBvA, ResponseCode: OK, Fault: null.

Thank you
cyan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/367b757d-72cc-4355-a594-5e6e9ba691can%40googlegroups.com.


Is there an API interface that can invite users to access Google Ads accounts.

2020-11-22 Thread Cyan
Hello Team
Is there an API interface that can invite users to access Google Ads 
accounts.

Thanks,
Cyan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/ed85fcca-80be-4e24-b057-b6076bcc49d9n%40googlegroups.com.


Re: Unrecognized fields in customer_user_access

2020-11-18 Thread Cyan
Thanks Matt.
I have upgraded the google ads api version from V4 to V6. After debugging, 
I found that the problem has been resolved and customer_user_access can be 
used normally.

Thank you,
Cyan

在2020年11月18日星期三 UTC+8 上午5:20:53 写道:

> Hi Cyan,
>
> I don't see any issue with the query itself. Would you mind privately 
> providing your customer ID and complete response and request logs?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q27uOz4: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 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 
"AdWords API and Google Ads 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/e9db1d06-59b2-434b-8914-04896d54c5e5n%40googlegroups.com.


GoogleAdsServerFault: Server Error

2019-06-26 Thread cyan
Hi, 

I'm using googleads python client, to pull ad objects from Adwords API. The 
query occassionally throws this error: GoogleAdsServerFault: Server Error 
(without 
other error message).
Does anyone know why this happened? Thanks.

Below's my sample code:

from googleads import adwords
def get_ads():
   client = adwords.AdWordsClient(developer_token, oauth2_client)
   adgroup_ad_service = client.GetService('AdGroupAdService', version=
'v201809')

 
   query = (adwords.ServiceQueryBuilder()
.Select(
  'AdGroupId',
  'Id', 
  # some other fields
)
  )
 query = query.Limit(0, 500).Where('Id').In(*adgroup_ad_ids)
 query_build = query.Build()
 page = adgroup_ad_service.query(query_build)


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/6a6e5992-67f8-451e-a0d9-95a049de436e%40googlegroups.com.