Re: PHP Client Library: An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']

2014-03-19 Thread cf2
Hi,

my production MCC Customer ID is: 458-327-5081

For your information:
My test MCC Customer ID is 168-072-8257 and the Customer ID from the 
Adwords Account in the test MCC Account is 385-712-8406

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-19 Thread Laura Gonzalez

Hello, I am using the adwords-php-lib and I was uploading offline 
conversions few days ago and I was passing the date as "20140306 143017" 
(just an example) just by doing $conversionTime->format('Ymd His'). 
According to the documentation, time zone is optional, if it's not passed 
then it will set it as the one configured in my MMC account. 

It was working fine until few days ago, I started getting 
DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
code) and looking at the documentation I see the date formatting is 
correct. 
https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError

After a couple of hours trying to figure it out, I included the time zone 
parameter to my request like this $conversionTime->format('Ymd His P') 
which converts date as "20140306 143017 -08:00", and now it seems to work 
just fine.

I was wondering if something changed in the API side that made it required. 
If it is, then shouldn't be updated in the documentation too? Because I was 
relaying on it.

Thank you.

Laura Gonzalez.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP Lib - OfflineConversionFeedService - Sending batches with both good and bad data.

2014-03-19 Thread Laura Gonzalez
Hello,

I'm using the PHP library and trying to send a batch of offline conversions 
to the API, I am adding all of them to the same feed to make just one 
request.

If I send 100 conversions and just one of those has bad data, the API 
returns an exception saying "OfflineConversionError.INVALID_CLICK" (just an 
example), are the other 99 offline conversions going to get posted to the 
API successfully? 

Since I don't get any success response, just an exception, I am not sure 
which ones went through, is there a way to handle this? Or any suggestion?.

At least knowing if the other ones get posted even though it raised an 
exception would be helpful.

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OfflineConversionFeed Service returns INVALID_STRING_DATE_TIME

2014-03-19 Thread Laura Gonzalez

I was having a similar issue (INVALID_FIELD_VALUES_IN_DATE_TIME) and 
including the time zone fixed it, it was working last week without it. 

But still took me a while to figure it out and I was relying on the 
documentation which says time zone is 
optional. 
https://developers.google.com/adwords/api/docs/reference/v201309/ConversionTrackerService#DateError


On Monday, March 17, 2014 6:37:30 PM UTC-7, Christian wrote:
>
> Hi, 
> I'm using the OfflineConversionFeed Serivce. It worked fine during the 
> last month. But no I get the following error INVALID_STRING_DATE_TIME. And 
> I have no idea how to solve this. I provide the date in the following way: 
> 20140316 235959. 
> Regards Christian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Receiving ReportDownloadError.INTERNAL_SERVER_ERROR from AdWords endpoint

2014-03-19 Thread Pablo Ochoa
Good morning, we're having an annoying issue when trying to fetch data from 
AdWords API, our production server reports the following error:

AdwordsApi::Errors::ReportXmlError: HTTP code: 500, error type: 
'ReportDownloadError.INTERNAL_SERVER_ERROR', trigger: 'Unexpected Internal 
Server Error', field path: ''

This is a rails app using google-adwords-api-0.11.0... I started 
investigating if this is effectively credentials problem. Turns out I 
wasn't able to reproduce it... I mean running the code used to perform the 
fetch with the same "failed" data retrieves results normally.

One thing to note is that we use OAUTH authentication and version 201309 of 
the API. Here's the code for the people familiar with ruby

  srv = connection.report_utils(credentials.api_version)

   predicates = predicates.map do |field_name, values|
  {:field => field_name, :operator => 'IN', :values => 
Array.wrap(values)}
end

report_definition = {
  :selector => {
:fields => report_columns,
:predicates => [
  { :field => :CampaignId, :operator => 'EQUALS', :values => 
[campaign_id] },
  *predicates
]
  },
  :report_name => report_type,
  :report_type => report_type,
  :date_range_type => 'ALL_TIME',
  :download_format => 'CSV'
}

   srv.download_report(report_definition)

The error is not triggered for all the requests we do, but at "random" 
moments.  Any idea why this error might be happening? Is it expected to 
have some 500 responses from server?

Any help or clue where to start investigating would be really appreciated.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OfflineConversionFeed Service returns INVALID_STRING_DATE_TIME

2014-03-19 Thread Danial Klimkin
Hello Laura,


Timezone is optional as of v201402. Please let us know if it is not the 
case.


-Danial, AdWords API Team.


On Wednesday, March 19, 2014 1:42:58 AM UTC+4, Laura Gonzalez wrote:
>
>
> I was having a similar issue (INVALID_FIELD_VALUES_IN_DATE_TIME) and 
> including the time zone fixed it, it was working last week without it. 
>
> But still took me a while to figure it out and I was relying on the 
> documentation which says time zone is optional. 
> https://developers.google.com/adwords/api/docs/reference/v201309/ConversionTrackerService#DateError
>
>
> On Monday, March 17, 2014 6:37:30 PM UTC-7, Christian wrote:
>>
>> Hi, 
>> I'm using the OfflineConversionFeed Serivce. It worked fine during the 
>> last month. But no I get the following error INVALID_STRING_DATE_TIME. And 
>> I have no idea how to solve this. I provide the date in the following way: 
>> 20140316 235959. 
>> Regards Christian
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: googleads.errors.AdWordsReportBadRequestError: Type: AuthenticationError.CLIENT_CUSTOMER_ID_INVALID

2014-03-19 Thread Danial Klimkin
Hello Monty808,


Do you provide a clientCustomerId in the request? This is an advertiser 
account ID in the form of "1234-123-123".

If you still receive an error, please provide exact server response.


-Danial, AdWords API Team.


On Wednesday, March 19, 2014 2:48:30 AM UTC+4, Monty808 wrote:
>
> I am given a client id.  I am findng the documeation for the python api  
> lacking on this regards.  Given a mcc account with api access..how do one 
> get a report for all campaigns with a given client id?
>
> Thanks
>
>
> On Wed, Mar 19, 2014 at 4:53 AM, Monty808 
> > wrote:
>
>> Whats the deal witythe below error?  This is from the python api.  Is it 
>> sayihg my clienht_id in nkt valid?  wow!  I am using mcc.
>>
>> adwords:
>>   developer_token: sss
>>   user_agent: test
>>   client_id: really!!.apps.googleusercontent.com
>>   client_secret: 
>>   refresh_token: 
>>
>>
>> client = 
>> adwords.AdWordsClient.LoadFromStorage(path='/home/ubuntu/googleads.yaml')
>> report_downloader = client.GetReportDownloader(version='v201402')
>> # Create report definition.
>> report = {
>> 'reportName': 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
>> 'dateRangeType': 'LAST_7_DAYS',
>> 'reportType': 'CRITERIA_PERFORMANCE_REPORT',
>> 'downloadFormat': 'CSV',
>> 'selector': {
>> 'fields': ['CampaignId', 'AdGroupId', 'Id', 
>> 'CriteriaType',
>>'Criteria', 'Impressions', 'Clicks', 'Cost']
>> },
>> # Enable to get rows with zero impressions.
>> 'includeZeroImpressions': 'false'
>> }
>> f = open('tewt','w')
>> report_downloader.DownloadReport(report, f)
>> f.close()
>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and Google+:
>> https://googleadsdeveloper.blogspot.com/
>> https://plus.google.com/+GoogleAdsDevelopers/posts
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/1ivHYEIPVFE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Uploading offline conversions

2014-03-19 Thread zigit . mobile
Hi,

I'm new to AdWords API and i would like to create an uploading offline 
converssion to my web application.

I'm having a problem and would love to get some directions.

my steps where:
1. I've downloaded the php files ("*googleads-php-lib 
*") of the adwords api
2. created project in Google Cloud Console
3. created new client id for the project, for web application
4. got an client_id & client_secret, and putted them in auth.ini ( which 
located in "googleads-php-lib-master/src/Google/Api/Ads/AdWords/")
5. went to my profile in Adwords Api in "Google Api Center" and got my 
developerToken, and also putted it in the auth.ini
6. theni opened "GetRefreshToken.php" from the "examples" directory in cmd 
--> which sent me to get an "authorization code" from a link
7. after pasting this code back in the cmd, i guess i should have got a 
"refresh_token" to put in the aut.ini

