No result in getcampaigns.php

52 views
Skip to first unread message

Oleg Disrupt

unread,
Oct 19, 2021, 2:39:20 AM10/19/21
to AdWords API and Google Ads API Forum
Hello
I got to clone https://github.com/googleads/google-ads-php and tried to test
php examples/BasicOperations/GetCampaigns.php --customerId <muycustomerid>
but I can't see any result.
I can see the result in my command prompt.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2021-10-19T08:27:22.627915+02:00] google-ads.INFO: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v8.services.GoogleAdsService/SearchStream", CustomerId: 5347826121, RequestId: "KodnfDM3vbKobMDF8h_hmQ", IsFault: 0, FaultMessage: "None"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
so it means all work fine?
I can see my campaigns in my google ads account but I can't see any list in prompt.
what is my issue?
Any suggestion will be help me.
Regards

Google Ads API Forum Advisor

unread,
Oct 19, 2021, 1:54:50 PM10/19/21
to ol...@disrupt.social, adwor...@googlegroups.com

Hi,

Thanks for reaching out to us.

Could you provide us with the complete request and response logs with the request-id, so our team can better check?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. PHP) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PKkvI:ref
Reply all
Reply to author
Forward
0 new messages