Hi, Is there a way to hardcode the json file into my application for authorization when creating a new AdwordsUser()?
The only field I can find for the json file information is the OAuth2SecretsJsonPath. I do not wish to provide the file with a file name, I would much prefer to hardcode it as a variable. In vb.net: Private Shared ReadOnly _CLIENT_SECRETS_ADWORDSAPP_CONFIG As AdWordsAppConfig = New AdWordsAppConfig() With { .UserAgent = "MyAppName", .OAuth2Scope = "https://www.googleapis.com/auth/adwords", .OAuth2Mode = "SERVICE_ACCOUNT", .OAuth2PrnEmail = "mysuperad...@gsuiteenableddomain.com", .OAuth2SecretsJsonPath = (""), ' --- want to replace this with hardcoded secret .EnableSoapExtension = True, .EnableGzipCompression = True, .IncludeUtilitiesInUserAgent = True } Cheers -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/946c5078-8aa5-4cec-b55e-c1b606409e13%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.