I had a problem with getting the "refresh_token" and my cmd screamed that i 
need to install curl in my server , and i am going to do that , BUT- 

AM I IN THE RIGHT DIRECTION AT ALL?

all i want is to import the needed files so i could use the right functions 
that will make the "Uploading offline conversions" 
(e.g.OfflineConversionFeed feed = new OfflineConversionFeed()).

if i am in the right direction' than WHAT SHOULD I DO after I'll get my 
refresh_token?

thanks,

Yarin Slivka

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Have I found an undocumented adwords adhoc reporting error code?

2014-03-19 Thread Danial Klimkin
Hello Bruce,


Thank you for letting us know, we'll include this error in the 
documentation.


-Danial, AdWords API Team.


On Wednesday, March 19, 2014 8:01:24 AM UTC+4, tr...@strapper.net wrote:
>
>  standalone="yes"?>ReportInfoError.INVALID_USER_ID_IN_HEADERselector
>
> Searching for the 
> INVALID_USER_ID_IN_HEADER
>  error 
> code gives "No documents found". Weird!
>
> This is the report definition:
>
> https://adwords.google.com/api/adwords/cm/v201402
> ">
> 
> CampaignId
> Id
> Impressions
> Clicks
> Cost
> 
> Status
> IN
> ENABLED
> PAUSED
> 
> 
> Custom Adgroup Performance Report
> ADGROUP_PERFORMANCE_REPORT
> LAST_7_DAYS
> TSV
> 
>
> The items put in the HTTP header (anonymized and listed here in JSON 
> format)
>
>
> {"Authorization":"ya29.1.xxxg","developerToken":"_","clientCustomerId":"99","Content-
> type":"application/x-www-form-urlencoded"}
>
>
>
> *Oh No!!!*Just realized that I've forgotten the "Bearer " before the 
> access_token. Now it works! Nevertheless, updating the Adwords 
> documentation would be helpful in case someone else has this problem.
>
> With some embarrassment,
> Bruce M. Axtens
>  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting INVALID_FIELD_VALUES_IN_DATE_TIME when uploading offline conversions.

2014-03-19 Thread Danial Klimkin
Hello Laura,


What is the API version you are using? Can you please send me exact XML 
request and the server response for this error *over email* ("Reply to 
author" button).


-Danial, AdWords API Team.


On Wednesday, March 19, 2014 12:55:46 AM UTC+4, Laura Gonzalez wrote:
>
>
> Hello, I am using the adwords-php-lib and I was uploading offline 
> conversions few days ago and I was passing the date as "20140306 143017" 
> (just an example) just by doing $conversionTime->format('Ymd His'). 
> According to the documentation, time zone is optional, if it's not passed 
> then it will set it as the one configured in my MMC account. 
>
> It was working fine until few days ago, I started getting 
> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME (I didn't change anything in my 
> code) and looking at the documentation I see the date formatting is 
> correct. 
>
> https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.DateError
>
> After a couple of hours trying to figure it out, I included the time zone 
> parameter to my request like this $conversionTime->format('Ymd His P') 
> which converts date as "20140306 143017 -08:00", and now it seems to work 
> just fine.
>
> I was wondering if something changed in the API side that made it 
> required. If it is, then shouldn't be updated in the documentation too? 
> Because I was relaying on it.
>
> Thank you.
>
> Laura Gonzalez.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error concerning 24 hours delay after posting

2014-03-19 Thread Danial Klimkin
Hello Toby,


It can be a few hours delay between an actual click and all related data to 
be populated for all internal systems. We recommend 24 hours to make sure 
all such processes are finished.


-Danial, AdWords API Team.


On Wednesday, March 19, 2014 5:06:14 AM UTC+4, Toby Gran wrote:
>
> Dear Google Support Representative,
>
> Thank you for your help.  We were able to connect to Adwords.
>
> However, subsequently we experienced another error.
>
> When our developer tried to add offline conversion to our adwords he 
> received the following error
> {"[OfflineConversionError.TOO_RECENT_CLICK @ operations[0].operand]"}
>
> It seems that according to Adwords guidelines, it means that we try to 
> post offline conversion too fast.
> In other words, Adwords interface guidelines require us to post it after 
> 24 hours.  
>
> This seems like a strange requirement.  Maybe we didn't understand it 
> correctly.  
> It was my impression that posting could be done immediately.  It's only 
> reporting lags 3 hours behind.
>
>
> Any advise would be greatly appreciated,
>
> Thank you
>
>
> //https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth
>  String conversionName = signUp ? "PR_SignUP_IMP" : "PR_SignIN_IMP";
>  
> // Conversion time should be higher than the click time.
>  String conversionTime = DateTime.Local.ToString("MMdd HHmmss zzz";); 
> //;Double.valueOf("INSERT_CONVERSION_VALUE_HERE";)
>  Double conversionValue = 50;
>  
>
>  Google.Api.Ads.AdWords.Lib.AdWordsUser user = new 
> Google.Api.Ads.AdWords.Lib.AdWordsUser();
>  // Override specific configuration at runtime.
>  AdWordsAppConfig config = user.Config as AdWordsAppConfig;
>  
> config.ClientCustomerId = "000-111-";
>  config.DeveloperToken = "abracadabraabracadabra";
>  config.UserAgent = "*** User Managment";
>  
> config.AuthorizationMethod = AdWordsAuthorizationMethod.ClientLogin;
>  config.OAuth2Mode = Google.Api.Ads.Common.Lib.OAuth2Flow.APPLICATION;
>  
> config.Email = "*@gmail.com";
>  config.Password = "";
>  
>
> OfflineConversionFeedService offlineConversionFeedService = 
> user.GetService(AdWordsService.v201309.OfflineConversionFeedService) as 
> OfflineConversionFeedService;
>  
> //Associate offline conversions with the upload conversion we created.
>  OfflineConversionFeed feed = new OfflineConversionFeed();
>  feed.conversionName = conversionName;
>  feed.conversionTime = conversionTime 
> feed.conversionValue = conversionValue;
>  feed.googleClickId = gclId;
>  
> OfflineConversionFeedOperation offlineConversionOperation =
>  new OfflineConversionFeedOperation();
>  offlineConversionOperation.@operator = Operator.ADD;
>  offlineConversionOperation.operand = feed;
>  OfflineConversionFeedReturnValue offlineConversionRetval =
>  offlineConversionFeedService.mutate(
>  new OfflineConversionFeedOperation[] { offlineConversionOperation });
>  
> OfflineConversionFeed newFeed = offlineConversionRetval.value[0];
>  
> Console.WriteLine("Uploaded offline conversion value of {0} for Google 
> Click ID = " +
>  "'{1}' to '{2}'.", newFeed.conversionValue, newFeed.googleClickId,
>  newFeed.conversionName);
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting KeyWords DUPLICATES

2014-03-19 Thread Dan
Thanks! I am using JAVA api, what is easiest way to capture 
request/response log? 

On Tuesday, 18 March 2014 21:22:56 UTC, Ray Tsang (AdWords API Team) wrote:
>
> Dan,
>
> Could I trouble you to send me the request/response log (minus any 
> sensitive information) using the Reply to Author feature?
>
> Cheers,
>
> Ray
>
> On Tuesday, March 18, 2014 10:34:49 AM UTC-4, Dan wrote:
>>
>>
>> This is my code which I am using to pull KeyWords:
>>
>> public List getAdGroupKeyWords(Long adGroupId) throws 
>> ApiException, RemoteException{
>>  int PAGE_SIZE = 100;
>> int offset = 0;
>> boolean morePages = true;
>>
>> SelectorBuilder builder = new SelectorBuilder();
>> Selector selector = builder
>> .fields("Id", "AdGroupId", "MatchType", "KeywordText")
>> .orderAscBy("AdGroupId")
>> .offset(offset)
>> .limit(PAGE_SIZE)
>> .in("AdGroupId", adGroupId.toString())
>> .equals("CriteriaType", "KEYWORD")
>> .build();
>> 
>> List adGroupPages = new ArrayList();
>> 
>> while (morePages) {
>> AdGroupCriterionPage page = adGroupCriterionService.get(selector);
>> if (page.getEntries() != null && page.getEntries().length > 0) {
>>  for(AdGroupCriterion adGroupCriterion : page.getEntries()){
>>  adGroupPages.add(((Keyword)adGroupCriterion.getCriterion()));
>>  }
>> offset += PAGE_SIZE;
>> selector = builder.increaseOffsetBy(PAGE_SIZE).build();
>> morePages = offset < page.getTotalNumEntries();
>> }
>> }
>> 
>> return adGroupPages;
>>  }
>>
>> I've created 1 key word but it always return 3 absolutely same objects. 
>> First I thought that it 3 different match types, but no all of them 
>> identical. Why? 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Add keywords in batch

2014-03-19 Thread Dan
I am trying to find example which explains how to add keywords in batch. 
For example I have 1000 keywords, I want process them in 5 batches 200 
words each, including CPC bid. 

Could you please provide me an example and point to necessary 
documentation. Thanks! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error while Downloading Account Performance Report

2014-03-19 Thread Salem Hassan
Hi Ray,

I could share the request/response log but how to share in Private..? Do i 
need to mail the details to somewhere?

Thanks


On Wednesday, March 19, 2014 2:01:50 AM UTC+5:30, Ray Tsang (AdWords API 
Team) wrote:
>
> Salem,
>
> Could I trouble you to send me the report request/response log in private?
>
> Thanks,
>
> Ray
>
> On Monday, March 17, 2014 10:17:53 AM UTC-4, Salem Hassan wrote:
>>
>>
>> I'm using  OAuth 2.0 Authentication for Adwords API.
>>
>> I'm running the  'awapi_dotnet_lib_v16.7.0' sample solution (.NET 
>> Library)  from google and in the 'AdWords.Examples.CSharp' I have the 
>> following tags set in my app.config file:
>>
>> 
>> 
>> 
>> 
>> > value="xxx" />
>> 
>> 
>> > value="xx" />
>>
>> I'm able to run the 'GetAccountHierarchy' functionality through command 
>> line (v201402.GetAccountHierarchy) to fetch all the accounts under my MCC 
>> (client centre).
>> But, when I tries to run the DownloadCriteriaReport 
>>  (v201402.DownloadCriteriaReport) to fetch Account Performance Report it 
>> gives me error..
>>
>> *Message*: Report download errors occurred, see errors field for more 
>> details.
>>
>> *Source*: Google.AdWords
>>
>> *Stack Trace*:   
>>
>>  at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>>  
>> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
>> outputStream) in c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 304
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>>  
>> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 253
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>  
>> reportDefinition, Boolean returnMoneyInMicros, String path) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 215
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>  
>> reportDefinition, String path) in c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 195
>>at 
>> Google.Api.Ads.AdWords.Examples.CSharp.v201402.DownloadCriteriaReport.Run(AdWordsUser
>>  
>> user, String fileName) in 
>> C:\Users\BGS002\Downloads\awapi_dotnet_lib_v16.7.0\examples\csharp\v201402\Reporting\DownloadCriteriaReport.cs:line
>>  
>> 112
>>
>> Here is the image : 
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Here is the code:
>>
>>  public void Run(AdWordsUser user, string fileName) {
>>   ReportDefinition definition = new ReportDefinition();
>>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>>   definition.reportType = 
>> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>>   definition.downloadFormat = DownloadFormat.CSV;
>>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>> 
>>   // Create selector.
>>   Selector selector = new Selector();
>>   selector.fields = new string[] {"AdGroupId", "AdGroupName", 
>> "Clicks", "Impressions"};
>>
>>   Predicate predicate = new Predicate();
>>   predicate.field = "Status";
>>   predicate.@operator = PredicateOperator.IN;
>>   predicate.values = new string[] {"ACTIVE", "PAUSED"};
>>   selector.predicates = new Predicate[] {predicate};
>>  
>>   definition.selector = selector;
>>   definition.includeZeroImpressions = true;
>>   string filePath = ExampleUtilities.GetHomeDir() + 
>> Path.DirectorySeparatorChar + fileName;
>>   try {
>> ReportUtilities utilities = new ReportUtilities(user);
>> utilities.ReportVersion = "v201402";
>> 
>> utilities.DownloadClientReport(definition, filePath);
>> Console.WriteLine("Report was downloaded to '{0}'.", filePath);
>>   } catch (Exception ex) {
>> throw new System.ApplicationException("Failed to download 
>> report.", ex);
>>   }
>> }
>>
>>
>> I have also tried this on the web example with this code:
>>
>> protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
>>   ConfigureUserForOAuth();
>>   ReportDefinition definition = new ReportDefinition();
>>   string fileName = "GoogleAdwords.csv";
>>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>>   definition.reportType = 
>> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>>   definition.downloadFormat = DownloadFormat.CSV;
>>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>>   // Create selector.
>>   Selector selector = new Selector();
>>   

Re: Error while Downloading Account Performance Report

2014-03-19 Thread Salem Hassan


On Wednesday, March 19, 2014 6:33:16 PM UTC+5:30, Salem Hassan wrote:
>
> Hi Ray,
>
> I could share the request/response log but how to share in Private..? Do i 
> need to mail the details to somewhere?
>
> Thanks
>
>
> On Wednesday, March 19, 2014 2:01:50 AM UTC+5:30, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Salem,
>>
>> Could I trouble you to send me the report request/response log in private?
>>
>> Thanks,
>>
>> Ray
>>
>> On Monday, March 17, 2014 10:17:53 AM UTC-4, Salem Hassan wrote:
>>>
>>>
>>> I'm using  OAuth 2.0 Authentication for Adwords API.
>>>
>>> I'm running the  'awapi_dotnet_lib_v16.7.0' sample solution (.NET 
>>> Library)  from google and in the 'AdWords.Examples.CSharp' I have the 
>>> following tags set in my app.config file:
>>>
>>> 
>>> 
>>> 
>>> 
>>> >> value="xxx" />
>>> >> />
>>> 
>>> >> value="xx" />
>>>
>>> I'm able to run the 'GetAccountHierarchy' functionality through command 
>>> line (v201402.GetAccountHierarchy) to fetch all the accounts under my MCC 
>>> (client centre).
>>> But, when I tries to run the DownloadCriteriaReport 
>>>  (v201402.DownloadCriteriaReport) to fetch Account Performance Report it 
>>> gives me error..
>>>
>>> *Message*: Report download errors occurred, see errors field for more 
>>> details.
>>>
>>> *Source*: Google.AdWords
>>>
>>> *Stack Trace*:   
>>>
>>>  at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>>>  
>>> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
>>> outputStream) in c:\src\MyProjects\now\Common library 
>>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 304
>>>at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>>>  
>>> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path) in 
>>> c:\src\MyProjects\now\Common library 
>>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 253
>>>at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>>  
>>> reportDefinition, Boolean returnMoneyInMicros, String path) in 
>>> c:\src\MyProjects\now\Common library 
>>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 215
>>>at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T
>>>  
>>> reportDefinition, String path) in c:\src\MyProjects\now\Common library 
>>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 195
>>>at 
>>> Google.Api.Ads.AdWords.Examples.CSharp.v201402.DownloadCriteriaReport.Run(AdWordsUser
>>>  
>>> user, String fileName) in 
>>> C:\Users\BGS002\Downloads\awapi_dotnet_lib_v16.7.0\examples\csharp\v201402\Reporting\DownloadCriteriaReport.cs:line
>>>  
>>> 112
>>>
>>> Here is the image : 
>>>
>>>
>>> 
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Here is the code:
>>>
>>>  public void Run(AdWordsUser user, string fileName) {
>>>   ReportDefinition definition = new ReportDefinition();
>>>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>>>   definition.reportType = 
>>> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>>>   definition.downloadFormat = DownloadFormat.CSV;
>>>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>>> 
>>>   // Create selector.
>>>   Selector selector = new Selector();
>>>   selector.fields = new string[] {"AdGroupId", "AdGroupName", 
>>> "Clicks", "Impressions"};
>>>
>>>   Predicate predicate = new Predicate();
>>>   predicate.field = "Status";
>>>   predicate.@operator = PredicateOperator.IN;
>>>   predicate.values = new string[] {"ACTIVE", "PAUSED"};
>>>   selector.predicates = new Predicate[] {predicate};
>>>  
>>>   definition.selector = selector;
>>>   definition.includeZeroImpressions = true;
>>>   string filePath = ExampleUtilities.GetHomeDir() + 
>>> Path.DirectorySeparatorChar + fileName;
>>>   try {
>>> ReportUtilities utilities = new ReportUtilities(user);
>>> utilities.ReportVersion = "v201402";
>>> 
>>> utilities.DownloadClientReport(definition, filePath);
>>> Console.WriteLine("Report was downloaded to '{0}'.", filePath);
>>>   } catch (Exception ex) {
>>> throw new System.ApplicationException("Failed to download 
>>> report.", ex);
>>>   }
>>> }
>>>
>>>
>>> I have also tried this on the web example with this code:
>>>
>>> protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
>>>   ConfigureUserForOAuth();
>>>   ReportDefinition definition = new ReportDefinition();
>>>   string fileName = "GoogleAdwords.csv";
>>>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>>>   definition.reportType = 
>>> ReportDefinitionReportType.ACCO

Adwords Api request changed

2014-03-19 Thread Klein RetailGroup
Hi,

Lasdt year we applied for an Adwords Api in the Adwords Api center. We 
applied with an old url that we now only use for redirecting so it's never 
verificated. Today we applied with the new url. How long will it take to 
get verification? How do I know that everything is filled in correctly now? 
Is there someone from Google who can give give more information?

Yours truly

Patrik

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


INCOMPLETE_SIGNUP Error

2014-03-19 Thread matti
Hi @all :-)

