I'm trying to use google_ads_api to generate keywords idea. I found an error when I execute generateKeywordsIdeas.php file.

PS C:\xampp\htdocs\google_ads_api> php GenerateKeywordIdeas.php PHP Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67 Stack trace:

#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main} thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67

Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67 Stack trace:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main} thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67

Here is file structure of my project

Why this error happens..? can anybody explain..?

Currently i am working on whatsapp business api setup using docker . I have followed the instructions specified in installation document.

Installation done successfully and all containers are running fine. When i am performing the health check getting the below response

{     "health": {         "192.168.99.124:337e5a74fec8": {             "gateway_status": "unregistered",             "role": "primary_master"         },         "192.168.99.125:f6d56ce7a303": {             "errors": [                 {                     "code": 1011,                     "title": "Service not ready",                     "details": "Wacore is not instantiated. Please check wacore log for details."                 }             ]         },         "192.168.99.125:f18358cd1dff": {             "errors": [                 {                     "code": 1011,                     "title": "Service not ready",                     "details": "Wacore is not instantiated. Please check wacore log for details."                 }             ]         }     },     "meta": {         "version": "v2.25.5",         "api_status": "stable"     } } 

Two of the core containers (master and wacore) not getting instantiated. i verified my containers, all are running .

Does any one faced this issue ? or this one is the normal because response always giving 200 status code .

I'm trying to get access to Display Ad images via the Google Ads API. At the moment, my code doesn't seem to be working for certain ads. As near as I can tell from my debugging efforts so far, the issue is that it's not working for HTML5 ads.

Here is the query I'm using :

SELECT      ad_group.name,      campaign.name,      ad_group_ad.ad.responsive_display_ad.logo_images,      ad_group_ad.ad.responsive_display_ad.marketing_images,      ad_group_ad.ad.image_ad.preview_image_url,      ad_group_ad.ad.image_ad.image_url FROM     ad_group_ad WHERE     campaign.advertising_channel_type = \'DISPLAY\' LIMIT     100 

For accounts using HTML5 ads, there is nothing returned for any of the last (4) fields. For other accounts, I'm using the "ad_group_ad.ad.image_ad.image_url" field to get the ad image.

What am I missing?

After updating Google Ads SDK to 19.0.0 gives a deprecated warning message for addTestDevice(), while I searched this link for resolving the issue but not succeed. how can I resolve it?

Here my code

mAdView.loadAd(new RequestConfiguration.Builder        .setTestDeviceIds(AdRequest.DEVICE_ID_EMULATOR) // show error        .setTestDeviceIds(DEV_ID) // show error        .build()); 

and developer site suggestion

Deprecated AdRequest.Builder.addTestDevice(). Use RequestConfiguration.Builder.setTestDeviceIds() instead.

There are only a few RPC methods that include the HTTP reference endpoint in the reference documentation.

I got the Google Ads Service's Mutate method to work with https://googleads.googleapis.com/v3/customers/{customer-id}/googleAds:mutate

However, trying to call the Keyword Plan Idea service fails, reporting there is no such URL on the server:

https://googleads.googleapis.com/v2/customers/{customer-id}/keywordPlanIdea:generateKeywordIdeas

I have tried it with and without the customers/{customer-id}, and with GET, POST, and even PUT. No luck.

Does anyone know the correct endpoint?

Thanks!

John