If we change the google_ad_width value, in horizontal link unit for instance, this can be regarded as a code modification and then is it against TOS? Or should I ask Google about this?
IF you change the value at ALL -- even a single digit, it's considered code modification. You need to comply with the sizes they have, those are the only allowed formats.