I receive the error "QuotaCheckError.INCOMPLETE_SIGNUP" when I try to use 
the AdwordsApi for testing. I use the requested production token which is 
under review and created a test account which I connect to my app (test 
account has the test account badge on the top). Both MCC accounts have 
billing information and the TOS were accepted.

Do you have an idea what else could be wrong? MCC ID of the test account 
is 238-047-2873.

Cheers
Matthias

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Lib - OfflineConversionFeedService - Sending batches with both good and bad data.

2014-03-19 Thread Josh Radcliff (AdWords API Team)
Hi,

Generally speaking, requests through the API are atomic, meaning either all 
operations succeed or all operations fail.  However, you can change this 
behavior by using the *partialFailure* feature.  See the following links 
for more information.

   - 
   
https://developers.google.com/adwords/api/docs/guides/bestpractices#partial_failure
   - 
   https://developers.google.com/adwords/api/docs/guides/soap#partialFailure
   
Cheers,
Josh, AdWords API Team

On Tuesday, March 18, 2014 7:50:11 PM UTC-4, Laura Gonzalez wrote:
>
> Hello,
>
> I'm using the PHP library and trying to send a batch of offline 
> conversions to the API, I am adding all of them to the same feed to make 
> just one request.
>
> If I send 100 conversions and just one of those has bad data, the API 
> returns an exception saying "OfflineConversionError.INVALID_CLICK" (just an 
> example), are the other 99 offline conversions going to get posted to the 
> API successfully? 
>
> Since I don't get any success response, just an exception, I am not sure 
> which ones went through, is there a way to handle this? Or any suggestion?.
>
> At least knowing if the other ones get posted even though it raised an 
> exception would be helpful.
>
> Thank you.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to make request for SET ACTIVE on users behalf

