Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-12 Thread opalepatrick
Well this morning twice I got
'ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector',
then the third time, it worked (this is a re-created report via the
API), still working.

However, I also cannot get a report because $user->LogAll(); gives me
a fatal error, $user->LogDefaults(); does not. I have checked and
double-checked the includes and paths to Logger.php but get this error
no matter what on more than one report. I appreciate this may be an
unrelated matter, but as I am getting totally sporadic behaviour, and
I cant get a SOAP XML...?


On Aug 11, 8:07 pm, Kevin Winter  wrote:
> Hi,
>   The README has instructions on how to do 
> it:http://code.google.com/p/google-api-adwords-php/source/browse/trunk/R...
>
> - Kevin

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-12 Thread John Lawson
Hi Daniel thank you for the response

The Error message is " Must specify a client in order to do traffic
estimates. "

I used My MCC email address as both 'email' and 'clientemail'
fields.

I also tried to set this mail in each of this fields separately, but
this also failed with error.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


SandBox connection

2011-08-12 Thread Mouloud Zennadi
After installing php as environnmentale variable, i move the file
php.exe on the folder where is my librarie (v200909), and it seems to
change some things, because befor i had got the following message:

'php' is unknown as internal commande or external, or as executable
program or as file command

And know i've got the following message:

Fatal error: Call to undefined function curl_init<> in C:\users\Seven
\aw_api_php_lib_2.6.3\src\Google\Api\Ads\Common\Util\CurlUtils.php on
line 48

So i suppose that the connection is almost establish, but i search in
CurlUtils.php and i don't find the reason of this undefined variable,
that has a link with auth.ini and setting.ini ??

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Getting a criterion's actual serving status (whether blocked at adGroup or campaign level)

2011-08-12 Thread jstedman
This cannot be achieved by one call per criteria.

You could get the Campaign.status, AdGroup.status, Keyword.status all
at the same time by downloading a keyword performance report and
including "AdGroupStatus", "CampaignStatus", "Status" in your report.
This however does not include the Campaign.servingStatus which also
could prevent a criterion from being eligible for bidding.

Since it is likely that you probably have 100s of keywords in each
campaign, you could assemble a list of CampaignIds from the keyword
performance report and make only one call per campaign then map the
servingStatus to each keyword.

Defining a report only requires a single API call, then by using a
sliding date scale of the last seven days, you could reuse this same
report every day and not get charged any further units as long as you
save the reportDefinitionId. Then if you have say... 100 campaigns
with a total of 10 keywords, you only need to make 1 initial
report definition request, then 100 API calls total to get the
complete status at all levels for each of your keywords.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Predicate Adding and removing Programtically

2011-08-12 Thread Sajan Maharjan
HI,

I have been using Google API for .NET client for quite a time. 

Now, i am facing a problem with predicates.
After we define all the predicates, we actually need to assign them to the 
selector.
like

selector.predicates = new Predicate[] {adGroupPredicate, campaignPredicate};

But lets say we want to add a new predicate programatically.

like append it to the already coded code, seen above.

The API doesnt show any code for appending in new predicates 
programatically.

Moreover, if in the middle of the runtime, we do not want to include the   
adGroupPredicate, then how do we remove it from the declared code.

My main concern is that I want to assign the predicates programatically, 
according to some conditions. But i cant seem to populate them in runtime. 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-12 Thread Kevin Winter
Hi,
  To save time, how about you just send me the php code that is defining the 
report definition?  I should be able to reconstruct how the report should 
look like from that and attempt to reproduce.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: RE: Account Access

2011-08-12 Thread Kevin Winter
Hi,
  Unfortunately, this is not possible for users, only for accounts managed 
by the MCC: 
http://code.google.com/apis/adwords/docs/reference/latest/ServicedAccountService.html

- Kevin Winter
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


Get All Keywords from an existing Ad Group

2011-08-12 Thread Joseph Ng.
Hi,

Is there any PHP script to get all keywords from an existing Ad Group?

Thanks in advance :)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Downloading UI reports via API is not supported - will give error ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT

2011-08-12 Thread Kevin Winter
Recently, we made changes that prevent reports that have been defined in the 
UI from being downloaded via the API.  Previously, it was possible to define 
a report via the UI, retrieve the ReportDefinition via the API and download 
it via the API.  Additionally, in the coming weeks reports defined in the UI 
will no longer be returned by ReportDefinitionService.get() and reports 
defined in the API will not appear in the UI.  These changes are being made 
to ensure that report data is returned consistent in our different 
environments.

Currently, if you try to download a report defined in the UI via the API you 
will receive the error ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT. 
 The invalid field refers to a field that is available via the UI but not 
via the API.

If you are affected by this change, please redefine your reports via the API 
and use these moving forward.

- Kevin Winter
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-12 Thread Kevin Winter
We have an update for this issue:

https://groups.google.com/forum/#!topic/adwords-api/sHvSoAQTy54

- Kevin Winter
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: ReportDefinitionError - Simple Campaign Report

2011-08-12 Thread Kevin Winter
We have an update for this issue:

https://groups.google.com/forum/#!topic/adwords-api/sHvSoAQTy54

- Kevin Winter
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: Cost of using the AdWords API to manage ads and keywords

2011-08-12 Thread timp
You may also think about using the CustomerSyncService.
Seems to work well.

In the past there were all sorts of tangential problems to using the Reports 
for info retrieval (file size clipping (which there is was a hack around), 
long execution time, google sometimes would (occurred just a few days ago.. 
again...) send back malformed data, general google failure [especially on 
the first of the month]), but there was no other option.

Maybe all these problems have been resolved though.

-tim

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Intermittent NOT_ADS_USER error message

2011-08-12 Thread Eric Koleda
Hi Yaron,

I'll work with the core engineering team to see if I can more information 
about the cause these errors, as your requests seem to fine.

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


[Docs] selecting UserListMembershipStatus for Criterion in CampaignCriterionService

2011-08-12 Thread Wilrik Mook
Dear team,

Adding the field "UserListMembershipStatus" to the selector in the 
CampaignCriterionService generates a "SelectorError.INVALID_FIELD_ NAME" 
exception. For the AdGroupCriterionService, which uses the same Criterion 
classes, it succeeds without exception. Could you look into this?

Regards,

Wilrik
050media

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-12 Thread khanh
This does NOT solve my problem.
The UI report has a column called Phone Cost.
I can not retrieve Phone Cost (it's not a field available)  from the
API and must generate the column/report via the UI.

Why should retrieving the report which is XML break?

If i manually save the XML file from the UI and import it manually it
still works.
The idea was to have the API automatically download the UI report.




On Aug 12, 7:22 am, Kevin Winter  wrote:
> We have an update for this issue:
>
> https://groups.google.com/forum/#!topic/adwords-api/sHvSoAQTy54
>
> - Kevin Winter
> 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


TrafficEstimatorService getting zero values for lowerCPC, upperCPC....

2011-08-12 Thread prashant
Hi,
I am using trafficEstimatorService and when I try to get estimates for
a list of keywords. Most of  them are returned with zero values for
lower CPC, upper CPC, Lower Clicks per Day and Upper Clicks per Day.
e.g.
Keyword:MAP QUEST DRIVING DIRECTIONS
Lower Avg. Position: 1.0
Upper Avg. Position: 3.0
Lower CPC:0.0
Upper CPC:0.0
Lower Clicks per day:0.0
Upper Clicks per day:0.0

What does this data means?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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