Skip to content

Commit

Permalink
Tab character replaced by \t in example files (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
wihl authored Jul 16, 2021
1 parent 1658ea2 commit 310a488
Show file tree
Hide file tree
Showing 78 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion examples/account_management/create_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def main(client, manager_customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/account_management/get_account_hierarchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _print_account_hierarchy(
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/account_management/get_account_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def main(client, customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/account_management/get_change_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def main(client, customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/account_management/get_pending_invitations.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def main(client, customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/account_management/list_accessible_customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def main(client):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_ad_group_bid_modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def main(client, customer_id, ad_group_id, bid_modifier_value):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_app_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def _create_ad_text_asset(client, text):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_display_upload_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _create_display_upload_ad_group_ad(
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_dynamic_page_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def _add_dsa_targeting(client, customer_id, ad_group_resource_name, label):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_dynamic_search_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def _add_webpage_criterion(client, customer_id, ad_group_resource_name):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def main(client, customer_id, ad_group_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_gmail_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _get_image(url):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/add_local_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def _create_youtube_video_asset(
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_operations/get_ad_group_bid_modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main(client, customer_id, page_size, ad_group_id=None):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/add_ad_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def main(client, customer_id, campaign_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/add_expanded_text_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def main(client, customer_id, ad_group_id, number_of_ads):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/add_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def main(client, customer_id, ad_group_id, keyword_text):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/add_responsive_search_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _create_ad_text_asset(client, text, pinned_field=None):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_ad_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def main(client, customer_id, page_size, campaign_id=None):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_artifact_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def main(client, artifact_name, page_size):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_campaigns.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def main(client, customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_expanded_text_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main(client, customer_id, ad_group_id=None):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def main(client, customer_id, page_size, ad_group_id=None):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/get_responsive_search_ads.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _ad_text_assets_to_strs(assets):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/pause_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(client, customer_id, ad_group_id, ad_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/remove_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def main(client, customer_id, ad_group_id, ad_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/remove_ad_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def main(client, customer_id, ad_group_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/remove_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def main(client, customer_id, campaign_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/remove_keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(client, customer_id, ad_group_id, criterion_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/update_ad_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def main(client, customer_id, ad_group_id, cpc_bid_micro_amount):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/update_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def main(client, customer_id, campaign_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/update_expanded_text_ad.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main(client, customer_id, ad_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_operations/update_keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def main(client, customer_id, ad_group_id, criterion_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/billing/add_account_budget_proposal.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def main(client, customer_id, billing_setup_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/billing/get_account_budget_proposals.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def main(client, customer_id, page_size):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/billing/get_account_budgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _micros_to_currency(micros):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/billing/get_billing_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def main(client, customer_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/billing/remove_billing_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main(client, customer_id, billing_setup_id):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
2 changes: 1 addition & 1 deletion examples/campaign_management/add_campaign_bid_modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def main(client, customer_id, campaign_id, bid_modifier_value):
f'"{ex.error.code().name}" and includes the following errors:'
)
for error in ex.failure.errors:
print(f' Error with message "{error.message}".')
print(f'\tError with message "{error.message}".')
if error.location:
for field_path_element in error.location.field_path_elements:
print(f"\t\tOn field: {field_path_element.field_name}")
Expand Down
Loading

0 comments on commit 310a488

Please sign in to comment.