2014-03-19 Thread brihaspati techno

i need to link an adwords account with the MCC account and for that i have 
made a successful request for ADD PENDING but i am not bale to make SET 
ACTIVE request on user's behalf. I have derived the refresh_token of the 
invited user but not getting how to use it to link the invited user's 
account with my MCC account. i am making use of PHP client Library. Please 
suggest!

Regards,
Brihaspati Dev

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how do you get the ad id for an item in the display keyword performance report

2014-03-19 Thread Josh Radcliff (AdWords API Team)
That could be - I'll have to check.  Could you try an Ad Performance 
Report 
instead? 
 You can limit that report to AdNetworkType2 = 'Display Network' if you 
only want display ads.

Thanks,
Josh, AdWords API Team

On Tuesday, March 18, 2014 5:18:35 AM UTC-4, patrick o'keeffe wrote:
>
> when i try that report its empty i presume its a different kind of network?
>
> On Tuesday, March 11, 2014 10:38:50 AM UTC, patrick o'keeffe wrote:
>>
>> How do you get the ad id for an item in the display keyword performance 
>> report. its not available in that report so which other report do i need to 
>> link to in order to get it and what do i need to link to it with.
>>
>> many thanks for any help
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [9-8448000002971] How to verify the client customer id is valid and billing has been setup!

2014-03-19 Thread Josh Radcliff (AdWords API Team)
Hi,

For the PHP example, please see:

https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/Auth/CreateAdWordsUserWithoutIniFile.php

Cheers,
Josh, AdWords API Team

On Wednesday, March 19, 2014 2:25:38 AM UTC-4, brihaspati techno wrote:
>
> Hello Josh,
>
> Sorry for troubling you a little more can you please suggest me any way to 
> use the generated(invited user) refresh_token ??
> Its urgent if you can please help me to do this.
>
> Regards,
> Brihaspati Dev
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-19 Thread cbmamherst
We have had an upload of offline conversions working for a little over a 
month using API V201309 and yesterday we started getting errors saying we 
have an invalid date and time.

snipped from the request:



ADD




CPnNu5z-lb0CFSNk7AoduicA4A

RTLead

20140315 222113

40.28






and snipped from the response

http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">

operations[0].operand




DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

DateError

INVALID_FIELD_VALUES_IN_DATE_TIME




The documentation doesn't list valid formats and the field is a string 
rather than xsd:dateTime.  What should be valid and what happened?


thanks,

Chris

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting KeyWords DUPLICATES

2014-03-19 Thread Dan
Ray, this is my request/response logs to ADD/GET Keywords using JAVA API.

ADD REQUEST/RESPONSE:

12056 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
- Request made: Service: "AdGroupCriterionServiceInterfacePort" Method: 
"mutate" URL: 
"https://adwords.google.com/api/adwords/cm/v201309/AdGroupCriterionService";
12064 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP Request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

!HIDDEN!


https://adwords.google.com/api/adwords/cm/v201309";>

ADD
https://adwords.google.com/api/adwords/cm/v201309"; 
xsi:type="ns2:BiddableAdGroupCriterion">
14185764432

protein
EXACT


http://test.com/123.html



13000









12064 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP Response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201309";>
0004f4f8ed2168780ae036424bfc
AdGroupCriterionService
mutate
1
305



https://adwords.google.com/api/adwords/cm/v201309";>


AdGroupCriterionReturnValue
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="BiddableAdGroupCriterion">
14185764432

18190021
KEYWORD
Keyword
protein
EXACT


BiddableAdGroupCriterion
ACTIVE
ELIGIBLE
PENDING_REVIEW

http://test.com/123.html


MANUAL_CPC

CAMPAIGN


ManualCpcBiddingScheme
false


CpcBid


Money
13000

CRITERION


CpmBid


Money
15

ADGROUP








===

GET REQUEST/RESPONSE

108145 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
- Request made: Service: "AdGroupCriterionServiceInterfacePort" Method: 
"get" URL: 
"https://adwords.google.com/api/adwords/cm/v201309/AdGroupCriterionService";
108155 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP Request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

!HIDDEN!


https://adwords.google.com/api/adwords/cm/v201309";>

Id
AdGroupId
MatchType
KeywordText
CpcBid

AdGroupId
IN
14185769112


CriteriaType
EQUALS
KEYWORD


AdGroupId
ASCENDING


0
100






108155 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP Response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201309";>
0004f4f8fcde47180ae0b30b2f4f
AdGroupCriterionService
get
1
108



https://adwords.google.com/api/adwords/cm/v201309";>

3
AdGroupCriterionPage
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="BiddableAdGroupCriterion">
  

Re: PHP Lib - OfflineConversionFeedService - Sending batches with both good and bad data.

2014-03-19 Thread Laura Gonzalez
Hi Josh,

Didn't know about the partialFailure option. This helps a lot.

Thanks for the quick response.

- Laura

