Re: DEFAULT_VERSION

2011-12-30 Thread Luis Siquot
tation (a lot). And I can“t find a place where it says which object/method supports which API version. excuse my poor english Thanks again Luis On Thu, Dec 29, 2011 at 6:10 PM, Evgeniy Bogdanov wrote: > > 1) If you will setup DEFAULT_VERSION to v201109 and will not specify > in

Re: DEFAULT_VERSION

2011-12-29 Thread Evgeniy Bogdanov
1) If you will setup DEFAULT_VERSION to v201109 and will not specify in service object constructor other version - library will use specified version: v201109. 2) How do you see that kind of realization? Google do not promise any backward compatibility, neither API or library. So this idea will

Re: DEFAULT_VERSION

2011-12-29 Thread Luis Siquot
My questions are: 1) if I setup DEFAULT_VERSION to "v201109", are ALL objects and methods in the php client library "forced" to use that API version? 2) or, instead, will the php client library automatically use the "proper" API version for non-matching methods/obje

Re: DEFAULT_VERSION

2011-12-29 Thread Evgeniy Bogdanov
Hi Luis. This constant is used to point library which version of API should be used by default to connect. So you can use just: $targetingIdeaService = $user->GetService('TargetingIdeaService'); Instead of: $targetingIdeaService = $user->GetService('TargetingIdeaService', 'v201109'); Regards, E

DEFAULT_VERSION

2011-12-29 Thread Luis Siquot
Can you please let me know what is [SERVER] DEFAULT_VERSION = "v201101" for? Thank you. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/a