Re: ***Announcing the new ads PHP client library***

2017-09-11 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Joven, 

Are you facing any issues while using the v201708 version of the API? If 
so, could you please create a new thread with more details and logs 
explaining the issue?

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a88cb930-de26-43c9-b928-88bdb8168fdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2017-09-11 Thread Joven Albarida
Guys,

I think the only steps that didnt explain on Adwords API people,  is that 
when in v201708 the adsapi_php use the HOME directory path, but downwards 
version was totally mind freak setting


On Thursday, December 22, 2016 at 10:38:06 AM UTC+8, Thanet Knack 
Praneenararat (AdWords API Team) wrote:
>
> Hello ads PHP developers! Today we’re pleased to announce the stable 
> release of the new ads PHP client library. This has been in beta for a 
> while now, is a huge overhaul of the library, and offers a multitude of 
> improvements. Please see our blog post 
> 
>  for 
> all the details!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5acb7aa8-6064-4613-a2d3-b1dbf4d2be42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2017-02-24 Thread Jesús Cárdenas

alfonso payra, The problem was the path of the adsapi_php.ini file, I used 
psr-4 to integrate the ads library into my project.
Adding the following lines in composer.json:
"psr-4": {
"Google\\AdsApi\\": 
"vendor/googleads/googleads-php-lib/src/Google/AdsApi",
}

And in my controller I use the following way:
use Google\AdsApi\AdWords\AdWordsServices;
use Google\AdsApi\AdWords\AdWordsSession;
use 

//Path where the credentials were saved
$path=app_path().'/services/google/adwords/adsapi_php.ini';

// Generate a refreshable OAuth2 credential for authentication.
$oAuth2Credential = (new OAuth2TokenBuilder())
   ->fromFile($path)
   ->build();

// Construct an API session configured from a properties file and 
the OAuth2
// credentials above.
$session = (new AdWordsSessionBuilder())
   ->fromFile($path)
   ->withOAuth2Credential($oAuth2Credential)
   ->build();
...