On Wednesday, March 19, 2014 7:43:36 AM UTC-7, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Generally speaking, requests through the API are atomic, meaning either 
> all operations succeed or all operations fail.  However, you can change 
> this behavior by using the *partialFailure* feature.  See the following 
> links for more information.
>
>- 
>
> https://developers.google.com/adwords/api/docs/guides/bestpractices#partial_failure
>- 
>https://developers.google.com/adwords/api/docs/guides/soap#partialFailure
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, March 18, 2014 7:50:11 PM UTC-4, Laura Gonzalez wrote:
>>
>> Hello,
>>
>> I'm using the PHP library and trying to send a batch of offline 
>> conversions to the API, I am adding all of them to the same feed to make 
>> just one request.
>>
>> If I send 100 conversions and just one of those has bad data, the API 
>> returns an exception saying "OfflineConversionError.INVALID_CLICK" (just an 
>> example), are the other 99 offline conversions going to get posted to the 
>> API successfully? 
>>
>> Since I don't get any success response, just an exception, I am not sure 
>> which ones went through, is there a way to handle this? Or any suggestion?.
>>
>> At least knowing if the other ones get posted even though it raised an 
>> exception would be helpful.
>>
>> Thank you.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Service Account Scope Access Failure

2014-03-19 Thread Josh Radcliff (AdWords API Team)
Hi,

In case others have similar issues, below are a few tips on setting up 
service account access to the AdWords API:

   1. You can only impersonate a user in your domain (this is the user you 
   specify for the OAuth2PrnEmail key in App.config).  In this case, one of 
   the reasons we had trouble was that we were trying to impersonate an 
   @outlook.com user.
   2. When specifying the scope in CPanel, use 
   https://adwords.google.com/api/adwords/ (*include* the trailing slash)
   3. The user you are impersonating must be a valid user in your domain.
   4. The user you are impersonating must have access to the AdWords 
   account you are trying to access.

Cheers,
Josh, AdWords API Team

On Friday, March 14, 2014 12:28:30 PM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Having some more details on your config would indeed help.  You can send 
> those *only to me* by clicking "Reply to Author" on this message and we 
> can follow up via email from there.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, March 14, 2014 11:55:56 AM UTC-4, apiapi wrote:
>>
>> Hi Josh. Thanks for the fast response.
>>
>> We do in fact require a Service Account, we are not building a "typical" 
>> app that interacts with the API. 
>>
>> I believe I have done all of the steps and am still getting an error 
>> about the scope permissions. I have notified our enterprise account manager 
>> as well, who is trying to find someone within the API team to assist me. We 
>> have not had a success for ~3 weeks at this point, so could use the help.
>>
>> Running the Google-provided sample code with parameters in the 
>> app.config, the error is that the scope is not allowed. As an alternate 
>> test, I purposefully malformed some app.config values and got different and 
>> expected errors, which leads me to beleive that I normal settings are valid 
>> but something else is wrong.
>>
>> Looking at GetAccountHierarchy.cs, the code throws on line 78 
>> "managedCustomerService.get..."
>>
>> If there is a way to share some of the app.config bits out of this forum 
>> with you, or some other direct way to test/verify, please let me know. 
>>
>> Thanks.
>>
>>
>>
>> On Friday, March 14, 2014 9:51:35 AM UTC-4, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> In general we recommend 
>>> (here
>>>  and 
>>> here) 
>>> using 
>>> the *installed application* or *web *flow instead of *service accounts*. 
>>>  Service accounts are considerably more complex and not necessary for the 
>>> majority of use cases.  A common misconception is that service accounts are 
>>> the only option if you want to be able to access a user's account without 
>>> requiring interaction from the user every time.  However, you can still use 
>>> the *installed application* or *web* flow in conjunction with the offline 
>>> access_type
>>>  for 
>>> this use case.  You will have to prompt the user for permissions once, but 
>>> after that you can reuse the *refresh_token* you received for all 
>>> future requests on that account.
>>>
>>> If a service account is truly necessary for your use case, please see 
>>> the bottom of the .NET OAuth2 
>>> page
>>>  and 
>>> confirm that your App.config contains all of the required key/value pairs.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Thursday, March 13, 2014 9:25:03 PM UTC-4, apiapi wrote:

 I downloaded the latest AdWords API v201402 bits, and still receive the 
 same error when simply trying to enumerate the accounts under my MCC using 
 the sample code. I am receiving the same error I got with the 201309-era 
 code.

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Uploading offline conversions

2014-03-19 Thread Josh Radcliff (AdWords API Team)
Hi Yarin,

If you are having trouble generating a refresh token, please refer to the 
PHP library's Using OAuth 2.0 
page. 
 If you are using 
GetRefreshToken.php
 then 
you must create an *Installed application* in the console, *not* a *Web 
Application*.

Once you have the refresh token and are ready to submit API requests, you 
can use the many 
examples
 available 
within the library to get started. In particular, I would recommend:

   - 
GetCampaigns.php
 - 
   This is a basic example you can run to confirm your auth.ini and 
   environment are set up properly.
   - 
UploadOfflineConversions.php
 - 
   This example demonstrates exactly what you want to do. That is, it creates 
   a new 
UploadConversionand
 then adds an 
   
OfflineConversionFeed
   .
   
Note that all examples should be run from the command line.

Cheers,
Josh, AdWords API Team

On Wednesday, March 19, 2014 4:28:40 AM UTC-4, zigit@gmail.com wrote:
>
> Hi,
>
> I'm new to AdWords API and i would like to create an uploading offline 
> converssion to my web application.
>
> I'm having a problem and would love to get some directions.
>
> my steps where:
> 1. I've downloaded the php files ("*googleads-php-lib 
> *") of the adwords api
> 2. created project in Google Cloud Console
> 3. created new client id for the project, for web application
> 4. got an client_id & client_secret, and putted them in auth.ini ( which 
> located in "googleads-php-lib-master/src/Google/Api/Ads/AdWords/")
> 5. went to my profile in Adwords Api in "Google Api Center" and got my 
> developerToken, and also putted it in the auth.ini
> 6. theni opened "GetRefreshToken.php" from the "examples" directory in cmd 
> --> which sent me to get an "authorization code" from a link
> 7. after pasting this code back in the cmd, i guess i should have got a 
> "refresh_token" to put in the aut.ini
>
> I had a problem with getting the "refresh_token" and my cmd screamed that 
> i need to install curl in my server , and i am going to do that , BUT- 
>
> AM I IN THE RIGHT DIRECTION AT ALL?
>
> all i want is to import the needed files so i could use the right 
> functions that will make the "Uploading offline conversions" 
> (e.g.OfflineConversionFeed feed = new OfflineConversionFeed()).
>
> if i am in the right direction' than WHAT SHOULD I DO after I'll get my 
> refresh_token?
>
> thanks,
>
> Yarin Slivka
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Receiving ReportDownloadError.INTERNAL_SERVER_ERROR from AdWords endpoint

2014-03-19 Thread Ray Tsang (AdWords API Team)
Pablo,

It would be great if you could collect the failure report requet/response 
logs and send me the log in private.  Also, please take note on frequency 
and/or time of day when it usually occurred.  It'll help me track things 
down.

Cheers,

Ray

On Tuesday, March 18, 2014 6:27:57 PM UTC-4, Pablo Ochoa wrote:
>
> Good morning, we're having an annoying issue when trying to fetch data 
> from AdWords API, our production server reports the following error:
>
> AdwordsApi::Errors::ReportXmlError: HTTP code: 500, error type: 
> 'ReportDownloadError.INTERNAL_SERVER_ERROR', trigger: 'Unexpected Internal 
> Server Error', field path: ''
>
> This is a rails app using google-adwords-api-0.11.0... I started 
> investigating if this is effectively credentials problem. Turns out I 
> wasn't able to reproduce it... I mean running the code used to perform the 
> fetch with the same "failed" data retrieves results normally.
>
> One thing to note is that we use OAUTH authentication and version 201309 
> of the API. Here's the code for the people familiar with ruby
>
>   srv = connection.report_utils(credentials.api_version)
>
>predicates = predicates.map do |field_name, values|
>   {:field => field_name, :operator => 'IN', :values => 
> Array.wrap(values)}
> end
>
> report_definition = {
>   :selector => {
> :fields => report_columns,
> :predicates => [
>   { :field => :CampaignId, :operator => 'EQUALS', :values => 
> [campaign_id] },
>   *predicates
> ]
>   },
>   :report_name => report_type,
>   :report_type => report_type,
>   :date_range_type => 'ALL_TIME',
>   :download_format => 'CSV'
> }
>
>srv.download_report(report_definition)
>
> The error is not triggered for all the requests we do, but at "random" 
> moments.  Any idea why this error might be happening? Is it expected to 
> have some 500 responses from server?
>
> Any help or clue where to start investigating would be really appreciated.
>
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: INCOMPLETE_SIGNUP Error

