Re: Question on ...\mcm\ManagedCustomerPage Object

2017-09-11 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Tim,

If you want to get the clientCustomerIds associated to your refresh token 
(or basically, to your OAuth credentials), you can run the getCustomers() 

 method 
of CustomerService. You don't need to set your clientCustomerId in the 
property file in running this method. And if you do this, all 
clientCustomerIds (and its information) that is being linked to your OAuth 
credentials will be returned. If you manually set the clientCustomerId in 
the property file and you run this method, only the details of the specific 
client customer will be returned.

Let me know if this helps.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed30ace2-f363-45a1-a9ce-55d62ddebd10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question on ...\mcm\ManagedCustomerPage Object

2017-09-10 Thread 'Peter Oliquino' via AdWords API Forum
Hi Tim,

My apologies if I missed out on your second question. The 
"clientCustomerId" object as seen in this example 

 pertains 
to the child or client accounts that contains the campaigns, ad groups, 
ads, keywords, etc. 

However, in the scenario that you also have another manager account 
directly under your MCC then I would recommend that you also use the 
CanManageClients 

 = 
False, to filter only those accounts that are at the client level (account 
IDs which has the campaigns, etc.).

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6343a79b-ddbd-4a5f-b78b-ca30af3d7105%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question on ...\mcm\ManagedCustomerPage Object

2017-09-10 Thread Tim Johnson
Hi Peter,

Thank you so much for the prompt response.  Fair enough, thanks for the 
heads up.

On the second question, the value of the "clientCustomerId:protected" key 
is the account that holds the campaigns, correct?  It never is a MCC 
account ID that don't "directly" have campaigns, do they?  That is what the 
"managerCustomerId" key is for, correct?

Thanks again for the help.

Tim



On Monday, September 11, 2017 at 3:06:07 PM UTC+10, Peter Oliquino wrote:
>
> Hi Tim,
>
> I'm afraid that there is currently no way to retrieve account(s) 
> information using only a refreshToken or any of the OAuth2 credentials. If 
> you wish to retrieve the list of clients under an MCC account, you may use 
> the ManagedCustomerService.get 
> 
>  and 
> refer to the GetAccountHierarchy 
> 
>  example 
> (other languages are also available in the link). For this example, you 
> will need to specify the *MCC account ID* as the value for the 
> *clientCustomerId* field in your properties/configuration file. I hope 
> this has been helpful.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e1143306-1bb0-471c-999b-9c932f2ed1c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question on ...\mcm\ManagedCustomerPage Object

2017-09-10 Thread 'Peter Oliquino' via AdWords API Forum
Hi Tim,

I'm afraid that there is currently no way to retrieve account(s) 
information using only a refreshToken or any of the OAuth2 credentials. If 
you wish to retrieve the list of clients under an MCC account, you may use 
the ManagedCustomerService.get 

 and 
refer to the GetAccountHierarchy 

 example 
(other languages are also available in the link). For this example, you 
will need to specify the *MCC account ID* as the value for the 
*clientCustomerId* field in your properties/configuration file. I hope this 
has been helpful.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4065c64c-9887-433b-a2ef-e54c97d420e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.