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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to