im receiving this error, can someone help? On Thursday, December 15, 2022 at 4:46:47 PM UTC-3 Luiz Eduardo Da Cruz wrote:
> (<_InactiveRpcError of RPC that terminated with: > status = StatusCode.PERMISSION_DENIED > details = "The caller does not have permission" > debug_error_string = "UNKNOWN:Error received from peer > ipv--------- {created_time:"2022-12-15T16:44:22.890198-03:00", > grpc_status:7, grpc_message:"The caller does not have permission"}" > >, <_InactiveRpcError of RPC that terminated with: > status = StatusCode.PERMISSION_DENIED > details = "The caller does not have permission" > debug_error_string = "UNKNOWN:Error received from peer > ipv4-------------- {created_time:"2022-12-15T16:44:22.890198-03:00", > grpc_status:7, grpc_message:"The caller does not have permission"}" > >, errors { > error_code { > authorization_error: CUSTOMER_NOT_ENABLED > } > message: "The customer account can\'t be accessed because it is not yet > enabled or has been deactivated." > } > request_id: "--------" > , '----..-p----') > On Thursday, December 15, 2022 at 3:39:11 PM UTC-3 Luiz Eduardo Da Cruz > wrote: > >> I want a query that contains all accounts ids, both mccs and mccs' >> children, how can I get this query done? >> >> On Thursday, December 15, 2022 at 2:00:57 PM UTC-3 adsapi wrote: >> >>> Hi Luiz, >>> >>> By "*get all account ids in my account*" do you mean getting all client >>> account IDs under your MCC / manager account? If yes, you can refer to our >>> get >>> account hierarchy >>> <https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy?hl=en> >>> >>> guide for the details as to how. >>> >>> You can then generate a report for each client account returned, and you >>> can refer to this example >>> <https://developers.google.com/google-ads/api/samples/parallel-report-download?hl=en> >>> >>> for the implementation. Let us know if this is what you're looking for. >>> >>> Lastly, I noticed you specified the *version="v7"* in your post. You >>> can refer here >>> <https://developers.google.com/google-ads/api/docs/sunset-dates?hl=en#timetable> >>> >>> for the currently supported versions of the API. We then recommend using >>> the latest version >>> <https://developers.google.com/google-ads/api/docs/version-migration?hl=en>, >>> >>> for the latest API features. >>> >>> Best regards, >>> >>> [image: Google Logo] >>> Peter Laurence >>> Google Ads API Team >>> >>> >>> ref:_00D1U1174p._5004Q2h3RTZ: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 "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/2e01aea7-d154-49bf-b736-d7a602d6dfdan%40googlegroups.com.