2014-03-19 Thread Ray Tsang (AdWords API Team)
Matthias,

Did you use the production MCC Developer token?  What is the production MCC 
CID?

Cheers,

Ray

On Wednesday, March 19, 2014 7:23:53 AM UTC-4, ma...@supermatti.de wrote:
>
> Hi @all :-)
>
> I receive the error "QuotaCheckError.INCOMPLETE_SIGNUP" when I try to use 
> the AdwordsApi for testing. I use the requested production token which is 
> under review and created a test account which I connect to my app (test 
> account has the test account badge on the top). Both MCC accounts have 
> billing information and the TOS were accepted.
>
> Do you have an idea what else could be wrong? MCC ID of the test account 
> is 238-047-2873.
>
> Cheers
> Matthias
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords Api request changed

2014-03-19 Thread Ray Tsang (AdWords API Team)
Klein,

Could I trouble you to provide more context?  Did you request a Developer 
Token from the AdWords MCC site?
Secondly, have you completed the new token 
form
?

Thanks,

Ray

On Wednesday, March 19, 2014 6:24:13 AM UTC-4, Klein RetailGroup wrote:
>
> Hi,
>
> Lasdt year we applied for an Adwords Api in the Adwords Api center. We 
> applied with an old url that we now only use for redirecting so it's never 
> verificated. Today we applied with the new url. How long will it take to 
> get verification? How do I know that everything is filled in correctly now? 
> Is there someone from Google who can give give more information?
>
> Yours truly
>
> Patrik
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to make request for SET ACTIVE on users behalf

2014-03-19 Thread Ray Tsang (AdWords API Team)
Brihaspati,

You should be able to accept the request on the user's behalf if you have 
that user's authorization / refresh token.

You can find code snippets on how to do this in our ClientLogin to OAuth 
2.0 migration 
guide.
 
 If this doesn't work for you, there may be some issue w/ the OAuth 2.0 
authorization.  Please double check the error messages to be sure.

Cheers,

Ray

On Wednesday, March 19, 2014 11:57:45 AM UTC-4, brihaspati techno wrote:
>
>
> i need to link an adwords account with the MCC account and for that i have 
> made a successful request for ADD PENDING but i am not bale to make SET 
> ACTIVE request on user's behalf. I have derived the refresh_token of the 
> invited user but not getting how to use it to link the invited user's 
> account with my MCC account. i am making use of PHP client Library. Please 
> suggest!
>
> Regards,
> Brihaspati Dev
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error when creating campaign with enhanced cpc bidding strategy

2014-03-19 Thread Jeremy Aube
Starting in v201402, it appears we can no longer set the bidding strategy 
to enhanced cpc for new campaigns. Here is the SOAP request and response:

I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : 
http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201402"; 
xmlns:env="http://www.w3.org/2003/05/soap-envelope";>
  
https://adwords.google.com/api/adwords/cm/v201402";>
  ***
  ***
  ***

  
  
https://adwords.google.com/api/adwords/cm/v201402";>
  
ADD

  ***
  PAUSED
  
223925663
DAILY

  1000

STANDARD
false
ACTIVE
  
  
true
  
  SEARCH
  
true
true
false
  
  
ENHANCED_CPC
  

  
  

  


I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : 
http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201402";>
  0004f4fafa60a6500ae6c9483b03
  MutateJobService
  getResult
  1
  752

  
  
https://adwords.google.com/api/adwords/cm/v201402";>
  

  

  
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="BiddingErrors">

operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
ENHANCED_CPC

BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
BiddingErrors
INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
  

  

  


I don't really get what invalid anonymous bidding strategy type means. I'm 
hoping it doesn't mean we have to deal with another service in order to set 
simple campaign settings, as having to do so for campaign criterion and 
campaign budget has resulted in increased code complexity with no visible 
gain for us.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Third Party Ad > In-stream Video > Video Capabilities > Declare as a skippable ad - Can this be set via API?

2014-03-19 Thread openbidderdev

In UI at http://adwords.google.com when I create a new Ad and select "Third 
Party Ad" and select "In-stream video," the "Video capabilities" options 
are presented. Are these options settable via the API?

I use the AdGroupAd service to create Third Party, Rich Media ads, but 
can't figure out if/how to set the video capabilities options.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SSLHandshakeException using AdWords API

2014-03-19 Thread Ian Hayes

Suddenly getting this error message using the AdWords API on a system that 
was working fine previously :

java.lang.RuntimeException: Error running Awql query SELECT Month, Cost 
FROM ACCOUNT_PERFORMANCE_REPORT DURING 20140301,20140331 

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
connection during handshake 
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 

Has anyone else experience this before?

Thanks,
Ian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SSLHandshakeException suddenly occurring

2014-03-19 Thread Ian Hayes
 

Suddenly calls to the AdWords API that have been working for months are 
failing with :

java.lang.RuntimeException: Error running Awql query SELECT Month, Cost 
FROM ACCOUNT_PERFORMANCE_REPORT DURING 20140301,20140331 

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
connection during handshake 
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 


Has anyone else had similar issues or know what might cause them?

Thanks!
Ian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API release March 2014

2014-03-19 Thread Erica Olavarria
 

We are currently working on pulling reports from Bing and have a question 
about an API release slated for March 2014. In the release notes (linked 
below), it says that several reports will be updated to include popular 
attribute and performance statistic columns. We are interested in pulling 
the Keyword Performance Report with the ClickType column. We tried 
downloading the newest API source, but do not see the ClickType column 
included in the KeywordPerformanceReportColumn class.

What is the date for this release, or has it already been released?
If it has been released, where can we download the updated source code?

http://msdn.microsoft.com/en-us/library/bing-ads-overview-release-notes.aspx#reporting_march2014

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Add keywords in batch

2014-03-19 Thread Ray Tsang (AdWords API Team)
Dan,

Please check out our client 
libraries. 
 Every client library should have an example called AddKeywordsInBulk.  It 
uses the 
MutateJobServiceto
 do this.

Cheers,

Ray

On Wednesday, March 19, 2014 5:57:20 AM UTC-4, Dan wrote:
>
> I am trying to find example which explains how to add keywords in batch. 
> For example I have 1000 keywords, I want process them in 5 batches 200 
> words each, including CPC bid. 
>
> Could you please provide me an example and point to necessary 
> documentation. Thanks! 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-19 Thread Ray Tsang (AdWords API Team)
Chris,

Please make sure that the time is after the click time and also not in the 
future.  Secondly, can you try this format instead?

  -MM-dd HH:mm:ss

Cheers,

On Wednesday, March 19, 2014 1:03:34 PM UTC-4, cbmam...@gmail.com wrote:
>
> We have had an upload of offline conversions working for a little over a 
> month using API V201309 and yesterday we started getting errors saying we 
> have an invalid date and time.
>
> snipped from the request:
>
> 
>
> ADD
>
> 
>
> 
> CPnNu5z-lb0CFSNk7AoduicA4A
>
> RTLead
>
> 20140315 222113
>
> 40.28
>
> 
>
> 
>
>
> and snipped from the response
>
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">
>
> operations[0].operand
>
> 
>
> 
> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME
>
> DateError
>
> INVALID_FIELD_VALUES_IN_DATE_TIME
>
> 
>
>
> The documentation doesn't list valid formats and the field is a string 
> rather than xsd:dateTime.  What should be valid and what happened?
>
>
> thanks,
>
> Chris
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API release March 2014

2014-03-19 Thread Ray Tsang (AdWords API Team)
Erica,

My apologies - I won't be able to answer third party questions and/or 
features.  If you use AdWords API directly, you can find our Report columns 
in our Report 
guide
.

Cheers,

Ray

On Wednesday, March 19, 2014 2:34:44 PM UTC-4, Erica Olavarria wrote:
>
> We are currently working on pulling reports from Bing and have a question 
> about an API release slated for March 2014. In the release notes (linked 
> below), it says that several reports will be updated to include popular 
> attribute and performance statistic columns. We are interested in pulling 
> the Keyword Performance Report with the ClickType column. We tried 
> downloading the newest API source, but do not see the ClickType column 
> included in the KeywordPerformanceReportColumn class.
>
> What is the date for this release, or has it already been released?
> If it has been released, where can we download the updated source code?
>
>
> http://msdn.microsoft.com/en-us/library/bing-ads-overview-release-notes.aspx#reporting_march2014
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SSLHandshakeException suddenly occurring

