Hi all,
This is my first time playing around with the Google Ads API. 
I have the following in my code;

use Google\Ads\GoogleAds\Lib\V21\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Google\Ads\GoogleAds\V21\Enums\SearchTermMatchTypeEnum\
SearchTermMatchType;
use Google\Ads\GoogleAds\V21\Services\GoogleAdsRow;

It's giving me the following error;

Uncaught Error: Class "Google\Ads\GoogleAds\Lib\V21\GoogleAdsClientBuilder" 
not found in /var/www/html/wp-content/plugins/organic search 
v2/ga-analytics-plugin.php:396 Stack trace: #0 
/var/www/html/wp-content/plugins/organic search 
v2/ga-analytics-plugin.php(66): fetch_google_ads_data() #1 
/var/www/html/wp-includes/class-wp-hook.php(324): ga_search_terms_page() #2 
/var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 
#3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 
/var/www/html/wp-admin/admin.php(259): do_action() #5 {main} thrown in 
*/var/www/html/wp-content/plugins/organic 
search v2/ga-analytics-plugin.php* on line *396*

Would anyone happen to know why the error shows up? 
Is GoogleAdsClientBuilder no longer available?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fedae851-8d7e-4083-888b-55588e771baan%40googlegroups.com.

Reply via email to