Hi, 

Can you please share the xml request/response logs with which you can't get 
the campaigns?
(Please remove the sensitive info before posting it)

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 5:58:49 AM UTC+9, Larry Williamson wrote:
>
> I am migrating some code from v201209 to v201306 and OAuth2 -- I have 
> authentication working, and I can use ManagedCustomerService to get the 
> customer IDs, IE:
>
>     $managedCustomerService = $user->GetService('ManagedCustomerService', 
> ADWORDS_VERSION);
>     $selector = new Selector();
>     $selector->fields = array('Login', 'CustomerId', 'Name', 
> 'CompanyName');
>     $graph = $managedCustomerService->get($selector);
>
>     $overall_totals = array();
>     foreach ($graph->entries as $acct) {
>         echo"<account id='{$acct->customerId}' 
> company='{$acct->companyName}' email='{$acct->login}'>\r\n";
>     }     
>
> But when I used to use $user->SetClientId($acct->customerId  in the 
> previous version, it would switch contexts to the new user id and I could 
> use campaign service to find any and all campaigns, and get their data.
>
> Now after switching to OAuth2, I don't get any campaigns at all.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to