Hi Josh,

Of course, i tried it and I got 'v201603'. I also changed versions to 
201601 and 201509, it didn't change anything.
Interestingly, I found that 
When I use Selector after ManagedCustomerService, it works:
$managedCustomerService = $user->GetService('ManagedCustomerService', 
'v201603');
        
$selector = new Selector();

However, it doesn't work with ReportDefinitionService: (There is no problem 
with ADWORDS_VERSION, it prints v201603)

$campaignService = $user->GetService('ReportDefinitionService', 
ADWORDS_VERSION);
    
$selector = new Selector();




29 Nisan 2016 Cuma 19:38:29 UTC+3 tarihinde Josh Radcliff (AdWords API 
Team) yazdı:
>
> Hi Sabri, Anti,
>
> Could you add a line to print ADWORDS_VERSION before the line that's 
> failing? I want to confirm that it's set to "v201603".
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, April 28, 2016 at 4:16:22 PM UTC-4, Sabri Karagönen wrote:
>>
>> Hi,
>>
>> I'm having same problem. 
>> It just occured after I updated AdWords API via Composer from v6.6 to 
>> last version. So I don't think there is a missing file, etc.
>>
>>     $campaignService = $user->GetService('ReportDefinitionService', 
>> ADWORDS_VERSION);
>>     
>> *    $selector = new Selector();*
>>     $selector->fields = $reportFields;
>>
>> Error is threw at second line that is bold. 
>>
>> Thanks, 
>> Sabri
>>
>>
>> 25 Nisan 2016 Pazartesi 15:52:25 UTC+3 tarihinde Anti Lolo yazdı:
>>>
>>> I got this error after set up my php adwords api  from v201506 to new 
>>> v201603.
>>>
>>> Fatal error: Class Selector not found in project ....
>>>
>>> So uncommon error , did not find anything similar to find a solution.  
>>>
>>> Please help.
>>>
>>> Thanks
>>> Anti 
>>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b9490b85-203d-451c-a2ed-0dfa1be52e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Migr... Anti Lolo
    • ... 'Umesh Dengale' via AdWords API Forum
    • ... Sabri Karagönen
      • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
        • ... Sabri Karagönen
          • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
            • ... Sabri Karagönen
              • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
                • ... Justin Pacholka
                • ... Justin Pacholka
                • ... Sonya Moffat
                • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
                • ... Sonya Moffat
                • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
                • ... Oshua Moreno

Reply via email to