#NEWLINE# def __setattr__( self , name , value ) : #NEWLINE# #INDENT# if ( name == 'account_id' ) : #NEWLINE# #INDENT# if ( value and ( not utils . is_valid_google_account ( value ) ) ) : #NEWLINE# #INDENT# raise ValueError ( 'Given Google Analytics account ID is not valid' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( name == 'campaign' ) : #NEWLINE# #INDENT# if isinstance ( value , Campaign ) : #NEWLINE# #INDENT# value . validate ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# value = None #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# object . __setattr__ ( self , name , value )