Authentication errors for a single account, from a testing environment

2012-09-26 Thread dkasak
Hi all. Our app support team asked me to look into an issue a client has 
reported. The first step is usually to test up the client's account in one 
of our testing environments. For some reason I can't do that for this 
account. We have tested the credentials from our production environment - 
they work fine and we can fetch, for example, the customer's client ID. 
However these exact same credentials fail in a testing environment.

We're trying to get a session key from the 
URL: https://www.google.com/accounts/ClientLogin
This returns a 403 error. Why would that be, just for only this account? We 
can get a session key for any other valid credentials in this environment.

One thing we noticed is that when logging into the AdWords UI, we 
encountered a captcha and a message that we were logging in from a new 
location. But as far as we know, this only affects UI logins, not API 
logins. Is this correct?

I've also tried the captcha unlock URL, which says to log in with app in 
the next 10 minutes, but this doesn't work either.

Any ideas?

Dan

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


Changing TargetContentContextual fail with CANNNOT MODIFY NETWORK CONTEXUAL

2012-09-26 Thread aminotsukasa
Hi all

I'm now creating a program with google-ads-lib 1.8.
Now I found a strange *behavior.
*
This behavior occurred with Changing a Campaign with display network.(not 
registering)*

*First I create a campaign with display network 
(Because My customer has some campaigns with display network created by 
201109 Adwords-lib)
It is a fragment of campaign creation program.
 networkSetting.setTargetContentNetwork(true)
 networkSetting.setTargetContentContextual(true);

Second I change this campaign setting from with display network to without 
display network.
** networkSetting.setTargetContentNetwork(false)
 networkSetting.setTargetContentContextual(null);
and send content with CampaignServiceInterface#mutate

Adwords Server returns these fault code.

 AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL @ 
operations[0].operand.networkSetting]
  faultActor: 
  faultNode: 
  faultDetail: 


But I change campaign with display network and flexible reach. This error 
is not occurred.
I create a campaign with this code.
 networkSetting.setTargetContentNetwork(true)
 networkSetting.setTargetContentContextual(null);

and I change campaign setting with this code.
** networkSetting.setTargetContentNetwork(false)
 networkSetting.setTargetContentContextual(null);
It's Ok!

Is this a correct specification ?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-09-26 Thread Karol Słuszniak
I have same problem with adding campaign in sandbox. 

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


About All Campaigns

2012-09-26 Thread Seval Zirve
Hi,

How can i get all campaigns (with stats ex. clicks, impressions, cost) data 
under the customer service with just one query?

Normally i can get all campaigns one by one with Customer ID, but i want 
all campaigns with one query.

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


MCM service - GetClientCustomerId : The remote server returned an error: (500) Internal Server Error.

2012-09-26 Thread Kiran
 

Hi,

 

We have a requirement in our project to get Client Customer ID. For this we 
are calling AdWords API v201206 : 
https://adwords.google.com/api/adwords/mcm/v201206. We are getting 
following error from the service. Kindly let us know if anything is missing 
in code posted below.

 

Kindly note : We are following approach of calling AdWords API v201206 with 
C# without using the AdWords API dotnet client library. 

Reference : 
https://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary

 

 

ERROR MSG : The remote server returned an error: (500) Internal Server 
Error.

 

 

DETAILS : System.Net.WebException was caught

  Message=The remote server returned an error: (500) Internal Server Error.

  Source=System

  StackTrace:

   at System.Net.HttpWebRequest.GetResponse()

   at 
DataSync.Component.GoogleClientCustomerIdManager.GetClientCustomerId()

 

CODE:

 

public static void GetClientCustomerId()