2014-03-19 Thread Ray Tsang (AdWords API Team)
Ian,

It looks like a underlying issue w/ SSL connection.  It appears that you 
are using Java.
Would you be able to try a few things?  First - verify that SSL connection 
works w/ the endpoint via curl or wget.  You won't be able to retrieve 
anything but if SSL handshake fails then we know it's not isolated to Java.

Secondly, please make sure your Java version is up to date and if you use 
any custom keystores.

Thanks,

Ray


On Wednesday, March 19, 2014 11:04:43 AM UTC-4, Ian Hayes wrote:
>
> Suddenly calls to the AdWords API that have been working for months are 
> failing with :
>
> java.lang.RuntimeException: Error running Awql query SELECT Month, Cost 
> FROM ACCOUNT_PERFORMANCE_REPORT DURING 20140301,20140331 
>
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed 
> connection during handshake 
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 
>
>
> Has anyone else had similar issues or know what might cause them?
>
> Thanks!
> Ian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Third Party Ad > In-stream Video > Video Capabilities > Declare as a skippable ad - Can this be set via API?

2014-03-19 Thread Ray Tsang (AdWords API Team)
Hi,

You can check out the AdWords API template 
ad. 
 That being said, there are no other AdWords for Video API support at this 
time.

Cheers,

Ray

On Wednesday, March 19, 2014 12:36:45 PM UTC-4, openbi...@twelvefold.com 
wrote:
>
>
> In UI at http://adwords.google.com when I create a new Ad and select 
> "Third Party Ad" and select "In-stream video," the "Video capabilities" 
> options are presented. Are these options settable via the API?
>
> I use the AdGroupAd service to create Third Party, Rich Media ads, but 
> can't figure out if/how to set the video capabilities options.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ImageError.SERVER_ERROR when creating ads

2014-03-19 Thread Ray Tsang (AdWords API Team)
Rodrigo,

Thanks for the log.  I'll be investigating this.

Cheers!

Ray

On Friday, March 7, 2014 10:29:46 AM UTC-5, Ray Tsang (AdWords API Team) 
wrote:
>
> Rodrigo,
>
> Thanks!  Just wanted to make sure because it was a common issue.  Could I 
> trouble you to run the request again and send me the latest response (with 
> the requestId).
>
> Appreciate the help,
>
> Ray
>
> On Thursday, March 6, 2014 9:36:34 PM UTC-5, Rodrigo Ferreira wrote:
>>
>> Hi Ray, I do 2 and let SoapClient take care of encoding.
>>
>> I remember trying 1 and always getting an error, whilst 2 works most of 
>> the time except for the relatively rare occasions where I run into the 
>> issue. 
>>
>> Em quinta-feira, 6 de março de 2014 20h04min13s UTC-3, Ray Tsang (AdWords 
>> API Team) escreveu:
>>>
>>> Rodrigo,
>>>
>>> First thing I'd like to make sure how you are setting the file content 
>>> into the data field.  Did you do:
>>> 1.  ...->data = base64_encode(file_get_content(...)) or
>>> 2. ...->data = file_get_content(...)
>>>
>>> Thanks,
>>>
>>> On Thursday, March 6, 2014 2:57:16 PM UTC-5, Rodrigo Ferreira wrote:

 I use my own PHP library based on SoapClient component and the specs.

 Em quarta-feira, 5 de março de 2014 19h19min38s UTC-3, Ray Tsang 
 (AdWords API Team) escreveu:
>
> Rodrigo,
>
> Could I trouble you to confirm what client library are you using?
>
> Thanks,
>
> On Monday, March 3, 2014 5:55:43 PM UTC-5, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Rodrigo,
>>
>> Could I trouble you to send me the full request using the "Reply to 
>> Author" function?  (with sensitive information stripped out).
>>
>> Thanks,
>>
>> Ray
>>
>> On Wednesday, February 26, 2014 5:12:12 PM UTC-5, Rodrigo Ferreira 
>> wrote:
>>>
>>> Hi there,
>>>
>>> I am experience the following error when I perform calls to "mutate 
>>> ADD" image ads.
>>>
>>> It seems random and not dependent on input.
>>>
>>> How should I go about it?
>>>
>>> Thanks in advance!
>>>
>>> Best,
>>> Rodrigo
>>>
>>> http://schemas.xmlsoap.org/soap/envelope/
>>> ">
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201309";>
>>> 0004f2f24d7d1c980ae064432285
>>> AdGroupAdService
>>> mutate
>>> 0
>>> 10183
>>> 
>>> 
>>> 
>>> 
>>> soap:Server
>>> [ImageError.SERVER_ERROR @ 
>>> operations[0].operand.ad.image.data]
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201309";>
>>> [ImageError.SERVER_ERROR @ 
>>> operations[0].operand.ad.image.data]
>>> ApiException
>>> http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="ImageError">
>>> operations[0].operand.ad.image.data
>>> 
>>> ImageError.SERVER_ERROR
>>> ImageError
>>> SERVER_ERROR
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-19 Thread Ray Tsang (AdWords API Team)
Jeremy,

There was indeed a change in v201402 - please see our migration 
page
.
That being said - were you able to create enhanced cpc bidding strategy 
previously?

Anonymous bidding strategy means that you are creating an enhanced cpc 
bidding strategy as you create a new Campaign, rather than referencing to 
an existing ID.  You could create one via the 
BiddingStrategyService
.

Please let me know if this behavior change is new for you.

Cheers,

Ray

