<s> """<STR_LIT>""" <EOL> import uuid <EOL> from googleads import dfp <EOL> ACTIVITY_GROUP_ID = '<STR_LIT>' <EOL> def main ( client , activity_group_id ) : <EOL> activity_service = client . GetService ( '<STR_LIT>' , version = '<STR_LIT>' ) <EOL> daily_visits_activity = { <EOL> '<STR_LIT:name>' : '<STR_LIT>' % uuid . uuid4 ( ) , <EOL> '<STR_LIT>' : activity_group_id , <EOL> '<STR_LIT:type>' : '<STR_LIT>' <EOL> } <EOL> custom_activity = { <EOL> '<STR_LIT:name>' : '<STR_LIT>' % uuid . uuid4 ( ) , <EOL> '<STR_LIT>' : activity_group_id , <EOL> '<STR_LIT:type>' : '<STR_LIT>' <EOL> } <EOL> activities = activity_service . createActivities ( [ <EOL> daily_visits_activity , custom_activity ] ) <EOL> for activity in activities : <EOL> print ( '<STR_LIT>' <EOL> '<STR_LIT>' % ( activity [ '<STR_LIT:id>' ] , activity [ '<STR_LIT:name>' ] , activity [ '<STR_LIT:type>' ] ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> dfp_client = dfp . DfpClient . LoadFromStorage ( ) <EOL> main ( dfp_client , ACTIVITY_GROUP_ID ) </s>