{

string authToken = GetAuthToken();

string developerToken = GetDeveloperToken();

string userAgent = GetUserAgent();

 

string requestXml = string.Format(@ 

  ?xml version='1.0' encoding='utf-8'? 

  soap:Envelope 
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' 

  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 

  xmlns:xsd='http://www.w3.org/2001/XMLSchema' 

soap:Header 

  RequestHeader 
xmlns='https://adwords.google.com/api/adwords/mcm/v201206' 

authToken{0}/authToken 

developerToken{1}/developerToken 

userAgent{2}/userAgent

  /RequestHeader 

/soap:Header 

soap:Body 

  get 
xmlns='https://adwords.google.com/api/adwords/mcm/v201206'

  serviceSelector

fieldsLogin/fields

fieldsCustomerId/fields

fieldsName/fields

  /serviceSelector

/get

/soap:Body 

  /soap:Envelope,

authToken,

developerToken,

userAgent).Trim();

 

 

WebRequest webRequest = HttpWebRequest.Create(
https://adwords.google.com/api/adwords/mcm/v201206/ManagedCustomerService;);

 

webRequest.Method = POST;

webRequest.ContentType = text/xml; charset=utf-8;

webRequest.Headers.Add(SOAPAction, );

byte[] postBytes = Encoding.UTF8.GetBytes(requestXml);

webRequest.ContentLength = postBytes.Length;

 

using (Stream strmReq = webRequest.GetRequestStream())

{

strmReq.Write(postBytes, 0, postBytes.Length);

}

try

{

WebResponse response = webRequest.GetResponse();

 

using (StreamReader reader = new 
StreamReader(response.GetResponseStream()))

{

string responseXml = reader.ReadToEnd();

XmlDocument xDoc = new XmlDocument();

xDoc.LoadXml(responseXml);

XmlNamespaceManager xmlns = new 
XmlNamespaceManager(xDoc.NameTable);

xmlns.AddNamespace(soap, 
http://schemas.xmlsoap.org/soap/envelope/;);

xmlns.AddNamespace(v201206, 
https://adwords.google.com/api/adwords/mcm/v201206;);

XmlElement faultNode =


(XmlElement)xDoc.SelectSingleNode(soap:Envelope/soap:Body/soap:Fault, 
xmlns);

if (faultNode != null)

{

// Something went wrong with API call. Parse 
faultNode for more details. 

}

else

{

XmlElement mutateResponseNode = 
(XmlElement)xDoc.SelectSingleNode(

soap:Envelope/soap:Body/v201206:mutateResponse, 
xmlns);

// Parse mutateResponseNode contents to get the 
campaign id. 

}

}

}

catch (WebException ex)

{

throw new ApplicationException(Could not make Api call., 
ex);

}

}

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

Re: Authentication errors for a single account, from a testing environment

2012-09-26 Thread Evgeniy Bogdanov
Hi Dan.

Although your issue should be very rare, but Google have some examples how 
to handle this. (For PHP you can take a look 
on 
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/Common/HandleCaptcha.php)

As I understand this is some security trigger and applications should 
handle such situation.

Regards,
Evgeniy.

On Wednesday, September 26, 2012 10:42:40 AM UTC+4, dkasak wrote:

 Hi all. Our app support team asked me to look into an issue a client has 
 reported. The first step is usually to test up the client's account in one 
 of our testing environments. For some reason I can't do that for this 
 account. We have tested the credentials from our production environment - 
 they work fine and we can fetch, for example, the customer's client ID. 
 However these exact same credentials fail in a testing environment.

 We're trying to get a session key from the URL: 
 https://www.google.com/accounts/ClientLogin
 This returns a 403 error. Why would that be, just for only this account? 
 We can get a session key for any other valid credentials in this 
 environment.

 One thing we noticed is that when logging into the AdWords UI, we 
 encountered a captcha and a message that we were logging in from a new 
 location. But as far as we know, this only affects UI logins, not API 
 logins. Is this correct?

 I've also tried the captcha unlock URL, which says to log in with app in 
 the next 10 minutes, but this doesn't work either.

 Any ideas?

 Dan


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: About All Campaigns

2012-09-26 Thread Evgeniy Bogdanov
Hi.

As far as I know - where is no way to do that with Customer Service.

Regards,
Evgeniy.

On Wednesday, September 26, 2012 3:30:19 PM UTC+4, Seval Zirve wrote:

 Hi,

 How can i get all campaigns (with stats ex. clicks, impressions, cost) 
 data under the customer service with just one query?

 Normally i can get all campaigns one by one with Customer ID, but i want 
 all campaigns with one query.


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


INVALID_TOKEN_HEAD with sandbox Adwords API

2012-09-26 Thread Phillip Tessuto
I'm having a hard time passing the settings to use the sandbox.
Follows the header I'm going to:
version = V2012

developerToken rafael.bitencourt = @ webtraffic.com.br + + CAD
WMC userAgent = JAVA
password = 35023951
email = @ rafael.bitencourt webtraffic.com.br
alternateURL = https://adwords-sandbox.google.com

I hope you can help me with this question ...

The error return is INVALI_TOKEN_HEAD

Thanks,
Phillip Tessuto

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: INVALID_TOKEN_HEAD with sandbox Adwords API

2012-09-26 Thread Phillip Tessuto
I'm having a difficult passing the settings to use the sandbox.
Follows the header I'm going to:

version = V2012
developerToken = rafael.bitenco...@webtraffic.com.br++BRL
userAgent = WMC JAVA
password = 35023951
email = rafael.bitenco...@webtraffic.com.br 
http://webtraffic.com.br/http://webtraffic.com.br/
alternateURL = https://adwords-sandbox.google.com

I hope you can help me with this question ...

The error return is INVALID_TOKEN_HEAD

Thanks,
Phillip Tessuto

On Wednesday, September 26, 2012 6:39:46 PM UTC-3, Phillip Tessuto wrote:

 I'm having a hard time passing the settings to use the sandbox.
 Follows the header I'm going to:
 version = V2012

 developerToken rafael.bitencourt = @ webtraffic.com.br + + CAD
 WMC userAgent = JAVA
 password = 35023951
 email = @ rafael.bitencourt webtraffic.com.br
 alternateURL = https://adwords-sandbox.google.com

 I hope you can help me with this question ...

 The error return is INVALI_TOKEN_HEAD

 Thanks,
 Phillip Tessuto


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Migrating Authorization Mechanics ClientLogin to OAuth2 Google AdWords v201206 Perl

2012-09-26 Thread Etienne Lawlor
Is this because According to the CPAN Testers 
Resultshttp://www.cpantesters.org/distro/G/GOOGLE-ADWORDS-PERL-CLIENT.html#GOOGLE-ADWORDS-PERL-CLIENT-2.7.2
 for 
Google::Ads::AdWords::Clienthttps://metacpan.org/module/Google::Ads::AdWords::Client
 it 
has not been tested for Perl 5.8.8. The newest (successfully tested) 
version is 5.8.9. ??  And if this is the case, is there a temporary fix 
besides updating to a newer version of Perl since many different modules 
rely on this version of Perl?


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Authentication errors for a single account, from a testing environment

2012-09-26 Thread dkasak
Hi Evgeniy.

We're *not* getting anything related to captchas in the response to our 
HTTP request to get a session key. I only mentioned the captcha because I 
thought it might be related. We're just getting a '403' error, with a 
'BadAuthentication' message. But again ... the exact same credentials work 
in other environments. And our development environment is able to get 
session keys for all other accounts.

Dan

On Thursday, September 27, 2012 12:22:12 AM UTC+10, Evgeniy Bogdanov wrote:

 Hi Dan.

 Although your issue should be very rare, but Google have some examples how 
 to handle this. (For PHP you can take a look on 
 http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/Common/HandleCaptcha.php
 )

 As I understand this is some security trigger and applications should 
 handle such situation.

 Regards,
 Evgeniy.

 On Wednesday, September 26, 2012 10:42:40 AM UTC+4, dkasak wrote:

 Hi all. Our app support team asked me to look into an issue a client has 
 reported. The first step is usually to test up the client's account in one 
 of our testing environments. For some reason I can't do that for this 
 account. We have tested the credentials from our production environment - 
 they work fine and we can fetch, for example, the customer's client ID. 
 However these exact same credentials fail in a testing environment.

 We're trying to get a session key from the URL: 
 https://www.google.com/accounts/ClientLogin
 This returns a 403 error. Why would that be, just for only this account? 
 We can get a session key for any other valid credentials in this 
 environment.

 One thing we noticed is that when logging into the AdWords UI, we 
 encountered a captcha and a message that we were logging in from a new 
 location. But as far as we know, this only affects UI logins, not API 
 logins. Is this correct?

 I've also tried the captcha unlock URL, which says to log in with app in 
 the next 10 minutes, but this doesn't work either.

 Any ideas?

 Dan



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL Error

2012-09-26 Thread Rajesh Karusala
*As per below note from addCampaign page - 
https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.NetworkSetting
Note:* Setting targetContentContextual for new campaigns or existing 
campaigns that have enabled Flexible Reach (
TargetRestrictSetting.useAdGroup=true) will fail with 
TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL.

As per the above note, I'm setting useAdGroup to false. But still the API 
complains about networkSettings. I thought useAdgroup with false value 
would respect network settings.

soapenv:Body
mutate xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns=https://adwords.google.com/api/adwords/cm/v201206;
operations
operatorADD/operator
operand
nameTest Campaign_2012/09/27-06:04:12/name
statusACTIVE/status
startDate20120927/startDate
endDate20120927/endDate
budget
periodDAILY/period
amount
microAmount5/microAmount
/amount
deliveryMethodACCELERATED/deliveryMethod
/budget
biddingStrategy xsi:type=ns2:ManualCPC
 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201206/
settings xsi:type=ns3:KeywordMatchSetting
  
xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201206;
optIntrue/optIn
/settings
settings xsi:type=ns4:TargetRestrictSetting
  
xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201206;
*useAdGroupfalse/useAdGroup*
/settings
networkSetting
targetGoogleSearchtrue/targetGoogleSearch
targetSearchNetworktrue/targetSearchNetwork
targetContentNetworkfalse/targetContentNetwork

targetContentContextualfalse/targetContentContextual

targetPartnerSearchNetworkfalse/targetPartnerSearchNetwork
/networkSetting
/operand
/operations
/mutate
/soapenv:Body

Please let me know the problem here.

On Friday, September 7, 2012 2:59:19 PM UTC-7, ben fenster wrote:

 i dont understand why using this setting is not allowed and i cant see 
 nothing about it in the API docs ?
 how can i avoid such mistakes if the API does not explain what is 
 allowed/not allowed ?


 On Friday, September 7, 2012 2:40:57 PM UTC+3, Anash P. Oommen wrote:

 Hi Ben,

 You shouldn't set setTargetContentContextual on NetworkSetting field if 
 you are using v201206, instead use TargetRestrictSetting on campaign. Then 
 define the TargetingSetting in your adgroup.

 See 
 http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201206/basicoperations/AddCampaigns.java
  and 
 http://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201206/basicoperations/AddAdGroups.java
  for 
 details on how this may be done.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, 6 September 2012 19:17:31 UTC+5:30, ben fenster wrote:

  Hi,

 i am currntly using the latest java client API on the latest version of 
 the adwords api (v201206).
 i try to add a campaign after calling the setTargetContentContextual of 
 the NetworkSetting Object and always get the following API ERROR
 [com.google.api.adwords.v201206.cm.TargetError , TargetError , 
 TargetError.CANNOT_MODIFY_CONTENT_CONTEXTUAL , 
 operations[0].operand.networkSetting ]

 i also tried playing with the TargetRestrictSetting as mentioned in the 
 API Docs with no success. 
 can any one tell me why is that ?



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 return 0 only

2012-09-26 Thread Nguyen Toan
I just started learning about Adwords.
I tried running TrafficEstimate sample code but its responses is  0 only.

result
Results for the keyword with text 'cheap cruise' and match type 'PHRASE':
  Estimated average CPC: 0
  Estimated ad position: 0.00
  Estimated daily clicks: 0
  Estimated daily cost: 0

Results for the keyword with text '就職' and match type 'EXACT':
  Estimated average CPC: 0
  Estimated ad position: 0.00
  Estimated daily clicks: 0
  Estimated daily cost: 0


Somebody can help me?
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


V201206 old java client library Report Definition selector fields and predicates

2012-09-26 Thread cefc
Since the transition from com.google.api.adwords.v201206.cm to 
com.google.api.adwords.v201206.jaxb.cm for ReportDefinition classes.  Is 
there a simple means to translate selector fields and predicates between 
the two packages?

Currently, I seem to be faced with re-writing the references from
com.google.api.adwords.v201206.cm.Selector selector = new Selector();
selector.setFields(new String[] {AdGroupId, KeywordId, Id, 
Impressions, Clicks, Cost, AveragePosition, Date});
statusPredicate = new Predicate(Status, PredicateOperator.IN, new 
String[] {ENABLED, PAUSED, DISABLED});

to
fields.addAll(Arrays.StringasList(new String[] {AdGroupId, 
KeywordId, Id, Impressions, Clicks, Cost, AveragePosition, 
Date}));
statusPredicate = new Predicate();
statusPredicate.setField(Status);
statusPredicate.setOperator(PredicateOperator.IN);
statusPredicate.getValues().add(ENABLED);
statusPredicate.getValues().add(PAUSED);
statusPredicate.getValues().add(DISABLED);

Perhaps I'm missing something but this seems cumbersome.

Christian

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


Not able to get the values of Campaign i.e ID with perl ?

2012-09-26 Thread Saurabh


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: VideoCampaigns and VideoAds / YouTube Promoted Videos

2012-09-26 Thread Ali
Is there any further update?  Is even in the pipeline?  

Regards, 

Ali 

On Tuesday, January 31, 2012 6:11:29 AM UTC-6, giataAdwords wrote:

 Hello, 
 i'm looking for a solution to add VideoCampaigns and VideoAds for 
 Promoted YouTube Videos over the AdWords API. I found the templateAd 
 with templateID 13 for Promoted YouTube Videos, but i don't know how 
 to obtain the mediaId for my YouTube Videos needed to set in the 
 templateAd (videoId, type VIDEO). 

 Kind regards, 

 Giata

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