GetCampaigns.php doesn't return results

22 views
Skip to first unread message

Marcos Gil Fuertes

unread,
Mar 11, 2019, 6:59:28 AM3/11/19
to AdWords API and Google Ads API Forum
Just downloaded the PHP library, configured everything at "google_ads_php.ini" file and tested the sample... but it doesn't show any campaign (and I have a couple of them on my test account).

This is the trace:

[2019-03-11 10:15:20] google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v1.services.GoogleAdsService/Search", ClientCustomerId: *******600, RequestId: "u0jvceGNDHY4eHWvArcfxA", IsFault: 0, FaultMessage: "None"  
[2019-03-11 10:15:20] google-ads.NOTICE: Request
-------
Method Name: /google.ads.googleads.v1.services.GoogleAdsService/Search
Headers: {
    "x-goog-api-client": "gl-php\/7.2.15-0ubuntu0.18.04.1 gapic\/ gax\/0.38.0 grpc\/1.19.0",
    "developer-token": "REDACTED"
}
Request: {"customerId":"*******600","query":"SELECT campaign.idcampaign.name FROM campaign ORDER BY campaign.id","pageSize":1000}

Response
-------
Headers: {
    "content-disposition": "attachment",
    "request-id": "u0jvceGNDHY4eHWvArcfxA",
    "date": "Mon, 11 Mar 2019 09:15:20 GMT",
    "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}
Response: {"fieldMask":"campaign.id,campaign.name"}

I can't understand very well the response header "content-disposition": "attachment" :/

Did I miss something?

Thank you!
Reply all
Reply to author
Forward
0 new messages