Re: google ads php client api v15 for php oauth isuue

2024-02-07 Thread Zahra Ahmed
on BasicOperations/GetCampaigns.php
facing the issue 
*Deprecated*: Return type of GetOpt\GetOpt::count() should either be 
compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] 
attribute should be used to temporarily suppress the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *583*

*Deprecated*: Return type of GetOpt\GetOpt::offsetExists($offset) should 
either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, 
or the #[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *529*

*Deprecated*: Return type of GetOpt\GetOpt::offsetGet($offset) should 
either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or 
the #[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *545*

*Deprecated*: Return type of GetOpt\GetOpt::offsetSet($offset, $value) 
should either be compatible with ArrayAccess::offsetSet(mixed $offset, 
mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be 
used to temporarily suppress the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *561*

*Deprecated*: Return type of GetOpt\GetOpt::offsetUnset($offset) should 
either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or 
the #[\ReturnTypeWillChange] attribute should be used to temporarily 
suppress the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *572*

*Deprecated*: Return type of GetOpt\GetOpt::getIterator() should either be 
compatible with IteratorAggregate::getIterator(): Traversable, or the 
#[\ReturnTypeWillChange] attribute should be used to temporarily suppress 
the notice in 
*/var/www/vhosts/phedratech.com/adwords/vendor/ulrichsg/getopt-php/src/GetOpt.php*
 on 
line *509*

*Fatal error*: Uncaught Error: Call to undefined function 
Google\Ads\GoogleAds\Lib\parse_ini_file() in 
/var/www/vhosts/phedratech.com/adwords/src/Google/Ads/GoogleAds/Lib/ConfigurationLoader.php:82
 
Stack trace: #0 
/var/www/vhosts/phedratech.com/adwords/src/Google/Ads/GoogleAds/Lib/AbstractGoogleAdsBuilder.php(57):
 
Google\Ads\GoogleAds\Lib\ConfigurationLoader->fromFile() #1 
/var/www/vhosts/phedratech.com/adwords/examples/BasicOperations/GetCampaigns.php(51):
 
Google\Ads\GoogleAds\Lib\AbstractGoogleAdsBuilder->fromFile() #2 
/var/www/vhosts/phedratech.com/adwords/examples/BasicOperations/GetCampaigns.php(131):
 
Google\Ads\GoogleAds\Examples\BasicOperations\GetCampaigns::main() #3 
{main} thrown in 
*/var/www/vhosts/phedratech.com/adwords/src/Google/Ads/GoogleAds/Lib/ConfigurationLoader.php*
 on 
line *82*


On Wednesday, February 7, 2024 at 3:49:00 PM UTC+5 Zahra Ahmed wrote:

> i upgrade the php client libray v13 to v15 
> i chnaged the metadata
> , src, and vendor folder and upadte the path in 
> examples/BasicOperations/UpdateCampaign 
> need to something extra for this 
> and upgrade the php version to 8.1.27
>
> On Wednesday, February 7, 2024 at 1:42:23 PM UTC+5 Google Ads API Forum 
> Advisor wrote:
>
>> Hi,
>>
>> Thank you for reaching out to the Google Ads API support team.
>>
>> After reviewing your concern, I understand that you are facing issues 
>> while using PHP client library in the Google Ads API. 
>>
>> In order to assist you further, could you provide us with more context of 
>> your concern?. Also, please provide us the complete API logs (request 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>  and response 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>  with request-id 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>  and request header 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>>  
>> generated at your end.
>>
>> If you are using a client library and haven't enabled the logging yet, I 
>> would request you to enable logging for the specific client library that 
>> you are using. You can refer to the guides Java 
>> <https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
>> , .Net 
>> <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
>> , PHP 
>> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
>> , Python 
>> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
>> , Ruby 
>&g

Re: google ads php client api v15 for php oauth isuue

2024-02-07 Thread Zahra Ahmed
i upgrade the php client libray v13 to v15 
i chnaged the metadata
, src, and vendor folder and upadte the path in 
examples/BasicOperations/UpdateCampaign 
need to something extra for this 
and upgrade the php version to 8.1.27

On Wednesday, February 7, 2024 at 1:42:23 PM UTC+5 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> After reviewing your concern, I understand that you are facing issues 
> while using PHP client library in the Google Ads API. 
>
> In order to assist you further, could you provide us with more context of 
> your concern?. Also, please provide us the complete API logs (request 
> 
>  and response 
> 
>  with request-id 
> 
>  and request header 
> )
>  
> generated at your end.
>
> If you are using a client library and haven't enabled the logging yet, I 
> would request you to enable logging for the specific client library that 
> you are using. You can refer to the guides Java 
> 
> , .Net 
> 
> , PHP 
> 
> , Python 
> 
> , Ruby 
> 
>  or Perl 
>  
> to 
> enable logging at your end. For REST interface requests, you can enable 
> logging via the curl command by using the -i flag.
>
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
> This message is in relation to case "ref:!00D1U01174p.!5004Q02rytcl:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1bba3980-2aed-4058-890a-cc130b88b1b3n%40googlegroups.com.


Google Ads Php client API v15 for php oauth isuue

2024-02-06 Thread Zahra Ahmed
please help me in this 
i am facing this issue in google ads php client api 
Fatal error:  Uncaught Error: Call to undefined function 
Google\Ads\GoogleAds\Lib\parse_ini_file() in 
/var/www/vhosts/.../adwords/src/Google/Ads/GoogleAds/Lib/ConfigurationLoader.php:82
Stack trace:
#0 
/var/www/vhosts/.../adwords/src/Google/Ads/GoogleAds/Lib/AbstractGoogleAdsBuilder.php(57):
 
Google\Ads\GoogleAds\Lib\ConfigurationLoader->fromFile()
#1 
/var/www/vhosts/.../adwords/examples/BasicOperations/ManualPauseResumeByArea.php(294):
 
Google\Ads\GoogleAds\Lib\AbstractGoogleAdsBuilder->fromFile()
#2 
/var/www/vhosts/.../adwords/examples/BasicOperations/ManualPauseResumeByArea.php(330):
 
Google\Ads\GoogleAds\Examples\BasicOperations\UpdateCampaign::main()
#3 {main}
  thrown in 
/var/www/vhosts/.../adwords/src/Google/Ads/GoogleAds/Lib/ConfigurationLoader.php
 on line 82

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e37ecd0f-c2c7-496e-a117-44fc5005e3c7n%40googlegroups.com.