Keyword search volume

2011-08-05 Thread manu
Hello,

I am new to the google adwords API, I am facing problem with the
search keyword volume. Example I search a keyword "PHP" the API does
not return the search volume for "PHP" keyword . API returns all the
related keywords with correct search volume.

I  have checked the API code "GetRelatedKeywords.php" file but I am
not able to find out the code there to search main keyword .The
complete code is for related keywords only. I am using version
v201008 .

I would be thank full for your kindness.


Thanks & Regards
Mohan Singh

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Not able to get all clientsId under MCC account

2011-08-05 Thread Sachin
can u please send source code here.

On Jul 12, 11:13 pm, Chirag  wrote:
> Hi,
> I want all clientsId under MCC account, and than fom clientid all
> campaignIds under one client.
> But, when i try to run example GetAccountHierarchy.php. It always
> shows me "No serviced accounts were found."
>
> I am using sandbox environment for testing this examples.
>
> Thanks,
> Chirag

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Not able to get all clientsId under MCC account

2011-08-05 Thread Chirag
Hi Sachin,
Its problem with API.
Eric has solved issued. Now i am getting desired output.
http://code.google.com/p/google-api-adwords-php/issues/detail?id=62

Thanks,


On Aug 5, 3:14 pm, Sachin  wrote:
> can u please send source code here.
>
> On Jul 12, 11:13 pm, Chirag  wrote:
>
>
>
>
>
>
>
> > Hi,
> > I want all clientsId under MCC account, and than fom clientid all
> > campaignIds under one client.
> > But, when i try to run example GetAccountHierarchy.php. It always
> > shows me "No serviced accounts were found."
>
> > I am using sandbox environment for testing this examples.
>
> > Thanks,
> > Chirag

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: UseOAuth in the Example of PHP SDK

2011-08-05 Thread Chirag
Hi Doug,
You can tryout sample webapp. There they have used oauth for
verification.
http://code.google.com/p/google-api-adwords-php/source/browse/apps/sample-webapp/public/login.php

You need to persist the OAuth token and token secret between requests,
for instance in the PHP session.

On Aug 5, 10:11 am, Doug  wrote:
> Hi dave when I comment out email and password I get this error:
>
> Validation failed for [email] with value []: email is required and cannot be
> NULL.null

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: PHP-client lib generates invalid XML - namespace prefix xsi for type on XXX is not defined

2011-08-05 Thread Pavel Saatov
Solved.
The problem was in php settings on the server-side.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: API setup I always get error that client must be specified

2011-08-05 Thread AdWords API Advisor
Hello John,


What exactly is the error message you are getting? Are you specifying your 
MCC email as 'email' field?


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Adwords API and account restore

2011-08-05 Thread AdWords API Advisor
Hello meet,


What exactly do you mean by 'restoring the account'?


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Adword Account Restore through account structure report

2011-08-05 Thread AdWords API Advisor
Hello meet,


This is only possible if you write the code required to convert the XML data 
you have to API requests. AdWords API has no 'revert' functionality.


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Adwords API and account restore

2011-08-05 Thread AdWords API Advisor
Locking as duplicate thread of: 
https://groups.google.com/forum/?pli=1#!topic/adwords-api/PAP3HxISO80

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Bug in AdWords Campaign management table.

2011-08-05 Thread AdWords API Advisor
Hello Tom,


This forum is for AdWords API discussions. Thank you for your feedback but I 
suggest logging the issue on the AdWords forum instead:

  http://www.google.com/support/forum/p/AdWords


-Danial, AdWords API Team.
  

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ClientID

2011-08-05 Thread Ken Foster
I believe ClientID (or ClientEmail) and Email are two separate things. 
 Email/Password is the authentication, ClientID (or clientEmail) is used to 
determine what account(s) to use in the data set. I don't use OAuth however, 
so I may be talking out of my a$$. But with ClientLogon Authorization that's 
how it works, you need both, Email and ClientID

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How can i determine that given userid is MCC account or non MCC account?

2011-08-05 Thread Sachin
One more question how to get all accounts information under the mcc
account.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How can i determine that given userid is MCC account or non MCC account?

2011-08-05 Thread Ken Foster
Do you have the C# API and Examples? If so, checkout v201101 
GetAccountHierarchy.cs, it uses the ServicedAccountService service to get a 
complete list of accounts under the MCC. One of the properties for each 
account returned is CanManageClients, a true is MCC a false is a normal 
account.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


How can i get all accounts infromation under the MCC account?

2011-08-05 Thread Sachin
How can i get all accounts from MCC account.

Also need the all information like account id and account name for
each account.

please give solution for that.


Thanks and Regards,
Sachin

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How can i get all accounts infromation under the MCC account?

2011-08-05 Thread Ken Foster
I responded to another question you posted, but the answer is the same. Look 
at ServicedAccountService (get). In the C# Example library it is in 
GetAccountHierarchy.cs. You get a complete hierarchy of MCC and client 
accounts with name, id, whether they are MCC or not, the email address 
associated with the account, time zone, and currency code.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: v13 / sunset / mcc 20xx

