Hello

I am using PHP Client Library V0_7

how to disable traces that are automatically generated like following when 
I run examples/BasicOperations/GetCampaigns.php :


[2019-03-19 10:55:18] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v0.services.GoogleAdsService/Search", 
ClientCustomerId: 1931765330, RequestId: "ehyNlu67BCZJwK3GGy2cFA", IsFault: 
0, FaultMessage: "None"
[2019-03-19 10:55:18] google-ads.DEBUG: Request
-------
Method Name: /google.ads.googleads.v0.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/5.6.11-1ubuntu3.4 gapic\/ gax\/0.38.0 
grpc\/1.17.0",
    "developer-token": "REDACTED",
    "login-customer-id": "4123241990"
}
Request: {"customerId":"1931765330","query":"SELECT 
campaign.id,\n\t\t\t\tcampaign.name ,\n\t\t\t\t 
campaign.hotel_setting.hotel_center_id\n\t\t\tFROM campaign \n\t\t\tWHERE 
campaign.advertising_channel_type = 'HOTEL'","pageSize":1000}

Response
-------
Headers: {
    "content-disposition": "attachment",
    "request-id": "ehyNlu67BCZJwK3GGy2cFA",
    "date": "Tue, 19 Mar 2019 09:55:18 GMT",
    "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}
Response: 
{"results":[{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1462826522","id":"1462826522","name":"GHA
 
FR CPC - 
Mademoiselle","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1465142822","id":"1465142822","name":"GHA
 
US CPC - 
Mademoiselle","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1674995187","id":"1674995187","name":"GHA
 
DE 
CPC","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1715412888","id":"1715412888","name":"GHA
 
ROW 
CPC","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1726519112","id":"1726519112","name":"TEST
 
DIDIER","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1726790308","id":"1726790308","name":"TEST
 
DIDIER","hotelSetting":{"hotelCenterId":"906758838"}}},{"campaign":{"resourceName":"customers\/1931765330\/campaigns\/1734542531","id":"1734542531","name":"TEST
 
DIDIER 
2","hotelSetting":{"hotelCenterId":"906758838"}}}],"totalResultsCount":"7","fieldMask":"campaign.id,campaign.name,campaign.hotelSetting.hotelCenterId"}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/775a951a-6156-46d4-9b1a-435121a17434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • how to ... Didier Roy
    • Re... Didier Roy
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to