<commit_before>===========
Basic Usage
===========

Client creation
---------------

    >>> from adwords_client.client import AdWords
    >>> client = AdWords.autoload()

Getting Campaigns Report For an Account
---------------------------------------

    >>> client.get_campaigns_report(3709730243, 'campaigns_test_table', fields=True)
    >>> report_df = client.load_table('campaigns_test_table')
    >>> type(report_df)
    <class 'pandas.core.frame.DataFrame'>
    >>> print(report_df.sort(['CampaignId']).to_string())
      AccountDescriptiveName BiddingStrategyType   CampaignId   CampaignName CampaignStatus  Clicks  Conversions  Cost  ExternalCustomerId  Impressions  SearchImpressionShare
    0      AdwordsClientTest     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0        3.709730e+09          0.0                    0.0
Getting Keywords Report For an Account
---------------------------------------

    >>> client.get_keywords_report(3709730243, 'keywords_test_table', fields=True)
    >>> report_df = client.load_table('keywords_test_table')
    >>> print(report_df.sort(['Id', 'AdGroupId']).to_string())
      AccountDescriptiveName     AdGroupId   AdGroupName AdGroupStatus BiddingStrategySource BiddingStrategyType   CampaignId   CampaignName CampaignStatus  Clicks  Conversions  Cost     CpcBid CreativeQualityScore Criteria  ExternalCustomerId            Id  Impressions KeywordMatchType PostClickQualityScore  QualityScore  SearchImpressionShare SearchPredictedCtr   Status
    2      AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test3        3.709730e+09  2.960324e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled
    0      AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test1        3.709730e+09  2.962592e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled
    1      AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test2        3.709730e+09  2.962592e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled<commit_msg>removing index from dataframe for testing<commit_after>===========
Basic Usage
===========

Client creation
---------------

    >>> from adwords_client.client import AdWords
    >>> client = AdWords.autoload()

Getting Campaigns Report For an Account
---------------------------------------

    >>> client.get_campaigns_report(3709730243, 'campaigns_test_table', fields=True)
    >>> report_df = client.load_table('campaigns_test_table')
    >>> type(report_df)
    <class 'pandas.core.frame.DataFrame'>
    >>> print(report_df.sort_values('CampaignId').to_string(index=False))
    AccountDescriptiveName BiddingStrategyType   CampaignId   CampaignName CampaignStatus  Clicks  Conversions  Cost  ExternalCustomerId  Impressions  SearchImpressionShare
        AdwordsClientTest     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0        3.709730e+09          0.0                    0.0

Getting Keywords Report For an Account
---------------------------------------

    >>> client.get_keywords_report(3709730243, 'keywords_test_table', fields=True)
    >>> report_df = client.load_table('keywords_test_table')
    >>> print(report_df.sort_values(['Id', 'AdGroupId']).to_string(index=False))
    AccountDescriptiveName     AdGroupId   AdGroupName AdGroupStatus BiddingStrategySource BiddingStrategyType   CampaignId   CampaignName CampaignStatus  Clicks  Conversions  Cost     CpcBid CreativeQualityScore Criteria  ExternalCustomerId            Id  Impressions KeywordMatchType PostClickQualityScore  QualityScore  SearchImpressionShare SearchPredictedCtr   Status
        AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test3        3.709730e+09  2.960324e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled
        AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test1        3.709730e+09  2.962592e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled
        AdwordsClientTest  5.006882e+10  TestAdgroup1       enabled              campaign     Maximize clicks  886235670.0  TestCampaign1        enabled     0.0          0.0   0.0  6690000.0                   --    test2        3.709730e+09  2.962592e+11          0.0            Broad                    --           0.0                    0.0                 --  enabled
{'fraction_non_alphanumeric': 0.10461880912632164, 'fraction_numerical': 0.08606937488406603, 'mean_word_length': 1.6086115142718915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '903021', 'n_tokens_mistral': 1704, 'n_tokens_neox': 1451, 'n_words': 312}