AdWords API Re: AdScheduling API usage

2008-12-08 Thread rashmi

Hi,

I got the error information. So, you can ignore my earlier mail.
Thanks for your replies.


On Dec 8, 5:32 pm, rashmi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the link.
>
> The error I am getting is:
> AdWords API Error(s):
>   Violation #0
>       Code: 29
>       Detail: Cannot target locations within this country.
>       Is Exemptable: false
>       Field: geoTargeting
>       Index: 0
>       Text Index:
>       Text Length:
>       Trigger: MM
>
> Can you let me know what is MM in trigger field?
> Also, the adwords editor give an explanatory message compared to the
> API error message.
>
> Thanks,
> rashmi
>
> On Dec 5, 9:19 pm, AdWords API Advisor <[EMAIL PROTECTED]>
> wrote:
>
> > Hello Rashmi,
>
> >  Without more information from you, I can't tell you much more than
> > what the error message suggests--you're trying to target a location
> > within a country, and AdWords doesn't think it's valid.
>
> >  There's a general overview of geo-targeting restrictions at
>
> >  http://code.google.com/apis/adwords/docs/developer/GeoTarget.html
>
> > but without seeing a log or some sample code illustrating what you're
> > doing, or the full SOAP fault (which may contain a detail element
> > describing what the invalid target was), I can't tell you what's going
> > wrong spefically.
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Dec 5, 3:17 am, rashmi <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > While I am using the ad scheduling API, I got the error as "Cannot
> > > target locations within this country.”
>
> > > Can you let me know the reason for this as I was not able to get any
> > > information related to this?
>
> > > Thanks,
> > > rashmi
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: AdScheduling API usage

2008-12-08 Thread rashmi

Hi,

Thanks for the link.

The error I am getting is:
AdWords API Error(s):
  Violation #0
  Code: 29
  Detail: Cannot target locations within this country.
  Is Exemptable: false
  Field: geoTargeting
  Index: 0
  Text Index:
  Text Length:
  Trigger: MM

Can you let me know what is MM in trigger field?
Also, the adwords editor give an explanatory message compared to the
API error message.

Thanks,
rashmi

On Dec 5, 9:19 pm, AdWords API Advisor <[EMAIL PROTECTED]>
wrote:
> Hello Rashmi,
>
>  Without more information from you, I can't tell you much more than
> what the error message suggests--you're trying to target a location
> within a country, and AdWords doesn't think it's valid.
>
>  There's a general overview of geo-targeting restrictions at
>
>  http://code.google.com/apis/adwords/docs/developer/GeoTarget.html
>
> but without seeing a log or some sample code illustrating what you're
> doing, or the full SOAP fault (which may contain a detail element
> describing what the invalid target was), I can't tell you what's going
> wrong spefically.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Dec 5, 3:17 am, rashmi <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > While I am using the ad scheduling API, I got the error as "Cannot
> > target locations within this country.”
>
> > Can you let me know the reason for this as I was not able to get any
> > information related to this?
>
> > Thanks,
> > rashmi
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API help with keyword reports for single campaigns

2008-12-08 Thread rgg

I am using the APIlity PHP Library and have left numerous posts on the
APIlity Forum but have had no replies for days.  I am hoping someone
in this forum may be able to help.

I am trying to generate keyword reports for one campaign at a time
but cannot get it to work.  I either get a report with all
campaigns for a client or I get a blank report.  If I have
$isCrossClient set to true, I get all campaigns, if its set to false
I
get none.  Does anyone know what I am doing wrong?  Thanks

$xmlReport = getKeywordXmlReport(
  $reportname,
  $startDay,
  $endDay,
  $selectedColumns,
  $aggregationTypes,
  $campaigns = array('16762329'),
  $campaignStatuses = array(),
  $adGroups = array(),
  $adGroupStatuses = array(),
  $keywords = array(),
  $keywordStatuses = array(),
  $adWordsType = 'SearchOnly',
  $keywordType = 'Broad',
  $isCrossClient = false,
  $clientEmails = array($client_email),
  $includeZeroImpression = false,
  $sleepTime = 30,
  $validateFirst = true,
  $onlyReturnDownloadUr = false
);

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: help with keyword reports for single campaigns

2008-12-08 Thread Tomac

Hi rgg,

Please see http://groups.google.com/group/adwords-api-php/msg/71175836fe04e30e.

Cheers,
Tom

--
Thomas Steiner
http://blog.tomayac.de
mailto:tomac AT google DOT com


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Java API change ClientEmail

2008-12-08 Thread AdWords API Advisor

Hello David,

 By default, the AdWordsUser object's constructor will read all header
information, including the clientEmail, from the information stored in
the ~/adwords.properties file. However, you can use one of the other
constructors to create an instance of the object that has credentials
set however you'd like, including using an alternate clientEmail. The
attributes of an existing AdWordsUser object are final, so you can't
simply modify an existing object.

 The most straight forward constructor to use for this purpose would
probably be

  public AdWordsUser(String email, String password, String clientId,
String useragent, String developerToken, String applicationToken)

Once you've created an AdWordsUser object with the clientEmail header
set to what you want, you can call getService() on it to retrieve an
appropriate SOAP service proxy object that will use the specific
headers you set.

Cheers,
-Jeff Posnick, AdWords API Team


