Appendix

Logs Examples (Python)

Here's an example of how the logs should appear when running this script using only the AdWords API, and with the logging level set to INFO:

A0: Example Logs using AdWords API Only
[2021-08-19 08:58:30,020 - googleads.soap - INFO] Request made: Service: "BudgetService" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201809/BudgetService"
Budget with ID 9312798435 and name Interplanetary Cruise Budget #72ff2cce-592f-4f1a-8371-0cf3c5d95aa5 was created
[2021-08-19 08:58:30,333 - googleads.soap - INFO] Request made: Service: "CampaignService" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201809/CampaignService"
CreatedCampign with ID 14331639971 and name Interplanetary Cruise #ba24d9ab-2a0e-4eb4-b5b5-3ab8a9f9666a was created
[2021-08-19 08:58:30,678 - googleads.soap - INFO] Request made: Service: "AdGroupService" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201809/AdGroupService"
Ad group with ID 130020093990 and name Earth to Mars Cruise #75c50df3-710f-48e7-9baf-e16b421e2e49 was created
[2021-08-19 08:58:31,017 - googleads.soap - INFO] Request made: Service: "AdGroupAdService" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201809/AdGroupAdService"
Expanded text ad with ID 540256098380 and headline Cruise #33b609fd to Mars-Best Space Cruise Line For Your Loved Ones was created
Expanded text ad with ID 540256098383 and headline Cruise #131745fe to Mars-Best Space Cruise Line For Your Loved Ones was created
Expanded text ad with ID 540256098386 and headline Cruise #f4065b21 to Mars-Best Space Cruise Line For Your Loved Ones was created
Expanded text ad with ID 540256098389 and headline Cruise #5c8c9f19 to Mars-Best Space Cruise Line For Your Loved Ones was created
Expanded text ad with ID 540256098392 and headline Cruise #d28e7da7 to Mars-Best Space Cruise Line For Your Loved Ones was created
[2021-08-19 08:58:31,722 - googleads.soap - INFO] Request made: Service: "AdGroupCriterionService" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201809/AdGroupCriterionService"
Keyword with ad group ID 130020093990, keyword ID 376765347, text mars cruise and matchtype BROAD was created
Keyword with ad group ID 130020093990, keyword ID 142242236, text space hotel and matchtype BROAD was created
      

Here's an example of how the logs should appear when running this script using only the Google Ads API, and with the logging level set to INFO:

A1: Example Logs using Google Ads API Only
[2021-08-19 09:02:40 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.CampaignBudgetService/MutateCampaignBudgets, RequestId: None, IsFault: False, FaultMessage: None
[2021-08-19 09:02:41 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.GoogleAdsService/Search, RequestId: None, IsFault: False, FaultMessage: None
Added budget named Interplanetary Cruise Budget c3ac6ec0-b228-4741-8c16-d877fe91e0d1
[2021-08-19 09:02:41 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.CampaignService/MutateCampaigns, RequestId: None, IsFault: False, FaultMessage: None
[2021-08-19 09:02:42 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.GoogleAdsService/Search, RequestId: None, IsFault: False, FaultMessage: None
Added campaign named Interplanetary Cruise#ee5ec035-53f4-482a-991c-1ad1d1f0923a
[2021-08-19 09:02:42 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.AdGroupService/MutateAdGroups, RequestId: None, IsFault: False, FaultMessage: None
[2021-08-19 09:02:43 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.GoogleAdsService/Search, RequestId: None, IsFault: False, FaultMessage: None
Added AdGroup named Earth to Mars Cruises #acea416a-053a-40b7-bf23-7c2f76be9591
[2021-08-19 09:02:43 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.AdGroupAdService/MutateAdGroupAds, RequestId: None, IsFault: False, FaultMessage: None
[2021-08-19 09:02:44 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.GoogleAdsService/Search, RequestId: None, IsFault: False, FaultMessage: None
Created expanded text ad with ID 540192815485, status 3 and headline Cruise to Mars #d253.Best Space Cruise Line
Created expanded text ad with ID 540192815488, status 3 and headline Cruise to Mars #2318.Best Space Cruise Line
Created expanded text ad with ID 540192815491, status 3 and headline Cruise to Mars #959a.Best Space Cruise Line
Created expanded text ad with ID 540192815494, status 3 and headline Cruise to Mars #5406.Best Space Cruise Line
Created expanded text ad with ID 540192815497, status 3 and headline Cruise to Mars #c83f.Best Space Cruise Line
[2021-08-19 09:02:44 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.AdGroupCriterionService/MutateAdGroupCriteria, RequestId: None, IsFault: False, FaultMessage: None
[2021-08-19 09:02:45 - INFO] Request made: ClientCustomerId: 1234567890, Host: qa-prod-googleads.sandbox.googleapis.com, Method: /google.ads.googleads.v13.services.GoogleAdsService/Search, RequestId: None, IsFault: False, FaultMessage: None
Keyword with text space hotel, id=140068236 and match type 2 was created
Keyword with text mars cruise, id=302272685926 and match type 2 was created