parameters: (trace, ad_rules_filename,
                                 tracking_rules_filename)
return_statement: return TransferSize(requests)
docstring: Returns the transfer size attributed to ads and tracking.
  
    Args:
      trace: (LoadingTrace) a loading trace.
      ad_rules_filename: (str) Path to an ad rules file.
      tracking_rules_filename: (str) Path to a tracking rules file.
  
    Returns:
      (uploaded_bytes (int), downloaded_bytes (int))
docstring_summary: Returns the transfer size attributed to ads and tracking.
docstring_tokens: Returns the transfer size attributed to ads and tracking .
function: def AdsAndTrackingTransferSize(trace, ad_rules_filename,
                                 tracking_rules_filename):
    """Returns the transfer size attributed to ads and tracking.
  
    Args:
      trace: (LoadingTrace) a loading trace.
      ad_rules_filename: (str) Path to an ad rules file.
      tracking_rules_filename: (str) Path to a tracking rules file.
  
    Returns:
      (uploaded_bytes (int), downloaded_bytes (int))
    """
    content_lens = (
        content_classification_lens.ContentClassificationLens.WithRulesFiles(
            trace, ad_rules_filename, tracking_rules_filename))
    requests = content_lens.AdAndTrackingRequests()
    return TransferSize(requests)
function_tokens: def AdsAndTrackingTransferSize ( trace , ad_rules_filename , tracking_rules_filename ) : content_lens = ( content_classification_lens . ContentClassificationLens . WithRulesFiles ( trace , ad_rules_filename , tracking_rules_filename ) ) requests = content_lens . AdAndTrackingRequests ( ) return TransferSize ( requests )