Re: Get ad groups for each accessible costumer account

2019-08-22 Thread André Pimpão
Hi, Bharani.

I'll keep an eye on it then.

Thanks for the help,
AP.

quarta-feira, 21 de Agosto de 2019 às 20:47:40 UTC+1, adsapiforumadvisor 
escreveu:
>
> Hi André, 
>
> Appreciate your feedback. Currently, we do not have a workaround to pull 
> the cancelled accounts. There is already a feature request for this and our 
> team is looking into it. Please keep an eye on our blog 
>  for 
> more updates. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEJTua: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/9c5d86ce-5cba-444e-9f00-f015d1d060b9%40googlegroups.com.


Re: Get ad groups for each accessible costumer account

2019-08-21 Thread Google Ads API Forum Advisor Prod
Hi André,

Appreciate your feedback. Currently, we do not have a workaround to pull the 
cancelled accounts. There is already a feature request for this and our team is 
looking into it. Please keep an eye on our blog for more updates.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEJTua: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/6qnVE0PWLQZ000N5LbW0HpSYa35p4nsgPpEw%40sfdc.net.


Re: Get ad groups for each accessible costumer account

2019-08-21 Thread André Pimpão
Hi, Bharani.

What seems to be happening is that it is listing accounts that are 
cancelled.
Ideally, there should be a field with the status of the account, if not to 
filter directly in the query, at least to know how to handle the different 
account statuses.

Right now, forcing to loop through every customer_client/account, no matter 
the status, and "blindly" requesting ad groups for each one is really time 
consuming and unnecessary.

Is there any plan for this to be available?
Is there any other way?

Thanks once again,
AP.

terça-feira, 20 de Agosto de 2019 às 18:15:12 UTC+1, adsapiforumadvisor 
escreveu:
>
> Hi André, 
>
> That's right, the customer_client resource will return the complete 
> hierarchy of all the direct and indirect client customers that are 
> included. I'm afraid, it is possible to filter the accounts based on the 
> status. The error CUSTOMER_NOT_ENABLED usually occurs if the API call is 
> made against an account which is not completely setup. Could you please 
> complete the account setup and retry the API request? If you're 
> encountering any issues, could you please share the request and response 
> logs using *Reply privately to author* option to investigate further?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEJTua: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/5a64fff1-5ca5-4a83-9c5f-ff5d3937544d%40googlegroups.com.


Re: Get ad groups for each accessible costumer account

2019-08-20 Thread Google Ads API Forum Advisor Prod
Hi André,

That's right, the customer_client resource will return the complete hierarchy 
of all the direct and indirect client customers that are included. I'm afraid, 
it is possible to filter the accounts based on the status. The error 
CUSTOMER_NOT_ENABLED usually occurs if the API call is made against an account 
which is not completely setup. Could you please complete the account setup and 
retry the API request? If you're encountering any issues, could you please 
share the request and response logs using Reply privately to author option to 
investigate further?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEJTua: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/new0M0PWJP8Z00cOkLqxnRRB-UX26gerhqeA%40sfdc.net.


Re: Get ad groups for each accessible costumer account

2019-08-20 Thread André Pimpão
Thanks, Bharani.

In the meantime I started to figure things out.

Part of what was confusing me is that when I query all customer_client for 
each accessible customer, I get many more accounts that I have access to 
(or at least that show on my Google Ads panel). For example, one of the 
accounts in the Google Ads panel lists 31 accounts, but if I query the API 
it lists 195 accounts, but I only have access to those 31 metioned before, 
so I get a lot of the following error:

{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authorizationError": "CUSTOMER_NOT_ENABLED"
},
"message": "The customer can't be used because it 
isn't enabled."
}
]
}
]
}
}

Is there a way to get all customer_client but filtered by enabled?

Thanks,
AP.


segunda-feira, 19 de Agosto de 2019 às 18:57:33 UTC+1, adsapiforumadvisor 
escreveu:
>
> Hello André, 
>
> If you are using OAuth credentials from a manager account and are 
> accessing a related customer account the login-customer-id 
> 
>  header 
> to the customer ID of the manager account. If you are using OAuth 
> credentials from a manager account, then you should be able to find this by 
> logging into your Google Ads manager account on the top right corner. To 
> pull the specific ad group details in a client account, you will need to 
> use the client customer Id here 
> 
>  
> and then pull the specific ad groups from the account. 
>
> Let me know if you have any concerns. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEJTua: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/d5066aa4-b697-42f9-a8e4-57b73461115f%40googlegroups.com.


RE: Get ad groups for each accessible costumer account

2019-08-19 Thread Google Ads API Forum Advisor Prod
Hello André,

If you are using OAuth credentials from a manager account and are accessing a 
related customer account the login-customer-id header to the customer ID of the 
manager account. If you are using OAuth credentials from a manager account, 
then you should be able to find this by logging into your Google Ads manager 
account on the top right corner. To pull the specific ad group details in a 
client account, you will need to use the client customer Id here and then pull 
the specific ad groups from the account.

Let me know if you have any concerns.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEJTua: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/tsgsH0PWHWJF00AkOM7BRKQP-r1rboQb3W7Q%40sfdc.net.