Hi Team
I need urgent help and new to Adwords APi.
I am using Adword client library googleads php lib v201509 and In my
auth.ini,I am not using any clientcustomerID as reference. I am using
nAtive application and wanted to set dynamically clientCustomerID to access
any services like CampaignService etc.
So before that I need to set $user->SetClientCustomerId($clientCustomerId);
where $clientCustomerId = 'xxx-xxx-xxxx' ,so I want here clientcustomerID
who just allowed permission for adwords application .
If i am assigning $clientCustomerId = 'xxx-xxx-8979' then for this
account I can see details about service CampaignService but for other user
its giving permission issue.
Even i use $customerService = $user->GetService('CustomerService',
'v201509');
$selector = new Selector();
$selector->fields = array('customerId');
$page = $customerService->get($selector);
var_dump($page);
But its always giving me MCC account customerID whose details are given in
auth.ini file. Please let me know any best solution, Waiting to hear from
you soon.
Thanks
Naresh Shaw
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/05b4392e-7c5d-4550-b9b6-8e62525f211f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.