2011-08-05 Thread timp
Actually now I have two questions:

1.  The "caveat" information for "CampaignChangeData"

Can you give a rough estimate of a result size which would cause a
failure?


2.  Other size related failures:

A. Let's say I requested all the campaign IDs for an account.  (using
campaign service, where selected is just "Id")
B. And Let's say I requested all campaign information for an account
(using campaign service, where selected is everything I can name)

Is B more likely to fail than A?

If B is *not* more likely to fail than A, is this also true for
Adgroups/Ads/Criterion etc?
(In other words, how do you determine when to fail?  Time/size/item
count?)

Thanks,

-tim

On Aug 4, 7:30 pm, timp  wrote:
> Thanks!
>
> Do you have any "caveat" information for "CampaignChangeData"
>
> Are there any conditions where it will refuse to return results? (data
> set too large?)
> I guess if this happens I can revert to iterating over all items, but
> I thought I would ask.
>
> -tim
>
> On Aug 3, 4:24 pm, David Torres  wrote:
>
>
>
> > Hi Tim,
>
> > Unfortunately most of the answers to your questions are not available yet,
> > the report generation will be asynchronous more or less how it is described
> > here
> > .
>
> > Best,
>
> > -David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Adding keywords to exitsting Campaigns/AdGroups/Ads

2011-08-05 Thread Joseph Ng.
Hi,

I am new to Google Adwords API and I have an issue need to be treated.

Sorry for stupid question but how can I add keywords to an existing 
Campaign/Adgroup or Ad using PHP code? I am using v201101.

Please give me a hand. Thanks so much.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: UseOAuth in the Example of PHP SDK

2011-08-05 Thread Doug
Hi Chirag!

Thank you for your suggestion, I am indeed storing them in a PHP session, 
and I've got that part working, I get a response that reads 

OAuth Authentication Successful

So then I store the tokens, but when I instantiate an AdwordsUser object I 
get this:

Validation failed for [email] with value []: email is required and cannot be 
NULL.null

It looks like the auth.ini inside the example app doesn't have an email 
address sent with it, just a developer token. Why do I need to provide the 
email if I'm using OAuth?

Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ClientID

2011-08-05 Thread Doug
Thank you for the response,

I have found this inside the sample oauth app:

http://code.google.com/p/google-api-adwords-php/source/browse/apps/sample-webapp/auth.ini

It seems they don't specify an email inside this file, but when I comment it 
out for some reason I get the error:

Validation failed for [email] with value []: email is required and cannot be 
NULL.null

When I instantiate an AdwordsUser object,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: v13 / sunset / mcc 20xx

2011-08-05 Thread timp
Also, one last question.

Long ago, an adgroup id was unique only to its parent campaign id. (or
at least this is what google said)

Is this still the case?

-tim

On Aug 5, 10:25 am, timp  wrote:
> Actually now I have two questions:
>
> 1.  The "caveat" information for "CampaignChangeData"
>
> Can you give a rough estimate of a result size which would cause a
> failure?
>
> 2.  Other size related failures:
>
> A. Let's say I requested all the campaign IDs for an account.  (using
> campaign service, where selected is just "Id")
> B. And Let's say I requested all campaign information for an account
> (using campaign service, where selected is everything I can name)
>
> Is B more likely to fail than A?
>
> If B is *not* more likely to fail than A, is this also true for
> Adgroups/Ads/Criterion etc?
> (In other words, how do you determine when to fail?  Time/size/item
> count?)
>
> Thanks,
>
> -tim
>
> On Aug 4, 7:30 pm, timp  wrote:
>
>
>
> > Thanks!
>
> > Do you have any "caveat" information for "CampaignChangeData"
>
> > Are there any conditions where it will refuse to return results? (data
> > set too large?)
> > I guess if this happens I can revert to iterating over all items, but
> > I thought I would ask.
>
> > -tim
>
> > On Aug 3, 4:24 pm, David Torres  wrote:
>
> > > Hi Tim,
>
> > > Unfortunately most of the answers to your questions are not available yet,
> > > the report generation will be asynchronous more or less how it is 
> > > described
> > > here
> > > .
>
> > > Best,
>
> > > -David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Anyone else getting incomplete reports?

2011-08-05 Thread jhgd
Yes. We're missing many ads from our ad perf reports, and we're only 
filtering for the previous day, getting ads of all statuses. I've opened a 
ticket with Aaron (Google) about it.

-John

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Criterion User Lists

2011-08-05 Thread David Torres
Hi Michael,

The issue ended up being an error in the documentation, for certain 
technicalities it is not possible to filter by UserListId, we are going to 
be updating the documentation and also make the service return an error if 
that field is used in a predicate.

Best,

-David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Performance Report geo codes instead of English names, and geo codes updates listening

2011-08-05 Thread David Torres
Hi,

Thanks for your feedback, I'll make sure it is heard by the Team.

