Hi,
Been with Ads API for a long time now, but I came across something weird.
I literally took 
https://developers.google.com/google-ads/api/samples/get-geo-target-constants-by-names
 
And it fails with:

Fatal error: Uncaught TypeError: 
Google\Ads\GoogleAds\V15\Services\Gapic\GeoTargetConstantServiceGapicClient::suggestGeoTargetConstants():
 
Argument #1 ($optionalArgs) must be of type array, 
Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest given, 
called in 
C:\Users\avixa\GitHub\ca-ads-api\createCampaign\getGeoTargetConstByNames.class.php
 
on line 117 and defined in 
C:\Users\avixa\GitHub\php_include\google-ads-php\src\Google\Ads\GoogleAds\V15\Services\Gapic\GeoTargetConstantServiceGapicClient.php:203


I tried so many variations to make this work until I reverted to the 
original example, and it's just odd.
Thanks,
Aviran.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4f77e761-ae3e-4a1d-8f90-a7caf01acbdbn%40googlegroups.com.
  • Ge... Aviran Zazon
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to