Hi Ray,

I've tried passing directly both "xxx-xxx-xxxx" and "xxxxxxxxxx" and 
neither works.

I've tried to comment out the clientCustomerId line in the auth.ini file 
but that returns an error. Leaving the CID in the auth.ini and trying to 
specify a different CID in the script as $user->SetClientId("xxx-xxx-xxxx"); 
simply ignores this line and uses the CID in the auth.ini.


On Wednesday, April 9, 2014 9:22:30 PM UTC+1, Ray Tsang (AdWords API Team) 
wrote:
>
> Visar,
>
> $_GET("....") probably returned something invalid.  Try passing in CID 
> directly, such as:
> $user->SetClientId("xxx-xxx-xxxx");
>
> Cheers,
>
> Ray
>
> On Wednesday, April 9, 2014 5:31:58 AM UTC-4, Visar wrote:
>>
>> Hi Guys,
>>
>> I just posted this, but I can't see it so I'm sorry if it dupes.
>>
>> Language PHP:
>>
>> I'm trying to access all the accounts in my MCC and so I'm looking for a 
>> way to dynamically change the ClientId from within the script file.
>>
>> I saw this in another thread
>>
>> $user = new AdWordsUser(); // Load whatever settings is there in auth.ini.
>>> $user->SetClientId($_GET["xxx-xxx-xxxx"]); // Set specific values as 
>>> override.
>>
>>
>> I tried it out but get the following error
>>
>> Notice: Undefined index: xxx-xxx-xxxx
>>
>>
>> What am I doing wrong? The end goal is to be able to pass the ClientId as 
>> the parameter of a function, and so using one script be able to access all 
>> accounts in my MCC. 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to