<s> """<STR_LIT>""" <EOL> from googleads import dfp <EOL> def main ( client ) : <EOL> product_template_service = client . GetService ( <EOL> '<STR_LIT>' , version = '<STR_LIT>' ) <EOL> statement = dfp . FilterStatement ( '<STR_LIT>' ) <EOL> while True : <EOL> response = product_template_service . getProductTemplatesByStatement ( <EOL> statement . ToStatement ( ) ) <EOL> if '<STR_LIT>' in response : <EOL> for product_template in response [ '<STR_LIT>' ] : <EOL> print ( '<STR_LIT>' % ( <EOL> product_template [ '<STR_LIT:id>' ] , product_template [ '<STR_LIT:name>' ] ) ) <EOL> statement . offset += dfp . SUGGESTED_PAGE_LIMIT <EOL> else : <EOL> break <EOL> print '<STR_LIT>' % response [ '<STR_LIT>' ] <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client ) </s>
