<s> """<STR_LIT>""" <EOL> import uuid <EOL> from googleads import dfp <EOL> ADVERTISER_COMPANY_ID = '<STR_LIT>' <EOL> AGENCY_COMPANY_ID = '<STR_LIT>' <EOL> def main ( client , advertiser_company_id , agency_company_id ) : <EOL> contact_service = client . GetService ( '<STR_LIT>' , version = '<STR_LIT>' ) <EOL> advertiser_contact = { <EOL> '<STR_LIT:name>' : '<STR_LIT>' % uuid . uuid4 ( ) , <EOL> '<STR_LIT:email>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : advertiser_company_id <EOL> } <EOL> agency_contact = { <EOL> '<STR_LIT:name>' : '<STR_LIT>' % uuid . uuid4 ( ) , <EOL> '<STR_LIT:email>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : agency_company_id <EOL> } <EOL> contacts = contact_service . createContacts ( [ advertiser_contact , <EOL> agency_contact ] ) <EOL> for contact in contacts : <EOL> print ( '<STR_LIT>' <EOL> % ( contact [ '<STR_LIT:id>' ] , contact [ '<STR_LIT:name>' ] ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client , ADVERTISER_COMPANY_ID , AGENCY_COMPANY_ID ) </s>