El jueves, 26 de enero de 2017, 16:35:55 (UTC-3), alfonso payra escribió:
>
> jesus where you able to fix this problem? im getting same error but i did 
> follow all steps. Im using vagrant with homestead but not using laravel
>
> El lunes, 26 de diciembre de 2016, 5:01:53 (UTC-3), Jesús Cárdenas 
> escribió:
>>
>>
>> Hello I need help, I go to the last version of the library and I have 
>> problems, I work with Laravel 4.2:
>>
>> I write in console:
>> ~$ *cd* *$path/project/*
>> vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement
>> ~$ *php* GetAccountHierarchy.php 
>>
>> PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with 
>> message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set 
>> when using installed/web application flow.' in* $path/project*
>> /vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php:179
>> Stack trace:
>> #0 
>> *$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php(134):
>>  
>> Google\AdsApi\Common\OAuth2TokenBuilder->validate()
>> #1 
>> *$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(134):
>>  
>> Google\AdsApi\Common\OAuth2TokenBuilder->build()
>> #2 
>> *$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(146):
>>  
>> Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::main()
>> #3 {main}
>>   thrown in 
>> *$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php
>>  
>> on line 179
>>
>> Help me!
>>
>> El miércoles, 21 de diciembre de 2016, 23:38:06 (UTC-3), Thanet Knack 
>> Praneenararat (AdWords API Team) escribió:
>>>
>>> Hello ads PHP developers! Today we’re pleased to announce the stable 
>>> release of the new ads PHP client library. This has been in beta for a 
>>> while now, is a huge overhaul of the library, and offers a multitude of 
>>> improvements. Please see our blog post 
>>> 
>>>  for 
>>> all the details!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62c054ff-3507-4c44-aae1-32e97a17f2e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2017-01-26 Thread alfonso payra
jesus where you able to fix this problem? im getting same error but i did 
follow all steps. Im using vagrant with homestead but not using laravel

El lunes, 26 de diciembre de 2016, 5:01:53 (UTC-3), Jesús Cárdenas escribió:
>
>
> Hello I need help, I go to the last version of the library and I have 
> problems, I work with Laravel 4.2:
>
> I write in console:
> ~$ *cd* *$path/project/*
> vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement
> ~$ *php* GetAccountHierarchy.php 
>
> PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with 
> message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set 
> when using installed/web application flow.' in* $path/project*
> /vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php:179
> Stack trace:
> #0 
> *$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php(134):
>  
> Google\AdsApi\Common\OAuth2TokenBuilder->validate()
> #1 
> *$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(134):
>  
> Google\AdsApi\Common\OAuth2TokenBuilder->build()
> #2 
> *$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(146):
>  
> Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::main()
> #3 {main}
>   thrown in 
> *$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php
>  
> on line 179
>
> Help me!
>
> El miércoles, 21 de diciembre de 2016, 23:38:06 (UTC-3), Thanet Knack 
> Praneenararat (AdWords API Team) escribió:
>>
>> Hello ads PHP developers! Today we’re pleased to announce the stable 
>> release of the new ads PHP client library. This has been in beta for a 
>> while now, is a huge overhaul of the library, and offers a multitude of 
>> improvements. Please see our blog post 
>> 
>>  for 
>> all the details!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b3338e2f-c5c7-406b-a91d-4aad3930cf24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2017-01-04 Thread 'Joyce Lava' via AdWords API Forum
Hi Dmytro,

Could you please open a new thread so we can properly track your concern? 
Also, if you are referring to setting up the client library in your 
application, you may want to contact the github experts through the link I 
shared above.

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0d556dbb-b1ec-4b1c-a688-ba64082a7f7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2017-01-04 Thread Dmytro S

Hi!
 
Is where any simple way to put logs into subfolders with customerId ad 
current date as names without creating own logger?

Please, advise.

Thanks,
Dmytro.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3506e329-a195-48ea-87b3-42d2c15b2a28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2016-12-26 Thread 'Joyce Lava' via AdWords API Forum
Hello Jesús*,*

Please create a new github issue 
 with the above 
concern. 

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f9cb9c6d-ebd0-4603-9603-195d6185b606%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2016-12-26 Thread Jesús Cárdenas

Hello I need help, I go to the last version of the library and I have 
problems, I work with Laravel 4.2:

I write in console:
~$ *cd* *$path/project/*
vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement
~$ *php* GetAccountHierarchy.php 

PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with 
message 'All of 'clientId', 'clientSecret', and 'refreshToken' must be set 
when using installed/web application flow.' in* $path/project*
/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php:179
Stack trace:
#0 
*$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php(134):
 
Google\AdsApi\Common\OAuth2TokenBuilder->validate()
#1 
*$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(134):
 
Google\AdsApi\Common\OAuth2TokenBuilder->build()
#2 
*$path/project*/vendor/googleads/googleads-php-lib/examples/AdWords/v201609/AccountManagement/GetAccountHierarchy.php(146):
 
Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::main()
#3 {main}
  thrown in 
*$path/project*/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/OAuth2TokenBuilder.php
 
on line 179

Help me!

El miércoles, 21 de diciembre de 2016, 23:38:06 (UTC-3), Thanet Knack 
Praneenararat (AdWords API Team) escribió:
>
> Hello ads PHP developers! Today we’re pleased to announce the stable 
> release of the new ads PHP client library. This has been in beta for a 
> while now, is a huge overhaul of the library, and offers a multitude of 
> improvements. Please see our blog post 
> 
>  for 
> all the details!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/625daeb7-0830-4c74-a970-a8c855d6f026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ***Announcing the new ads PHP client library***

2016-12-26 Thread Jesús Cárdenas
Hello, I was working with the 15.00 version of googleads-php-lib. Is it 
necessary to go to version 25.00 now?

El miércoles, 21 de diciembre de 2016, 23:38:06 (UTC-3), Thanet Knack 
Praneenararat (AdWords API Team) escribió:
>
> Hello ads PHP developers! Today we’re pleased to announce the stable 
> release of the new ads PHP client library. This has been in beta for a 
> while now, is a huge overhaul of the library, and offers a multitude of 
> improvements. Please see our blog post 
> 
>  for 
> all the details!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/699e706f-585d-45b5-8178-46255ef94db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.