Dear Google Support Representative,
Thank you for your help. We were able to connect to Adwords.
However, subsequently we experienced another error.
When our developer tried to add offline conversion to our adwords he received the following error
{"[OfflineConversionError.TOO_RECENT_CLICK @ operations[0].operand]"}
It seems that according to Adwords guidelines, it means that we try to post offline conversion too fast.
In other words, Adwords interface guidelines require us to post it after 24 hours.
This seems like a strange requirement. Maybe we didn't understand it correctly.
It was my impression that posting could be done immediately. It's only reporting lags 3 hours behind.
Any advise would be greatly appreciated,
Thank you
String conversionName = signUp ? "PR_SignUP_IMP" : "PR_SignIN_IMP";
// Conversion time should be higher than the click time.
String conversionTime = DateTime.Local.ToString("yyyyMMdd HHmmss zzz";); //;Double.valueOf("INSERT_CONVERSION_VALUE_HERE";)
Double conversionValue = 50;
Google.Api.Ads.AdWords.Lib.AdWordsUser user = new Google.Api.Ads.AdWords.Lib.AdWordsUser();
// Override specific configuration at runtime.
AdWordsAppConfig config = user.Config as AdWordsAppConfig;
config.ClientCustomerId = "000-111-2222";
config.DeveloperToken = "abracadabraabracadabra";
config.UserAgent = "******* User Managment";
config.AuthorizationMethod = AdWordsAuthorizationMethod.ClientLogin;
config.OAuth2Mode = Google.Api.Ads.Common.Lib.OAuth2Flow.APPLICATION;
config.Password = "****";
OfflineConversionFeedService offlineConversionFeedService = user.GetService(AdWordsService.v201309.OfflineConversionFeedService) as OfflineConversionFeedService;
//Associate offline conversions with the upload conversion we created.
OfflineConversionFeed feed = new OfflineConversionFeed();
feed.conversionName = conversionName;
feed.conversionTime = conversionTime
feed.conversionValue = conversionValue;
feed.googleClickId = gclId;
OfflineConversionFeedOperation offlineConversionOperation =
new OfflineConversionFeedOperation();
offlineConversionOperation.@operator = Operator.ADD;
offlineConversionOperation.operand = feed;
OfflineConversionFeedReturnValue offlineConversionRetval =
offlineConversionFeedService.mutate(
new OfflineConversionFeedOperation[] { offlineConversionOperation });
OfflineConversionFeed newFeed = offlineConversionRetval.value[0];
Console.WriteLine("Uploaded offline conversion value of {0} for Google Click ID = " +
"'{1}' to '{2}'.", newFeed.conversionValue, newFeed.googleClickId,
newFeed.conversionName);