Will do.
Thanks for your advice.
> In the meantime, if you could enclose the API request in a try-catch block
> and clear the cache on error. See below for example cache clearing:
>
> Authtoken.Cache.Clear();
> (user.Config as AdwordsAppConfig).Authtoken = null;
> // obtain a new service obje
Here you are:
>
>
I got that error every 2 weeks. Received an email from API Team in June
2012 that advised me to add one more line into the source code (I'm using
.NET client library)
Hi Minh,
AdWords API .NET library caches authTokens, and reuse them, it doesn't
create a new authToken everytime you create a n
I got that error every 2 weeks. Received an email from API Team in June
2012 that advised me to add one more line into the source code (I'm using
.NET client library)
Hi Minh,
AdWords API .NET library caches authTokens, and reuse them, it doesn't
create a new authToken everytime you create a n
I got that error every 2 weeks. Received an email from API Team in June
2012 that advised me to add one more line into the source code (I'm using
.NET client library)
Hi Minh,
AdWords API .NET library caches authTokens, and reuse them, it doesn't
create a new authToken everytime you create a n
I re-post this question again after months of waiting for a solution:
I use a Windows service to hourly update the targets for a list of about 15
accounts consist of hundreds of campaigns.
I always get this error after 2 weeks of running the service, which was
written by C# and .NET using the .
AdWords API Advisor.
>
> On Tuesday, 24 April 2012 00:36:28 UTC+5:30, Minh Le wrote:
>>
>> I've got this error in 3 days since April 20:
>>
>> System.NullReferenceException: Object reference not set to an instance of
>> an object.
>> at
&
I've got this error in 3 days since April 20:
System.NullReferenceException: Object reference not set to an instance of
an object.
at
Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.IsCookieInvalidError(AdWordsApiException
awapiException)
at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.ShouldRe
= 3;
>
> Hope this helps. Let me know if you have more questions.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Wednesday, 7 March 2012 06:14:04 UTC+5:30, Minh Le wrote:
>>
>> I got this error even when I'm coding as what the API sampl
I got this error even when I'm coding as what the API samples do after 2
weeks of running the .NET web app:
Google.Api.Ads.AdWords.Lib.
AdWordsApiException:
An API exception has occurred. See ApiException and InnerException fields
for more details.
---> System.Web.Services.Protocols.SoapExcept
I got this error even when I'm coding as what the API samples do after 2
weeks of running the .NET web app:
Google.Api.Ads.AdWords.Lib.AdWordsApiException:
An API exception has occurred. See ApiException and InnerException fields
for more details.
---> System.Web.Services.Protocols.SoapExcepti
Alex:
Please be notified that you have to remove unwanted targets
before adding the new ones. You cannot use operator SET
to update targets for CampaignCriterionOperation.
On Jan 17, 10:01 am, Minh Le wrote:
> Don't try to use ProximityTarget when it is not supported in v201109.
>
roDegrees = xxx;
newTarget.geoPoint = geoPoint;
newTarget.radiusDistanceUnits =
ProximityDistanceUnits.KILOMETERS;
newTarget.radiusInUnits = xxx;
On Jan 13, 7:27 pm, Alex Tran wrote:
> Hi Minh Le,
> Do you know how to add each of the proximity targets to each of th
- Create a list of Proximity
- Create a list of CampaignCriterion, add each of the proximity
targets to each of the CampaignCriterion
- Use this function (C#)
public static void addCampaignCriteria(AdWordsUser user,
long campaignId, CampaignCriterion[] criteria,
CampaignCriterionService campaignCr
Just need to change how you do the user authentication.
- v200909
AuthToken authToken = new AuthToken(email, password);
string token = authToken.GetToken();
CampaignTargetService service = new
CampaignTargetService();
service.Url = x
Anash,
I did solve the issue. The main reason was that I did not remove the
old criteria before adding the new ones. I've updated the question in
a new thread today:
http://groups.google.com/group/adwords-api/browse_thread
/thread/863f2b9567fb13f7/7cbdf54fafc2a73c#7cbdf54fafc2a73c
Please help me
newTarget.radiusDistanceUnits =
ProximityDistanceUnits.KILOMETERS;
newTarget.radiusInUnits = radii;
} //end while
)
On Jan 9, 2:19 am, "Anash P. Oommen"
wrote:
> Hi Minh Le,
>
> The new IDs should have pre
temp.criterion.id,
temp.criterion.CriterionType);
}
}
else
{
Console.WriteLine("No campaign criteria were
added.");
}
}
catch (Exception ex)
{
Logger.L
Could anyone help me solve this issue in urgent?
http://groups.google.com/group/adwords-api/browse_thread/thread/cf278...
Now I'm doing this process:
- get all the criteria of a campaign
- delete those criteria
- add new criteria to the campaign
The criteria includes Language, Location and Pr
Could anyone help me solve this issue in urgent?
http://groups.google.com/group/adwords-api/browse_thread/thread/cf278...
Now I'm doing this process:
- get all the criteria of a campaign
- delete those criteria
- add new criteria to the campaign
The criteria includes Language, Location and Pr
Could anyone help me solve this issue in urgent?
http://groups.google.com/group/adwords-api/browse_thread/thread/cf27839990fe67b2
Now I'm doing this process:
- get all the criteria of a campaign
- delete those criteria
- add new criteria to the campaign
The criteria includes Language, Locatio
The language id (1002, for example) is different from the criteria id.
You cannot delete any criterion without providing a criterion id.
You can follow these steps:
- get all criteria of a campaign
- look for the criterion that has criterionType is "Language",
language id is the id you want to del
Same as my issues.
http://groups.google.com/group/adwords-api/browse_thread/thread/cf27839990fe67b2
On Jan 5, 5:54 am, sudhansu ray wrote:
> Dear team.
> we are trying to use adwords java api with new version V201109,
> But here we are facing so many issues.
> 1)we want to pause all campaigns
Here are my questions:
http://groups.google.com/group/adwords-api/browse_thread/thread/cf27839990fe67b2
On Jan 5, 9:18 am, Minh Le wrote:
> How can I remove the criteria when I don't know the criterion Id? I
> did post a question so far but I still have not received any answer.
&g
How can I remove the criteria when I don't know the criterion Id? I
did post a question so far but I still have not received any answer.
On Dec 12 2011, 8:50 am, Kevin Winter wrote:
> Hi Neha,
> The problem is the SET operator. Since these used to be CampaignTargets
> in a list, the only way
Could s/b help me on this issue?
On Dec 30 2011, 11:44 am, Minh Le wrote:
> Anash,
>
> I don't know if I was wrong, but I want to clarify the situation:
>
> -with API v200909:
>
> LanguageTargetList languageTargetList
ation criteria, so I'll have 301 operations? I think that was the
reason I got the error EntityCountLimitExceeded.CAMPAIGN_LIMIT but I
don't know how to solve the problem.
The above code was written based on
AddCampaignTargetingCriteria.cs in v201109 package samples.
On Dec 30
Thanks for recommendation. I'll try it.
On Dec 30, 2:46 am, Evgeniy Bogdanov wrote:
> You can change your code for cache Location Ids in the database for
> already known IDs...
> This will be faster and cheaper.
>
> Regards,
> Evgeniy.
>
> On
Hi Anash,
Did you mean I have to remove all the old criteria before adding the
new one? How to know which one is unwanted? For each campaign, I have
over 100 proximity criteria and over 200 location criteria. I run a
timing schedule to update the campaign hourly.
I did tried to do the removing;
I got the same problem with you.
As I already knew by doing searching on the internet,
CampaignCriterionOperation only supports ADD and REMOVE even though it
has SET operator. So that, I'm facing a critical error,
EntityCountLimitExceeded.CAMPAIGN_LIMIT, when I added the criteria to
CampaignCriter
Thanks for your reply.
I'm using .NET & C#. I've got the solution from the similar example in
the API package. However, it's so painful when I have to look up for
over 100 location ids for each campaign!
public static void Main(string[] args)
{
Location loc = new Location();
string st
How to find the criteriaId of a city if I know the city name?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received
I used CampaignCriterionOperation to add criteria to the campaigns.
However, when I used Operator.SET, I got error messages like
OperatorError.OPERATOR_NOT_SUPPORTED. Then I changed to Operator.ADD,
and then I got errors messages like
EntityCountLimitExceeded.CAMPAIGN_LIMIT after running the servi
I got this error when running the application in debug mode:
System.InvalidOperationException: Response is not well-formed XML. ---
> System.X
ml.XmlException: Data at the root level is invalid. Line 1, position
1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReade
I've got the solution.
On Dec 21, 4:06 pm, Minh Le wrote:
> I am doing migration from Google Adwords API v200909 to v201109. Now I
> have some troubles with my code in a .NET project:
>
> private void StoreCampaignInDB(string campaign_email, string
> campaign_password, str
HI Claudio,
Could you send me the source code you used to get CampaignPage
(page.entries)? I'm facing the same problem with my project.
On Dec 20, 11:13 am, Carballal Claudio wrote:
> Thank You!! I was using "clientId" instead "clientCustomerId". Now it
> works perfectly.
>
> Thanks again to al
I am doing migration from Google Adwords API v200909 to v201109. Now I
have some troubles with my code in a .NET project:
private void StoreCampaignInDB(string campaign_email, string
campaign_password, string clientEmail, int AccountID, StringBuilder
sDailyReport)
{
try
37 matches
Mail list logo