On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:
>
> Starting in v201402, it appears we can no longer set the bidding strategy 
> to enhanced cpc for new campaigns. Here is the SOAP request and response:
>
> I, [2014-03-19T15:51:23.608579 #56895]  INFO -- :  encoding="UTF-8"?>
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdl="
> https://adwords.google.com/api/adwords/cm/v201402"; xmlns:env="
> http://www.w3.org/2003/05/soap-envelope";>
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   ***
>   ***
>   ***
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   
> ADD
> 
>   ***
>   PAUSED
>   
> 223925663
> DAILY
> 
>   1000
> 
> STANDARD
> false
> ACTIVE
>   
>   
> true
>   
>   SEARCH
>   
> true
> true
> false
>   
>   
> ENHANCED_CPC
>   
> 
>   
>   
> 
>   
> 
>
> I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   0004f4fafa60a6500ae6c9483b03
>   MutateJobService
>   getResult
>   1
>   752
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   
> 
>   
> 
>   
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="BiddingErrors">
> 
> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
> ENHANCED_CPC
> 
> BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
> BiddingErrors
> INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
>   
> 
>   
> 
>   
> 
>
> I don't really get what invalid anonymous bidding strategy type means. I'm 
> hoping it doesn't mean we have to deal with another service in order to set 
> simple campaign settings, as having to do so for campaign criterion and 
> campaign budget has resulted in increased code complexity with no visible 
> gain for us.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error while Downloading Account Performance Report

2014-03-19 Thread Ray Tsang (AdWords API Team)
Salem,

I've received your information - but those are not AdWords API calls.  I'd 
need the AdWords API logs to determine the issue.

That being said, a common problem when pulling the report is when not 
specifying a specific CID to pull.  Please make sure you are pulling report 
for an AdWords account CID and not the MCC CID.

Cheers,

Ray

On Monday, March 17, 2014 10:17:53 AM UTC-4, Salem Hassan wrote:
>
>
> I'm using  OAuth 2.0 Authentication for Adwords API.
>
> I'm running the  'awapi_dotnet_lib_v16.7.0' sample solution (.NET Library) 
>  from google and in the 'AdWords.Examples.CSharp' I have the following tags 
> set in my app.config file:
>
> 
> 
> 
> 
>  value="xxx" />
> 
> 
>  value="xx" />
>
> I'm able to run the 'GetAccountHierarchy' functionality through command 
> line (v201402.GetAccountHierarchy) to fetch all the accounts under my MCC 
> (client centre).
> But, when I tries to run the DownloadCriteriaReport 
>  (v201402.DownloadCriteriaReport) to fetch Account Performance Report it 
> gives me error..
>
> *Message*: Report download errors occurred, see errors field for more 
> details.
>
> *Source*: Google.AdWords
>
> *Stack Trace*:   
>
>  at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>  
> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
> outputStream) in c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 304
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>  
> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path) in 
> c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 253
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, Boolean returnMoneyInMicros, String path) in 
> c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 215
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, String path) in c:\src\MyProjects\now\Common library 
> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 195
>at 
> Google.Api.Ads.AdWords.Examples.CSharp.v201402.DownloadCriteriaReport.Run(AdWordsUser
>  
> user, String fileName) in 
> C:\Users\BGS002\Downloads\awapi_dotnet_lib_v16.7.0\examples\csharp\v201402\Reporting\DownloadCriteriaReport.cs:line
>  
> 112
>
> Here is the image : 
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
> Here is the code:
>
>  public void Run(AdWordsUser user, string fileName) {
>   ReportDefinition definition = new ReportDefinition();
>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>   definition.reportType = 
> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>   definition.downloadFormat = DownloadFormat.CSV;
>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
> 
>   // Create selector.
>   Selector selector = new Selector();
>   selector.fields = new string[] {"AdGroupId", "AdGroupName", 
> "Clicks", "Impressions"};
>
>   Predicate predicate = new Predicate();
>   predicate.field = "Status";
>   predicate.@operator = PredicateOperator.IN;
>   predicate.values = new string[] {"ACTIVE", "PAUSED"};
>   selector.predicates = new Predicate[] {predicate};
>  
>   definition.selector = selector;
>   definition.includeZeroImpressions = true;
>   string filePath = ExampleUtilities.GetHomeDir() + 
> Path.DirectorySeparatorChar + fileName;
>   try {
> ReportUtilities utilities = new ReportUtilities(user);
> utilities.ReportVersion = "v201402";
> 
> utilities.DownloadClientReport(definition, filePath);
> Console.WriteLine("Report was downloaded to '{0}'.", filePath);
>   } catch (Exception ex) {
> throw new System.ApplicationException("Failed to download 
> report.", ex);
>   }
> }
>
>
> I have also tried this on the web example with this code:
>
> protected void OnDownloadReportButtonClick(object sender, EventArgs e) {
>   ConfigureUserForOAuth();
>   ReportDefinition definition = new ReportDefinition();
>   string fileName = "GoogleAdwords.csv";
>   definition.reportName = "Custom ACCOUNT_PERFORMANCE_REPORT";
>   definition.reportType = 
> ReportDefinitionReportType.ACCOUNT_PERFORMANCE_REPORT;
>   definition.downloadFormat = DownloadFormat.CSV;
>   definition.dateRangeType = ReportDefinitionDateRangeType.TODAY;
>   // Create selector.
>   Selector selector = new Selector();
>   selector.fields = new string[] {"AccountId"};
>   definition.selector = selector;
>   string filePath = "D:\\Adwords

Re: Error when creating campaign with enhanced cpc bidding strategy

2014-03-19 Thread Jeremy Aube
Yes we had this working before with v201309 with the following request 
difference:

  
MANUAL_CPC

  true

  


We knew this wouldn't work based on the migration instructions as well as 
the CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN error we were getting. We 
were hoping there might still be a way to enable enhanced cpc without 
having to create a separate bidding strategy.

On Wednesday, March 19, 2014 4:24:13 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
>
> Jeremy,
>
> There was indeed a change in v201402 - please see our migration 
> page
> .
> That being said - were you able to create enhanced cpc bidding strategy 
> previously?
>
> Anonymous bidding strategy means that you are creating an enhanced cpc 
> bidding strategy as you create a new Campaign, rather than referencing to 
> an existing ID.  You could create one via the 
> BiddingStrategyService
> .
>
> Please let me know if this behavior change is new for you.
>
> Cheers,
>
> Ray
>
> On Wednesday, March 19, 2014 4:01:15 PM UTC-4, Jeremy Aube wrote:
>>
>> Starting in v201402, it appears we can no longer set the bidding strategy 
>> to enhanced cpc for new campaigns. Here is the SOAP request and response:
>>
>> I, [2014-03-19T15:51:23.608579 #56895]  INFO -- : > encoding="UTF-8"?>
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdl="
>> https://adwords.google.com/api/adwords/cm/v201402"; xmlns:env="
>> http://www.w3.org/2003/05/soap-envelope";>
>>   
>> https://adwords.google.com/api/adwords/cm/v201402";>
>>   ***
>>   ***
>>   ***
>> 
>>   
>>   
>> https://adwords.google.com/api/adwords/cm/v201402";>
>>   
>> ADD
>> 
>>   ***
>>   PAUSED
>>   
>> 223925663
>> DAILY
>> 
>>   1000
>> 
>> STANDARD
>> false
>> ACTIVE
>>   
>>   
>> true
>>   
>>   SEARCH
>>   
>> true
>> true
>> false
>>   
>>   
>> ENHANCED_CPC
>>   
>> 
>>   
>>   
>> 
>>   
>> 
>>
>> I, [2014-03-19T15:51:27.253561 #56895]  INFO -- : 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>   
>> https://adwords.google.com/api/adwords/cm/v201402";>
>>   0004f4fafa60a6500ae6c9483b03
>>   MutateJobService
>>   getResult
>>   1
>>   752
>> 
>>   
>>   
>> https://adwords.google.com/api/adwords/cm/v201402";>
>>   
>> 
>>   
>> 
>>   
>>   http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="BiddingErrors">
>> 
>> operations[0].operand.biddingStrategyConfiguration.biddingStrategyType
>> ENHANCED_CPC
>> 
>> BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
>> BiddingErrors
>> INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE
>>   
>> 
>>   
>> 
>>   
>> 
>>
>> I don't really get what invalid anonymous bidding strategy type means. 
>> I'm hoping it doesn't mean we have to deal with another service in order to 
>> set simple campaign settings, as having to do so for campaign criterion and 
>> campaign budget has resulted in increased code complexity with no visible 
>> gain for us.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Offline Conversion Feed DateError.INVALID_FIELD_VALUES_IN_DATE_TIME

2014-03-19 Thread cbmamherst
Ray,
  The format you are suggesting also produces an error but not exactly 
the same one.

snippet from the request:



ADD




CPHt9bfblL0CFchZ7AodFGcAHA

RTLead

2014-03-15 10:13:25

110.28



response

http://schemas.xmlsoap.org/soap/envelope/";>





soap:Server

DateError.INVALID_STRING_DATE_TIME @ ; 
trigger:'2014-03-15 10:13:25'



https://adwords.google.com/api/adwords/cm/v201309";>

DateError.INVALID_STRING_DATE_TIME @ ; 
trigger:'2014-03-15 10:13:25'


ApiException

http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">



2014-03-15 10:13:25


DateError.INVALID_STRING_DATE_TIME

DateError

INVALID_STRING_DATE_TIME












Thanks,
Chris

On Wednesday, March 19, 2014 4:06:15 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:
>
> Chris,
>
> Please make sure that the time is after the click time and also not in the 
> future.  Secondly, can you try this format instead?
>
>   -MM-dd HH:mm:ss
>
> Cheers,
>
> On Wednesday, March 19, 2014 1:03:34 PM UTC-4, cbmam...@gmail.com wrote:
>>
>> We have had an upload of offline conversions working for a little over a 
>> month using API V201309 and yesterday we started getting errors saying we 
>> have an invalid date and time.
>>
>> snipped from the request:
>>
>> 
>>
>> ADD
>>
>> 
>>
>> 
>> CPnNu5z-lb0CFSNk7AoduicA4A
>>
>> RTLead
>>
>> 20140315 222113
>>
>> 40.28
>>
>> 
>>
>> 
>>
>>
>> and snipped from the response
>>
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DateError">
>>
>> operations[0].operand
>>
>> 
>>
>> 
>> DateError.INVALID_FIELD_VALUES_IN_DATE_TIME
>>
>> DateError
>>
>> INVALID_FIELD_VALUES_IN_DATE_TIME
>>
>> 
>>
>>
>> The documentation doesn't list valid formats and the field is a string 
>> rather than xsd:dateTime.  What should be valid and what happened?
>>
>>
>> thanks,
>>
>> Chris
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ApiException and ApplicationException classes not present in .NET proxy for v201402.

2014-03-19 Thread HK
Does anyone have any thoughts on this? Hoping to avoid piecing together the 
proxy class by class instead of letting wsdl.exe do the job.

Thanks,
Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.