Hi all,

I'm using google adwords api since 2011. I updated my project v201402 and 
integrated oauth 2 on my project. But when i try getting campaign list api 
returns empty list. After, i'm looking request logs, i have no fault 
message.

[May 05 2014 10:04:29.000000 - INFO] email= effectiveUser= 
> service=CampaignService method=get operators={} responseTime=242 
> requestId=0004f8a1bf3f0cb00ae5c58200000946 operations=1 units= 
> server=adwords.google.com isFault=false faultMessage=null


 My code; 

            $user = new AdWordsUser();

      

            // Set ClientId

            $user->SetClientId($_clId); //customers client id, not mcc

 

            // Log SOAP XML request and response.

            $user->LogDefaults();

    

            // Get the CampaignService.

            $campaignService = 
> $user->GetService('CampaignService','v201402');

    

            // Create selector.

            $selector = new Selector();

            $selector->fields =  array('Id', 
> 'Name','Status','ServingStatus','Amount','StartDate','EndDate');

            

            // Get statisticsus

            $dateRange = new DateRange(); 

            $dateRange->min = $_SESSION['reportDateStart']; 

            $dateRange->max = $_SESSION['reportDateEnd']; 

            $selector->dateRange = $dateRange; 

            

    

            // Get all campaigns.

            $page = $campaignService->get($selector);

 




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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