<s> """<STR_LIT>""" <EOL> from googleads import dfp <EOL> PRODUCT_ID = '<STR_LIT>' <EOL> RATE_CARD_ID = '<STR_LIT>' <EOL> def main ( client , product_id , rate_card_id ) : <EOL> base_rate_service = client . GetService ( <EOL> '<STR_LIT>' , version = '<STR_LIT>' ) <EOL> product_base_rate = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : rate_card_id , <EOL> '<STR_LIT>' : product_id , <EOL> '<STR_LIT>' : { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : <NUM_LIT> <EOL> } <EOL> } <EOL> base_rates = base_rate_service . createBaseRates ( <EOL> [ product_base_rate ] ) <EOL> if base_rates : <EOL> for base_rate in base_rates : <EOL> print ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( base_rate [ '<STR_LIT:id>' ] , <EOL> base_rate [ '<STR_LIT>' ] [ '<STR_LIT>' ] , <EOL> base_rate [ '<STR_LIT>' ] [ '<STR_LIT>' ] ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client , PRODUCT_ID , RATE_CARD_ID ) </s>