For 2-1, it is in discussion to have this implemented in the future, I have 
no due dates yet to give unfortunately.

2-2 I'll see what we can do to have an RSS feed for that page, but usually 
we also communicate changes in geo codes in the AdWords API Blog.

Best,

-David Torres - AdWords API Team



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: AdGroupCriterionService to update BiddableAdGroupCriterion

2011-08-05 Thread David Torres
Hi,

Short answer the value will not be updated, neither nullified or blanked.

Long answer, sending sparse request with only the data that you need to 
modify is a best practice, it will reduce the network traffic prevent you 
from reaching payload limits when sending large request of hundreds of 
entities (in this case criteria) and also reduce the processing time in our 
side.

Best,

-David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Interpreting the [], "", -, + modifiers when adding keywords

2011-08-05 Thread David Torres
Hi Stephen,

Stefan is 100% right, you'll need to do the parsing in your side and 
appropiately use NegativeAdGroupCriterion vs. BiddableAdGroupCriterion 
objects in combination with the Keyword.matchType.

Best,

-David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Interpreting the [], "", -, + modifiers when adding keywords

2011-08-05 Thread Stephen Yeargin
That's what I was guessing would be the case. I've navigated around it by 
writing a very simple processor (PHP) to parse a list of keywords and 
attempt to identify the user's intention. Suggestions for improvement 
welcome.

---


static function ProcessExpertKeywordList($keywords) {

// Explode keyword list
$keywords = explode("\n", $keywords);

// If empty, die.
if (empty($keywords))
return false;

foreach ($keywords as $keyword):

// Clean up submitted keyword
$keyword = trim($keyword);
if (empty($keyword)): continue; endif;

// Assume defaults
$match_type = 'BROAD';
$criterion_use = 'BIDDIBLE';

// Example: [foobar]
if (preg_match('/^\[/', $keyword)):
$match_type = 'EXACT';
endif;

// Example: "foobar"
if (preg_match('/^\"/', $keyword)):
$match_type = 'PHRASE';
endif;

// Example: -foobar
if (preg_match('/^-/', $keyword)):
$criterion_use = 'NEGATIVE';
endif;

// Example: -[foobar]
if (preg_match('/^-\[/', $keyword)):
$criterion_use = 'NEGATIVE';
$match_type = 'EXACT';
endif;

// Example: -"foobar"
if (preg_match('/^-\"/', $keyword)):
$criterion_use = 'NEGATIVE';
$match_type = 'PHRASE';
endif;

// Remove the extra markup from the text, build return array
$text = str_replace(array('[',']','"','-'), '', $keyword);
$return[] = array('submitted' => $keyword, 'text' => $text, 
'matchType' => $match_type, 'criterionUse' => $criterion_use);

endforeach;

return $return;

}

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: State/Province list for Location Extension

2011-08-05 Thread Eric Koleda
Hi Luke,

There is certainly more we can do to document the behavior of this service, 
and thank you for bringing up these points.  In regards to your questions:

1) As you've found, it's better to remove the country-code prefix when 
populating the provinceCode.  Although US-NJ works, it's safer to just use 
NJ.  GB-ENG will return an invalid geo location, but just ENG works.

2) The provinceName field should contain the province as you'd like it to be 
displayed in the ad.  For example, "England" instead of ENG.  The province 
code 
pageincludes
 the display name for each province.  You can choose to use either 
"NJ" or "New Jersey" for the province code NJ, however the drop down in the 
UI only seems to work with "NJ".

3) The availability of location extensions is not API specific and is 
documented in the AdWords Help Center: 
http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=144619

4) The MediaService will return all the standard icons if you add a 
predicate for Type EQUALS STANDARD_ICON.  Using a predicate for the MediaId 
doesn't seem to work however, and I'll look into that.

Let me know if you have any other questions.

Best,
- Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Session Expiring

2011-08-05 Thread Doug
I am using the session manager which I found here:

http://code.google.com/p/google-api-adwords-php/source/browse/apps/sample-webapp/lib/SessionManager.php

And i store my AdwordsUser object in it like this:

// Store the AdWordsUser in session.
SessionManager::SetAdWordsUser($user);

But when I try to get out again:

$user = SessionManager::GetAdWordsUser($user);

I see:

Session Expired

It's really strange, I have tried to use my own sessions 
($_SESSION["adwordsUser"]) but it seems to be empty, I have found that I can 
store an oauth request token, have the user authenticate, and then when they 
come back it still exists inside the $_SESSION (after the user has been 
redirected away).

The file is located under Other/UseOAuth.php  (this file is where the token 
seems to be correctly stored) and the request (where I am getting the 
session Expired error) is in v201101/ in a file I made myself. Does the 
adwords library do something with the sessions (perhaps alter the 
session_save_path)?

If sessions aren't the best way to go, how do you suggest I transfer the 
oauth information to my request page?

Thank you!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How can i determine that given userid is MCC account or non MCC account?

2011-08-05 Thread Sachin
Thank you so much Ken,

Got the solution.

Thanks and Regards,
Sachin,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en