Please try making a call to CampaignService.get() first, as I think
this is necessary to initialize your sandbox account.
<?php
$path = dirname(__FILE__) . '/aw_api_php_lib_2.4.1/src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
$campaignService = $user->GetCampaignService('v201008');
$selector = new CampaignSelector();
$result = $campaignService->get($selector);
?>
On Jan 10, 9:11 pm, Eric Haskins <[email protected]> wrote:
> When I make calls tosandboxI get
>
> AuthenticationError.NOT_ADS_USER @ ; trigger:'268974331334'
> Service[TargetingIdeaService.get]
>
> Yet if I change my info over to production it works great??? It
> shouldnt be harder to setupsandboxthan production IMHO. So how do I
> fix this???
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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