Re: Bad authentication: widespread problem for every programmer

2012-03-20 Thread Anash P. Oommen
Hi,

I'd probably check if the script is picking up auth.ini in the first place, 
or whether it is using some default credentials and then complaining about 
bad authentication.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, 19 March 2012 18:10:55 UTC+5:30, programmer77 wrote:
>
> when I run the script getclientcustomerid.php , i get the same 'An error 
> has occurred: Failed to get authToken. Reason: BadAuthentication '  error. 
>
> On Monday, March 19, 2012 11:53:57 AM UTC+5:30, Ewan Heming wrote:
>>
>> I can see that you've got something entered into the clientEmail header; 
>> this is now deprecated to accommodate MCC only accounts with no login 
>> email, so you have to use the clientCustomerId header 
>> instead.
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Request: Need more columns for URL Performance Report

2012-03-20 Thread Anash P. Oommen
Hi Kevin,

Are these values available through the AdWords web frontend reports? If so, 
let me know, I'll ask the reporting team to expose these fields in API too. 
If it isn't, then you may have to request the fields through the general 
AdWords support forum.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, 17 March 2012 02:08:06 UTC+5:30, Kevin wrote:
>
> Hi Anash,
>
> It's not available in that report either.
>
> Thanks,
> -Kevin
>
> On Friday, March 16, 2012 2:47:49 AM UTC-7, Anash P. Oommen wrote:
>>
>> Hi Kevin,
>>
>> Could you try using the Criteria report instead and see if you get 
>> destination URL for deleted keywords?
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Thursday, 15 March 2012 06:04:51 UTC+5:30, Kevin wrote:
>>>
>>> Hi,
>>>
>>> Could we have the following columns in URL Performance Report: Keyword, 
>>> Avg. Position, Max. CPC, First Page CPC, Quality score?
>>> They are available in Keywords Performance Report but that report 
>>> doesn't have destination URL for deleted keywords.
>>>
>>> These columns were available in v13. 
>>>
>>> Thanks,
>>> 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: Filter Search Query Performance report by keywordId?

2012-03-20 Thread Anash P. Oommen
Hi Margaret,

Looks like KeywordId isn't a valid column name in the report you are trying 
to run. The full list of API reports and their fields are available at  
http://code.google.com/apis/adwords/docs/appendix/reports.html. Also, 
filtering in AdWords reports correspond to predicates in AdWords API 
reports. See  
http://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.Predicate.html
  
for details on predicates.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, 20 March 2012 00:03:43 UTC+5:30, mm wrote:
>
> Hey guys -
> Using the adwords web interface, I am able to select a subset of keywords 
> and then request the search queries related to those keywords for a given 
> timeframe. I am trying to duplicate that report via the API, but when I add 
> the KeywordId predicate to the report definition, I get "HTTP_BAD_REQUEST. 
> Error: !!!2|||-1|||ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT @ ; 
> trigger:'KeywordId'???"... without the KeywordId predicate the report runs 
> fine.
>
> What's the secret to getting this report filtered in the same way as 
> through the UI?
>
> Thanks!
> Margaret
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: search word in adwords

2012-03-20 Thread Anash P. Oommen
Hi Carlos,

I think you are asking for valuetrack feature. See  
http://support.google.com/adwords/bin/answer.py?hl=en&answer=2375447&from=178482&rd=1
  
for details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, 19 March 2012 17:51:22 UTC+5:30, Carlos Feliu wrote:
>
> Hi.
> Is there anyway to know which word have searched the user when our adword 
> link has appeared in google search and then the user has clicked the link?
>
> Regards.
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: error using GetKeywordOpportunities

2012-03-20 Thread Anash P. Oommen
Hi Ahmed,

BulkOpportunityService was deprecated, see  
https://groups.google.com/forum/?fromgroups#!searchin/adwords-api/BulkOpportunityService/adwords-api/JNSnZf14KaM/DSDWQKV8Y2sJ
 for 
details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, 18 March 2012 05:38:52 UTC+5:30, ahmed shawkey wrote:
>
> i'm using GetKeywordOpportunities.cs
> AdWordsService.v201109.BulkOpportunityService
>
> when run it i got error saying
> The request failed with HTTP status 404: Not Found.
>
> i don't know why this happened i searched every where and find nothing 
> please help me
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Filter Search Query Performance report by keywordId?

