Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-29 Thread Ray Tsang (AdWords API Team)
Stephen, Just to be sure, could I trouble you to use reproduce the issue on a fresh copy of the client library distribution? Thanks, Ray On Tuesday, July 29, 2014 1:29:48 PM UTC-4, Stephen Yeargin wrote: > > > Just converted to the 5.3 library recently (had trouble with the pseudo > namespace

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-29 Thread Stephen Yeargin
Just converted to the 5.3 library recently (had trouble with the pseudo namespaces) in order to avoid being sunset on v201309. When I was running the previous library shortly before the conversion, I was able to get a response object through that endpoint. $this->GetService('CustomerService')

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-28 Thread Ray Tsang (AdWords API Team)
Stephen, I was able to set the value to null and verify that the clientCustomerId element was not in the outbound XML. The correct method is *SetClientCustomerId*. Since you are operating on $this-> It would suggest $this is the AdWordsUser object. But the client library does not have an

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-25 Thread Stephen Yeargin
Checked it just now and it does not remove it from the outbound XML if set to null. Should I file an issue on the GitHub project? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+Google

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-25 Thread Stephen Yeargin
So I'm presuming that using the PHP Client Library , I'm presuming that I'll need: $customerService = $this->GetService('CustomerService', ADWORDS_DEFAULT_VERSION, NULL, NULL, $this->validateOnly); $this->setClientCustomerId(null); $return = $cus

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-25 Thread Ray Tsang (AdWords API Team)
Stephen, Understood - if you need to get the CID of the currently logged in user, you would have to make sure that the clientCustomerId element is not included in the request at all. To do this, you have to ensure that no one had set it to an empty string neither via the API nor the auth.ini fi

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-25 Thread Stephen Yeargin
(Posting this back in context, because it got lost in translation with the ticketing system.) This particular group of users that are authenticating with our platform are not using an MCC. So, from the API perspective, there is not a hierarchy. The CustomerService endpoint (as opposed to the M

Re: [7-8058000004293] [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-25 Thread Stephen Yeargin
This particular group of users that are authenticating with our platform are not using an MCC. So, from the API perspective, there is not a hierarchy. The CustomerService endpoint (as opposed to the ManagedCustomerService), as recently as v201309, would respond with information on the currently

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-24 Thread Stephen Yeargin
Replied privately. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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

Re: [PHP] Getting a non-MCC account Customer ID with v201402

2014-07-22 Thread Ray Tsang (AdWords API Team)
Stephen, Please send the full request/response XML in private, and also ensure that the client customer ID is set properly, i.e., $user->SetClientCustomerId(...) . Thanks, Ray On Monday, July 21, 2014 6:47:57 PM UTC-4, Stephen Yeargin wr

[PHP] Getting a non-MCC account Customer ID with v201402

2014-07-21 Thread Stephen Yeargin
We recently successfully converted to v201402 (right at the deadline) and are using the PHP SDK. One non-documented change that appears to have broken with this release is the ability to call: $customerService = $this->GetService('CustomerService'); $return = $customerService->get(); Where $thi