Re: Error: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.

2022-12-17 Thread Amitha Shenoy
Yes, i am getting error while creating   var client = new
GoogleAdsClient(); instance . Thanks for assistance. I have posted my
question in the link provided.

On Sat, 17 Dec 2022 at 01:09, Google Ads API Forum Advisor
 wrote:

> Hi Amitha,
>
> Thank you for your reply and for the additional details you have provided.
>
> The "*Method not found: 'System.AppDomainSetup
> System.AppDomain.get_SetupInformation()'.*" error does not appear to be
> an API's service's error and seems to be related to the configuration of
> the client library
> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en> you
> are using.
>
> Based on your code and seeing that you appear to be using this C# example
> <https://developers.google.com/google-ads/api/samples/upload-offline-conversion?hl=en#c>,
> I would recommend that you reach out to their client library owners via
> this link <https://github.com/googleads/google-ads-dotnet/issues>, for
> additional guidance on this error. I hope this helps.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2h3jSU:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CANysAYtjmr6joXF3v7Rj4k2RCYb1fgD4CtcZ5XUG6OoJ1ru5qg%40mail.gmail.com.


Re: Error: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.

2022-12-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Amitha,

Thank you for your reply and for the additional details you have provided.

The "Method not found: 'System.AppDomainSetup 
System.AppDomain.get_SetupInformation()'." error does not appear to be an API's 
service's error and seems to be related to the configuration of the client 
library you are using.

Based on your code and seeing that you appear to be using this C# example, I 
would recommend that you reach out to their client library owners via this 
link, for additional guidance on this error. I hope this helps.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2h3jSU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/X6-4a0RN019M00rmpS8-PiRluAeGvw1vWd0w%40sfdc.net.


Re: Error: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.

2022-12-16 Thread Amitha Shenoy
Used below sample code from this link 
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks 
, public void Run(GoogleAdsClient client, long customerId, long 
conversionActionId,
string gclid, string gbraid, string wbraid, string conversionTime,
double conversionValue)
{
// Get the ConversionActionService. *Here i am getting the error , 
which was mentioned in post*
ConversionUploadServiceClient conversionUploadService =
client.GetService(Services.V12.ConversionUploadService);

// Creates a click conversion by specifying currency as USD.
ClickConversion clickConversion = new ClickConversion()
{
ConversionAction = ResourceNames.ConversionAction(customerId, 
conversionActionId),
ConversionValue = conversionValue,
ConversionDateTime = conversionTime,
CurrencyCode = "USD"
};

// Verifies that exactly one of gclid, gbraid, and wbraid is specified, 
as required.
// See 
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks
// for details.
string[] ids = { gclid, gbraid, wbraid };
int idCount = ids.Where(id => !string.IsNullOrEmpty(id)).Count();

if (idCount != 1)
{
throw new ArgumentException($"Exactly 1 of gclid, gbraid, or wbraid 
is " +
$"required, but {idCount} ID values were provided");
}

// Sets the single specified ID field.
if (!string.IsNullOrEmpty(gclid))
{
clickConversion.Gclid = gclid;
}
else if (!string.IsNullOrEmpty(wbraid))
{
clickConversion.Wbraid = wbraid;
}
else if (!string.IsNullOrEmpty(gbraid))
{
clickConversion.Gbraid = gbraid;
}

try
{
// Issues a request to upload the click conversion.
UploadClickConversionsResponse response =
conversionUploadService.UploadClickConversions(
new UploadClickConversionsRequest()
{
CustomerId = customerId.ToString(),
Conversions = { clickConversion },
PartialFailure = true,
ValidateOnly = false
});

// Prints the result.
ClickConversionResult uploadedClickConversion = response.Results[0];
Console.WriteLine($"Uploaded conversion that occurred at " +
$"'{uploadedClickConversion.ConversionDateTime}' from Google " +
$"Click ID '{uploadedClickConversion.Gclid}' to " +
$"'{uploadedClickConversion.ConversionAction}'.");
}
catch (GoogleAdsException e)
{
Console.WriteLine("Failure:");
Console.WriteLine($"Message: {e.Message}");
Console.WriteLine($"Failure: {e.Failure}");
Console.WriteLine($"Request ID: {e.RequestId}");
throw;
}
}

On Friday, 16 December 2022 at 14:02:43 UTC+5:30 adsapi wrote:

> Hi Amitha,
>
> Thank you for reaching out to us.
>
> For our team to further investigate and validate if the request is done 
> correctly, could you please provide us with the complete API logs (request 
> 
>  and response 
> 
>  with request-id 
> )
>  
> generated on your end?
>
> Note that this can be requested or provided to the developer handling the 
> Google Ads API transactions when logging of the API requests has been 
> enabled. You may check here 
> 
>  
> and click your client library for the specific guideline to enable it.
>
> You may then send the requested logs via the Reply privately to author 
> option. If this option is not available, you may send the details directly 
> to our googleadsa...@google.com alias instead.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2h3jSU:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

RE: Error: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.

2022-12-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Amitha,

Thank you for reaching out to us.

For our team to further investigate and validate if the request is done 
correctly, could you please provide us with the complete API logs (request and 
response with request-id) generated on your end?

Note that this can be requested or provided to the developer handling the 
Google Ads API transactions when logging of the API requests has been enabled. 
You may check here and click your client library for the specific guideline to 
enable it.

You may then send the requested logs via the Reply privately to author option. 
If this option is not available, you may send the details directly to our 
googleadsapi-supp...@google.com alias instead.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2h3jSU:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4vi3l0RMZ6DT00FqPiJLdyQ3qlg0i0cb3i2Q%40sfdc.net.


Error: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.

2022-12-15 Thread Amitha Shenoy
HI 

I am getting this Error
 Method not found: 'System.AppDomainSetup 
System.AppDomain.get_SetupInformation()'. 

when trying to create   service client
ConversionUploadServiceClient 
conversionUploadService = new 
GoogleAdsClient().GetService(Services.V12.ConversionUploadService);


Really appreciate any help ..


Thanks and Regards,
Amitha

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/23c443c0-8c8d-4d4b-b22d-508611cbbcdfn%40googlegroups.com.