2012-03-20 Thread mm
Hey Anash -
The KeywordId is listed as a valid field for the SearchQueryReport (
http://code.google.com/apis/adwords/docs/appendix/reports.html#search-query), 
and it, along with CampaignId and AdGroupId, are reported just fine without 
any predicate in the ReportDefinition. However, I wanted to create a report 
like the one available in the UI that limited the search queries to those 
related to a specific set of keywords, so I added "IN" predicates for 
CampaignId, AdGroupId, and KeywordId. This was when I received the 
BAD_REQUEST error. I removed the KeywordId predicate, and no longer got the 
error, but then the report was empty. Do predicates work at all for 
SearchQueryReports?

Thanks -
Margaret


On Tuesday, March 20, 2012 5:25:42 AM UTC-5, Anash P. Oommen wrote:
>
> Hi Margaret,
>
> Looks like KeywordId isn't a valid column name in the report you are 
> trying to run. The full list of API reports and their fields are available 
> at  http://code.google.com/apis/adwords/docs/appendix/reports.html. Also, 
> filtering in AdWords reports correspond to predicates in AdWords API 
> reports. See  
> http://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.Predicate.html
>   
> for details on predicates.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Tuesday, 20 March 2012 00:03:43 UTC+5:30, mm wrote:
>>
>> Hey guys -
>> Using the adwords web interface, I am able to select a subset of keywords 
>> and then request the search queries related to those keywords for a given 
>> timeframe. I am trying to duplicate that report via the API, but when I add 
>> the KeywordId predicate to the report definition, I get "HTTP_BAD_REQUEST. 
>> Error: !!!2|||-1|||ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT @ ; 
>> trigger:'KeywordId'???"... without the KeywordId predicate the report runs 
>> fine.
>>
>> What's the secret to getting this report filtered in the same way as 
>> through the UI?
>>
>> Thanks!
>> Margaret
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Application Process Frustration

2012-03-20 Thread adwo...@seonative.de
Please look for the thread

https://groups.google.com/forum/?fromgroups#!topic/adwords-api/TduN7Ssh3uM

I don´t think that Google is still interested in advertisers using the API, 
but Google still requires that you have to invest money and time in the 
development of the API application.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Developer's Token Approval

2012-03-20 Thread adwo...@seonative.de
Please look for the thread

https://groups.google.com/forum/?fromgroups#!topic/adwords-api/TduN7Ssh3uM

I don´t think that Google is still interested in advertisers using the API, 
but Google still requires that you have to invest money and time in the 
development of the API application.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 pending approval, Can I use my developer Token?

2012-03-20 Thread adwo...@seonative.de
Please look for the thread

https://groups.google.com/forum/?fromgroups#!topic/adwords-api/TduN7Ssh3uM

I don´t think that Google is still interested in advertisers using the API, 
but Google still requires that you have to invest money and time in the 
development of the API application.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Request: Need more columns for URL Performance Report

2012-03-20 Thread Kevin Nguyen
Hi Anash,

I could get the destination url for deleted adcopy but not for deleted
keywords on AdWords web frontend.

Thanks,
Kevin

On Tue, Mar 20, 2012 at 3:20 AM, Anash P. Oommen <
anash.p.oommen+fo...@google.com> wrote:

> Hi Kevin,
>
> Are these values available through the AdWords web frontend reports? If
> so, let me know, I'll ask the reporting team to expose these fields in API
> too. If it isn't, then you may have to request the fields through the
> general AdWords support forum.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
>
> On Saturday, 17 March 2012 02:08:06 UTC+5:30, Kevin wrote:
>>
>> Hi Anash,
>>
>> It's not available in that report either.
>>
>> Thanks,
>> -Kevin
>>
>> On Friday, March 16, 2012 2:47:49 AM UTC-7, Anash P. Oommen wrote:
>>>
>>> Hi Kevin,
>>>
>>> Could you try using the Criteria report instead and see if you get
>>> destination URL for deleted keywords?
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Thursday, 15 March 2012 06:04:51 UTC+5:30, Kevin wrote:

 Hi,

 Could we have the following columns in URL Performance Report: Keyword,
 Avg. Position, Max. CPC, First Page CPC, Quality score?
 They are available in Keywords Performance Report but that report
 doesn't have destination URL for deleted keywords.

 These columns were available in v13.

 Thanks,
 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
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Error 411 using Ad Hoc reports v201109

2012-03-20 Thread Lee Harper
Hi Anash,

We are still having this issue, and only with this one user.

Yes, we are using the latest PHP library. Will try capturing the outgoing 
traffic like you suggested.

Thanks

On Friday, March 16, 2012 4:35:15 AM UTC-5, Anash P. Oommen wrote:
>
> Hi Jeremy,
>
> I suspect this has to do with the HTTP request you send out to our 
> servers. Are you using a client library? Could you try capturing the 
> outgoing traffic with an HTTPS proxy and check if you are indeed sending a 
> Content-Length header as part of your request? Fiddler (
> http://www.fiddler2.com/fiddler/help/httpsdecryption.asp) is a proxy 
> that's capable of decrypting HTTPS traffic.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, 15 March 2012 00:44:23 UTC+5:30, Lee Harper wrote:
>>
>> I'm using v201109 to get a campaign performance report.
>>
>> When I download the XML report, it just says:
>>
>> Error 411 (Length Required)!!1
>>
>>
>> *411.* That’s an error.
>> POST requests require a Content-length header. That’s all we know.
>>
>> Any idea what would be causing this? We're an agency and use this call 
>> for several users but only one is returning this error.
>>
>> Thanks for any help
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Error 411 using Ad Hoc reports v201109

2012-03-20 Thread Lee Harper
HI Anash,

Thanks for your time looking into this.

The fact that it was only one client kept bothering me which made me
discover that the Google Adwords Account Id had a newline in it which
caused everything to break.

Hope this helps someone else out in the future.

-Lee

On Tue, Mar 20, 2012 at 1:43 PM, Lee Harper  wrote:

> Hi Anash,
>
> We are still having this issue, and only with this one user.
>
> Yes, we are using the latest PHP library. Will try capturing the outgoing
> traffic like you suggested.
>
> Thanks
>
>
> On Friday, March 16, 2012 4:35:15 AM UTC-5, Anash P. Oommen wrote:
>>
>> Hi Jeremy,
>>
>> I suspect this has to do with the HTTP request you send out to our
>> servers. Are you using a client library? Could you try capturing the
>> outgoing traffic with an HTTPS proxy and check if you are indeed sending a
>> Content-Length header as part of your request? Fiddler (
>> http://www.fiddler2.com/**fiddler/help/httpsdecryption.**asp)
>> is a proxy that's capable of decrypting HTTPS traffic.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Thursday, 15 March 2012 00:44:23 UTC+5:30, Lee Harper wrote:
>>>
>>> I'm using v201109 to get a campaign performance report.
>>>
>>> When I download the XML report, it just says:
>>>
>>> Error 411 (Length Required)!!1
>>>
>>>
>>> *411.* That’s an error.
>>> POST requests require a Content-length header. That’s all we know.
>>>
>>> Any idea what would be causing this? We're an agency and use this call
>>> for several users but only one is returning this error.
>>>
>>> Thanks for any help
>>>
>>  --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

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


Java API - campaignAdExtension always null

2012-03-20 Thread ak4chen
Hi all,

I'm trying to programatically update site link extensions using the API. So 
I can add and remove the first campaignAdExtension, and am aware that to 
edit a site link, it must be deleted and a new one must be created... But 
if I try to look for a site link with a status of Active versus Deleted, 
that status is always null. 

So I basically use the sample code in GetAllCampaignAdExtensions to get the 
list of extensions, which I currently assume to only be site link 
extensions. My expectation is that it returns a list of all active and 
deleted extensions. And I also expect to be able to see the status of each 
extension. But I cannot.

I pass in the array of campaignAdExtensions into a helper method, where I 
intend to iterate over each element and check its status. See comments, 
below:

// Get index of active site link extension

public int getActiveSitelinkExtension(CampaignAdExtension[] adExtensions) {

if (adExtensions == null) {

return -1;

}

int activeIndex = -1;

for (int i = 0; i < adExtensions.length; i++) {

// The following is useless because the getStatus always 
returns null! It should have been automatically set to 'active' or 
'deleted'!

// Unless the documentation, or there is a bug.

if (adExtensions[i].getStatus() != null && 
adExtensions[i].getStatus().equals(CampaignAdExtensionStatus.ACTIVE)) {

activeIndex = i;

}

}

return activeIndex;

}


My suspicion is that it is a bug. If it's not, how else would I get the 
active or deleted state of a site links extension?

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