<s> """<STR_LIT>""" <EOL> import tempfile <EOL> from googleads import dfp <EOL> def main ( client ) : <EOL> report_downloader = client . GetDataDownloader ( version = '<STR_LIT>' ) <EOL> line_items_file = tempfile . NamedTemporaryFile ( <EOL> prefix = '<STR_LIT>' , suffix = '<STR_LIT>' , mode = '<STR_LIT:w>' , delete = False ) <EOL> ad_units_file = tempfile . NamedTemporaryFile ( <EOL> prefix = '<STR_LIT>' , suffix = '<STR_LIT>' , mode = '<STR_LIT:w>' , delete = False ) <EOL> line_items_pql_query = ( '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> ad_units_pql_query = '<STR_LIT>' <EOL> report_downloader . DownloadPqlResultToCsv ( <EOL> line_items_pql_query , line_items_file ) <EOL> report_downloader . DownloadPqlResultToCsv ( <EOL> ad_units_pql_query , ad_units_file ) <EOL> line_items_file . close ( ) <EOL> ad_units_file . close ( ) <EOL> print ( '<STR_LIT>' % line_items_file . name ) <EOL> print ( '<STR_LIT>' % ad_units_file . name ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client ) </s>
