Re: How to get Customer Id using Access token for Non-MCC account

2016-08-06 Thread Shibu Alist
Hello Mike,

Thanks for your reply!!!
Does this works in test environment ?.
Because i get error "Missing CLIENT_CUSTOMER_ID" when using CustomerService 
<https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService>
 in 
test environment.


On Friday, August 5, 2016 at 7:36:39 AM UTC-7, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> Use the CustomerService 
> <https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService>
>  
> for this. The CustomerService does not require a CustomerID header to be 
> specified, and will return the currently authenticated customer. The 
> Customer 
> <https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService.Customer>
>  
> that is returned includes the ID, which you can then specify in other 
> requests, as well as other information about the customer.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, August 5, 2016 at 2:42:04 AM UTC-4, Shibu Alist wrote:
>>
>> Hi Anthony,
>>
>> Thanks for your reply
>>
>> But i am still confused as i get the same answer from everywhere.
>>
>> Let me clear our application flow.
>>
>> Actually we are building an application, where normal users will connect 
>> their adword account by going through OAuth Authentication process.
>> After Authentication, they should be able to create campaign from our 
>> website. But we have to pass customerid for every request.How to get that 
>> customerID? as Authentication process doesn't return it. 
>>
>> ManagedCustomerService 
>> <https://developers.google.com/adwords/api/docs/reference/v201607/ManagedCustomerService>
>>   
>> will be used if client account is added in MCC account. But what if any 
>> random user, who is not under any MCC account wants to use our application 
>> . How he can achieve this ? I have seen many websites doing this But i 
>> didn't get any solution yet .
>>
>> Please do the needful.
>>
>> On Friday, August 5, 2016 at 5:09:58 AM UTC+5:30, Anthony Madrigal wrote:
>>>
>>> Hi Shibu,
>>>
>>> You can use the ManagedCustomerService 
>>> <https://developers.google.com/adwords/api/docs/reference/v201607/ManagedCustomerService>
>>>  from 
>>> your MCC level in order to get the client accounts under it. This will give 
>>> you the customer Ids of these accounts as well if you select the field 
>>> customerId 
>>> <https://developers.google.com/adwords/api/docs/reference/v201607/ManagedCustomerService.ManagedCustomer#customerid>
>>> .
>>>
>>> Cheers,
>>> Anthony
>>> 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/6288d8eb-dce6-4f72-bfdc-721e9319df54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Customer Id using Access token for Non-MCC account

2016-08-04 Thread Shibu Alist
Hi Anthony,

Thanks for your reply

But i am still confused as i get the same answer from everywhere.

Let me clear our application flow.

Actually we are building an application, where normal users will connect 
their adword account by going through OAuth Authentication process.
After Authentication, they should be able to create campaign from our 
website. But we have to pass customerid for every request.How to get that 
customerID? as Authentication process doesn't return it. 

ManagedCustomerService 

  
will be used if client account is added in MCC account. But what if any 
random user, who is not under any MCC account wants to use our application 
. How he can achieve this ? I have seen many websites doing this But i 
didn't get any solution yet .

Please do the needful.

On Friday, August 5, 2016 at 5:09:58 AM UTC+5:30, Anthony Madrigal wrote:
>
> Hi Shibu,
>
> You can use the ManagedCustomerService 
> 
>  from 
> your MCC level in order to get the client accounts under it. This will give 
> you the customer Ids of these accounts as well if you select the field 
> customerId 
> 
> .
>
> Cheers,
> Anthony
> 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/1300b785-43d2-43b2-92a3-fc1fefb19783%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get Customer Id using Access token for Non-MCC account

2016-08-04 Thread Shibu Alist
Hello Team,

We need  Customer Id using Access token for Non-MCC account for creating 
Campaigns.
Please share api information for same.


Thanks
Shibu

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/055717a2-cb87-4784-89a7-9752f2b49ef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.