On Dec 7, 5:43 am, david <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm looking form the method to change clientEmail connection.
>
> For now i'm able to connect, but my application is managing several
> account and I would like to change as I wish the clientemail account.
>
> In phpp the is a function call setClientEmail(). But I do ot find it
> in Java.
>
> Could you give me a code sample or doc to do it?
>
> Thanks in advance for your help.
>
> Regards
>
> David
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Is .NET client really v13 already?

2008-12-08 Thread AdWords API Advisor

Hello Andy,

 Yes, v13 is supported, but there are a few changes that you need to
make to the source code or else v12 will be used. Those changes are
outlined in the README file:

  
http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/README?r=39

Specifically:

The client library normally defaults to a single version (i.e. v12).
However, it may support more than one version at a time. In order to
use a different version of API the following updates should be made.
In src/lib/AdWordsUser.cs, update the following lines with the desired
version.
using com.google.api.adwords.vXX;
const String LAST_VERSION = "vXX";
const int MAX_WEB_SERVICES = XX;
Also, in src/examples/Examples.cs, update the following line with the
desired version.
using com.google.api.adwords.vXX;

Cheers,
-Jeff Posnick, AdWords API Team


On Dec 7, 11:19 am, Andy <[EMAIL PROTECTED]> wrote:
> Hi,
> I downloaded "google-api-adwords-dotnet" client for .NET that should
> support v13, but I can't get it working.
> I get an exception when I want to initialize a user:
>
> System.ArgumentException : Object of type
> 'com.google.api.adwords.v12.email' cannot be converted to type
> 'com.google.api.adwords.v13.email'
>
> I think the problem is that lib.AdWordsUser supports only v12, because
> when I dive into it's code its using:
>
> using com.google.api.adwords.v12;
>
> .. so now I don't understand, does it really supports v13 or not?
>
> PS: I initizalize the user like this: AdWordsUser user = new
> AdWordsUser("v13");
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: what regex validates displayUrl?

2008-12-08 Thread AdWords API Advisor

Hello Rohit,

 Yep, I just don't think there's anything specific that I can
recommend--even if there is a current regex that's being used on the
server-side, it's definitely subject to change, and using the methods
that we provide for checking ads and criteria before submission is the
only way to be sure that all requirements are meant before trying to
upload them.

 But, if you want to impose some general checking on your end, here
are a few relevant links describing some policies that you should
comply with, which should be current as of now:

  https://adwords.google.com.au/support/bin/answer.py?answer=6314
  
http://adwords.google.com/support/bin/static.py?page=guidelines.cs&topic=9271&subtopic=9280

Cheers,
-Jeff Posnick, AdWords API Team


On Dec 7, 11:35 am, Rohit <[EMAIL PROTECTED]> wrote:
> Jeff:
>
> Seems like Nick would want to validate this on the client side even
> before sending it to the server.
>
> If the checkAds() method internally used regex to validate each
> property in the Ad definition, it would be useful to open that up to
> API users (including us) so they can preform client side validation
> before submitting a request to the AdWords API server(s). Agreed that
> this wouldn't be a 'catch all' validation but some level of client
> side validation (before submission to the server) almost always
> improves user experience.
>
> - Rohit
>
> On Dec 4, 8:09 am, AdWords API Advisor <[EMAIL PROTECTED]>
> wrote:
>
> > Hello Nick,
>
> >  I don't have a catch-all regex for you, but I'd recommend that you
> > make use of the checkAds() and checkCriteria() methods to validate
> > your ads and criteria (or at least a subset of them that you think
> > might have issues) before trying to upload them. The methods cost a
> > fraction of what a request to add the ads or criteria costs, and they
> > should flag policy errors or any other type of issue that would
> > prevent them from being accepted.
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Dec 3, 11:16 pm, Nick Retallack <[EMAIL PROTECTED]> wrote:
>
> > > What regular expression should I use to ensure my ad has a valid
> > > displayUrl before I waste API points trying to upload it?- Hide quoted 
> > > text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Download reports

2008-12-08 Thread MFinette

Hello,

is it possible to download reports without knowing the ID?
e.g. our customer creates a report by himself. This report gets an id.
How can we download this report without knowing the ID? Is it possible
to create a report which is always updated under the same ID so that
we can set this ID in our program as a constant value?

Greetings
Manfred Finette
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Re: Download reports

2008-12-08 Thread AdWords API Advisor

Hello Manfred,

 No, it's not possible to create a report with the AdWords web
interface that always has the same id. Each report you create, either
from the web interface or from the AdWords API, will have a unique id
assigned to it.

 If you call the ReportService.getAllJobs() method you'll get a list
of all active reports (i.e. the most recent 15) currently in the
account's Report Center, regardless of whether they were scheduled via
the web interface or the AdWords API. However, it's not always easy to
determine from that output which job might have been the most recent
one scheduled via the web interface and which ones might be older. The
surest way to download the correct report using the AdWords API is to
schedule that report using the AdWords API, and grab the correct id at
the time the report is scheduled.

Cheers,
-Jeff Posnick, AdWords API Team


On Dec 8, 11:06 am, MFinette <[EMAIL PROTECTED]> wrote:
> Hello,
>
> is it possible to download reports without knowing the ID?
> e.g. our customer creates a report by himself. This report gets an id.
> How can we download this report without knowing the ID? Is it possible
> to create a report which is always updated under the same ID so that
> we can set this ID in our program as a constant value?
>
> Greetings
> Manfred Finette
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---