Hi Rich. Thanks for your quick reply. What value should I use instead of clientId ?
You are talking about auth.ini right ? The following two lines: ; Uncomment to make requests against a client account. ; clientId = "INSERT_CLIENT_EMAIL_OR_CUSTOMER_ID_HERE" So, if the email I use is [email protected], I should put do: clientId="[email protected]" ? I tried it and it still does not work. Thanks, Vadim. On Sun, Jul 4, 2010 at 6:41 PM, Rich Johns <[email protected]> wrote: > The customerId is now expected to be correct. We had been using 0 for > months with out issue but now, apparently, the code on the back end > MSN server handling the API call has begun to validate the customerId. > > On Sun, Jul 4, 2010 at 6:43 AM, dvadim13 <[email protected]> wrote: > > Hello. > > > > I am trying to execute the simple code below that basically executes > > the following line: > > $targetingIdeaService = $user->GetTargetingIdeaService('v201003'); > > > > Until last Friday, it worked perfectly and not it stucks in this line > > and does not print > > "after calling GetTargetingIdeaService", but only "before calling > > GetTargetingIdeaService". > > > > If I run the same code via the Sandbox, it works perfectly and > > prints: > > "before calling GetTargetingIdeaService" > > "after calling GetTargetingIdeaService" > > > > Any idea what could it be ? Is there any chance that my account was > > banned/suspended, etc ? > > > > Again, on 1 July 2010, it worked perfectly and it stopped working from > > 2 July. I checked the budget of my account and its fine. > > > > Thanks for any help. > > Vadim. > > > > > > > > > > <?php > > > > error_reporting(E_STRICT | E_ALL); > > > > $path = dirname(__FILE__) . '/../../src'; > > set_include_path(get_include_path() . PATH_SEPARATOR . $path); > > > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; > > > > try { > > // Get AdWordsUser from credentials in "../auth.ini" > > // relative to the AdWordsUser.php file's directory. > > $user = new AdWordsUser(); > > > > echo "before calling GetTargetingIdeaService"; > > // Get the TargetingIdeaService. > > $targetingIdeaService = $user->GetTargetingIdeaService('v201003'); > > echo "after calling GetTargetingIdeaService"; > > > > } catch (Exception $e) { > > print_r($e); > > } > > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Also find us on our blog and discussion group: > > http://adwordsapi.blogspot.com > > http://groups.google.com/group/adwords-api > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > > 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]<adwords-api%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/adwords-api?hl=en > > > > > > -- > rp johns > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
