I'm getting this error when running this code:

$googleAdsClient->getGoogleAdsServiceClient()->search($customerId, $query, $page_size); 

ERROR message: proto descriptor was previously loaded (included in multiple metadata bundles?): google/ads/googleads/v5/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto

$googleAdsClient is an instance of \Google\Ads\GoogleAds\Lib\V5\GoogleAdsClient.

The getGoogleAdsServiceClient method comes from the ServiceClientFactoryTrait trait /Google/Ads/GoogleAds/Lib/V5/ServiceClientFactoryTrait.php

I'm running:

php 7.4.1 grpc module version => 1.34.0 protobuf version => 3.14.0 

Additional libs installed via composer:

google/grpc-gcp                       0.1.5      gRPC GCP library for channel management google/protobuf                       v3.13.0.1  proto library for PHP googleads/google-ads-php              v5.0.0     Google Ads API client for PHP grpc/grpc                             1.30.0     gRPC library for PHP 

I don't know enough about descriptors or the protobuf library to understand this error. It just started happening a couple days ago and I don't think we made any changes that would effect this. Any help/guidance would be much appreciated.

EDIT: forgot to link to SDK https://github.com/googleads/google-ads-php

EDIT: updated the following libs:

google/apiclient                     v2.9.1     Client library for Google APIs google/apiclient-services            v0.161.0   Client library for Google APIs google/auth                          v1.15.0    Google Auth Library for PHP google/common-protos                 1.3        Google API Common Protos for PHP google/gax                           1.7.0      Google API Core for PHP google/grpc-gcp                      0.1.5      gRPC GCP library for channel management google/protobuf                      v3.15.3    proto library for PHP googleads/google-ads-php             v7.0.0     Google Ads API client for PHP grpc/grpc                            1.35.0     gRPC library for PHP google/protobuf                      v3.15.3    proto library for PHP 

I am trying to build Google ads API in python. I have the token and access but now I need to link accounts to my MCC account. But the "Link existing accounts" give me full access. I only need read only. Is there read only "Link existing accounts"?

Thanks, Tal

Is there any Postman collection available for Facebook Graph API and its "children"? (Marketing API and friends.)

I'd definitely ask somewhere on their SDKs Github page, but all of them don't allow to post any "Issues". Also, I've been surfing the web for a while on this.

A great example of what I'm after is WhatsApp's Business API Postman collection, it's publicly available here -> https://developers.facebook.com/docs/whatsapp/guides/postman/

After proceed with the installation of WhatsApp Business API (developer single instance) in docker on windows 10 Enterprise, I´m facing the following msg error when using https://192.168.43.200:8080/v1/health by postman Error msg: { "meta": { "version": "v2.33.3", "api_status": "stable" }, "errors": [ { "code": 1014, "title": "Internal error", "details": "php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution. Please check if wacore is running: wacore:6252" } ] }

Looking in log files it´s seems that the core is listening in one port that is different from expected by web

---> Web log [2021-02-24 12:46:38.560338] app.INFO: [064af96616514f6f8b41fc530047db4b] Matched route "{route}". {"route":"GET_v1_health","route_parameters":{"_controller":"WhatsApp\Controller\HealthController::getHealth","_route":"GET_v1_health"},"request_uri":"https://192.168.43.200:8080/v1/health","method":"GET"} []

[2021-02-24 12:46:38.587929] app.INFO: [064af96616514f6f8b41fc530047db4b] Guard authentication successful! {"token":"[object] (Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user="admin", authenticated=true, roles="ROLE_ADMIN"))","authenticator":"WhatsApp\Security\TokenAuthenticator"} []

[2021-02-24 12:47:14.646964] app.INFO: [064af96616514f6f8b41fc530047db4b] Response: {"meta":{"version":"v2.33.3","api_status":"stable"},"errors":[{"code":1014,"title":"Internal error","details":"php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution. Please check if wacore is running: wacore:6252"}]} []

[2021-02-24 12:47:14.650236] app.INFO: [064af96616514f6f8b41fc530047db4b] Request GET_/v1/health returns 500 in 36269.15 ms [] []

=================================================================================== Core log D 2021-02-24 12:10:39.282 UTC 28 apiendpointmanager.cpp:190] Endpoint "healthcheck" is listening on address "0.0.0.0" port 6253 req_id=Main D 2021-02-24 12:10:39.282 UTC 29 apiendpointmanager.cpp:190] Endpoint "control" is listening on address "0.0.0.0" port 6252 req_id=Main

===================================================================================

$ docker network ls NETWORK ID NAME DRIVER SCOPE 9d811d5d3283 Default Switch ics local 27dc22b69113 nat nat local 4e2733cd792d none null local

$ docker container ls -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8d7000856b95 docker.whatsapp.biz/web:v2.33.3 "/opt/whatsapp/bin/w…" 17 hours ago Exited (4294967295) 6 minutes ago postgres_waweb_1 909781cdb775 docker.whatsapp.biz/coreapp:v2.33.3 "/opt/whatsapp/bin/w…" 17 hours ago Up 5 minutes 6250-6253/tcp postgres_wacore_1 7d68b7a61cad postgres:10.6 "docker-entrypoint.s…" 17 hours ago Up 6 minutes 5432/tcp, 33060/tcp, 0.0.0.0:33060->3306/tcp postgres_db_1 219b1e393f21 nginx "/docker-entrypoint.…" 42 hours ago Exited (4294967295) 41 hours ago nostalgic_jennings

Regards,

# sample return data from TargetingIdea following https://developers.google.com/adwords/api/docs/samples/php/optimization#get-keywords-related-to-a-seed-keyword Google\AdsApi\AdWords\v201809\o\TargetingIdea^ {#2396   #data: array:5 [     0 => Google\AdsApi\AdWords\v201809\o\Type_AttributeMapEntry^ {#2441       #key: "KEYWORD_TEXT"       #value: Google\AdsApi\AdWords\v201809\o\StringAttribute^ {#2439         #value: "digital agency thailand ff9d9077"         #AttributeType: "StringAttribute"         -parameterMap: array:1 [           "Attribute.Type" => "AttributeType"         ]       }     } 

The method of calling for the keyword idea generations are done correctly

        $querySearchParam = new RelatedToQuerySearchParameter();         $querySearchParam->setQueries($keywords);         $searchParameters[] = $querySearchParam;         $relatedUrlSearchParam = new RelatedToUrlSearchParameter();         $relatedUrlSearchParam->setUrls($urls);         $searchParameters[] = $relatedUrlSearchParam;         $languageParam = new LanguageSearchParameter();         $languageParam->setLanguages([new Language(1000)]);         $searchParameters[] = $languageParam;         $networkSearchParam = new NetworkSearchParameter();          $networkSearchParam->setNetworkSetting(new NetworkSetting(true));         $searchParameters[] = $networkSearchParam; 

However it returns a randomly generated alphanumeric after the keyword text. Eg: ff9d9077 at the end of the KEYWORD_TEXT attribute digital agency thailand. Where the same keyword idea returns multiple times but with different randomly generated trailing alphanumeric text such as digital agency thailand 13fdc22, digital agency thailand c73761c etc

Anyone can advice what might went wrong on this?