<s> """<STR_LIT>""" <EOL> from googleads import dfp <EOL> TEAM_ID = '<STR_LIT>' <EOL> USER_IDS = [ '<STR_LIT>' ] <EOL> def main ( client , team_id , user_ids ) : <EOL> user_team_association_service = client . GetService ( <EOL> '<STR_LIT>' , version = '<STR_LIT>' ) <EOL> user_team_associations = [ ] <EOL> for user_id in user_ids : <EOL> user_team_associations . append ( <EOL> { <EOL> '<STR_LIT>' : team_id , <EOL> '<STR_LIT>' : user_id <EOL> } ) <EOL> user_team_associations = ( <EOL> user_team_association_service . createUserTeamAssociations ( <EOL> user_team_associations ) ) <EOL> if user_team_associations : <EOL> for user_team_association in user_team_associations : <EOL> print ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( user_team_association [ '<STR_LIT>' ] , <EOL> user_team_association [ '<STR_LIT>' ] ) ) <EOL> else : <EOL> print '<STR_LIT>' <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client , TEAM_ID , USER_IDS ) </s>
