Re: Trying to get clientCustomerId

2013-09-02 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

What account did you use when you authenticated the application?
And please make sure you don't explicitly pass clientCustomerId through a 
config file or the code. 

FYI : You don't have to pass Selector to CustomerService.get()

Best,
- Takeshi, AdWords API Team

On Thursday, August 29, 2013 10:52:51 PM UTC+9, larisa bolgova wrote:
>
> Hi. 
> I can't get clientCustomerId when user authorized throught OAUth2. I 
> recieved clientCustomerId of my MCC test account, not a user that is 
> authorized.
> This is a part of code where i trying to get clientCustomerId. Could you 
> help me, where i did wrong.
>
> $client = new Google_Client();
> $client->setApplicationName(Settings::get('BrandName'));
> $client->setClientId('446749605635-');
> $client->setClientSecret('**');
> $client->setRedirectUri('my_url');
> $client->setDeveloperKey('*');
> $client->setScopes('https://adwords.google.com/api/adwords/');
> $client->authenticate();
>
> $arrResponse = Zend_Json::decode($client->getAccessToken());
> $user = new AdWordsUser();
> $customerService = $user->GetService('CustomerService', 'v201306');
> $selector = new Selector();
> $selector->fields = array('clientCustomerId');
> $page = $customerService->get($selector);
> var_dump($page);
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Total number of campaigns saved into DB

2013-09-02 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please elaborate what part is causing the error and what parameters 
are missing? 
It that the AdWords API part?

Best,
- Takeshi, AdWords API Team

On Thursday, August 29, 2013 8:46:53 PM UTC+9, Alex wrote:
>
>
> **
>
> I am currently testing some code from google adwords ruby api.
>
> class CampaignController < ApplicationController
>
>   PAGE_SIZE = 50
>
>   def index()
> @selected_account = selected_account
>
> if @selected_account
>   response = request_campaigns_list()
>   if response
> @campaigns = Campaign.get_campaigns_list(response)
> @campaign_count = response[:total_num_entries]
>   end
> end
>   end
>
>   private
>
>   def request_campaigns_list()
> api = get_adwords_api()
> service = api.service(:CampaignService, get_api_version())
> selector = {
>   :fields => ['Id', 'Name', 'Status'],
>   :ordering => [{:field => 'Id', :sort_order => 'ASCENDING'}],
>   :paging => {:start_index => 0, :number_results => PAGE_SIZE}
> }
> result = nil
> begin
>   result = service.get(selector)
> rescue AdwordsApi::Errors::ApiException => e
>   logger.fatal("Exception occurred: %s\n%s" % [e.to_s, e.message])
>   flash.now[:alert] =
>   'API request failed with an error, see logs for details'
> end
> return result
>   endend
>
> class Campaign
>   attr_reader :id
>   attr_reader :name
>   attr_reader :status
>
>   def initialize(api_campaign)
> @id = api_campaign[:id]
> @name = api_campaign[:name]
> @status = api_campaign[:status]
>   end
>
>   def self.get_campaigns_list(response)
> result = {}
> if response[:entries]
>   response[:entries].each do |api_campaign|
> campaign = Campaign.new(api_campaign)
> result[campaign.id] = campaign
>   end
> end
> return result
>   endend
>
> What I want to do is take the value of @campaign_count (from the 
> controller) and save it in a db. I tried adding the code for inserting the 
> value in the db, but it says that I'm missing few parameters. I want to 
> save this value because I want to display it in application.html.erb, or 
> otherwise I will have to request data from the api every time I load a page.
>
> Campaign.create(:total_campaigns => 2)
>
> Thank you.
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Keywords [:first_page_cpc]

2013-09-02 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I think it's not a API issue, but rather on how you should handle nil value 
in ruby. 
Could you try adding a logic that handles nil correctly?

Best,
- Takeshi, AdWords API Team

On Thursday, August 29, 2013 7:55:35 PM UTC+9, Alex wrote:
>
> Hello,
>
> I am using the adwords api to poll the keywords from a campaing. In my 
> model initializer I have this line of code
>
>@firstPageCpc = api_keyword[:first_page_cpc][:amount][:micro_amount] / 
> 100
>
> My problem is that for few campaign or adgroups I can poll the data 
> without any problem, but I have an campaign which gives me this error 
> message:
>
> undefined method `[]' for nil:NilClass
>
> And it points me to that line, and if I remove it everything is working 
> fine.
> Can someone help me please.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Previous month's google keyword search volume

2013-09-02 Thread Takeshi Hagikura (AdWords API Team)
Hi,

#1 We don't have a public documentation on that, but it's correct. Around 
25th of current month, you should get the volume for the previous month.

#2 I think it's similar to #1, around the 25th of current month, you should 
get the volume for the previous month. 

#3 There is no difference between keywords. 

Best,
- Takeshi, AdWords API Team

On Wednesday, August 28, 2013 7:04:06 PM UTC+9, coolkanad wrote:
>
> Hi, I have few questions about fetching keyword search volume data using 
> Adwords API. I am using TARGETED_MONTHLY_SEARCHES attribute
>
> 1. I want to fetch keyword search volume data of previous month for a set 
> of keywords. Till which date of current month, this data will get available 
> from Google Adwords API? On some places I read it gets available around 
> 25th of current month. Is this information correct? Is there any 
> documentation from Google to which you can direct me for this?
>
> 2. Also, is it possible sometimes that I don't get previous months search 
> volume data at all in current month? Means suppose I want data for July but 
> I don't get it till end of August and I get it in September..? Is it 
> possible?
>
> 3. Suppose I have a list of 100 keywords, when Google makes search volume 
> data available for previous month let's say on 25th then does data for all 
> keywords get available on same day OR out of 100 I will get data for some 
> keywords on 25th and remaining on 26 th, 27 th so on..?
>
> Thanks in advance. I am trying to find answers for these questions on 
> Internet but not yet succeeded. It will also be great If you can direct me 
> to any of documentation link for this information
>
> Thanks 
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Service account via Java client getting "access_denied"

2013-08-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

First, does your application needs impersonation? 
If all you want to do is having access to client accounts under an MCC, 
then how about using other authentication (installed application or web 
flow)?
Either way, once you store a refresh token, there'll be no human 
interactions like service accounts. 
That makes it much simpler. 

Best,
- Takeshi, 

On Tuesday, August 13, 2013 4:35:03 AM UTC+9, sfein...@rmn.com wrote:
>
> I'm using the v201306 API, trying to succeed at auth and call AdWords APIs.
>
> We've created a service account and I downloaded the private key.  I'm 
> attempting to create a credential via:
>
> GoogleCredential credential = new 
> GoogleCredential.Builder().setTransport(HTTP_TRANSPORT)
> .setJsonFactory(JSON_FACTORY)
> .setServiceAccountId("x...@developer.gserviceaccount.com 
> ")
> .setServiceAccountScopes(Collections.singleton("
> https://adwords.google.com/api/adwords";))
> .setServiceAccountPrivateKeyFromP12File(new 
> File("C:\\downloads\\rmnadwords\\-privatekey.p12"))
> .setServiceAccountUser("m...@x.com")
> .build();
>
> On calling credential.refreshToken(), I get an "access_denied" response. 
>  I do *NOT* get the error response if I do not attempt to impersonate the 
> MCC account (i.e. removing the setServiceAccountUser line)...however, then 
> upon calling an AdWords API such as to get campaigns I receive the SOAP 
> fault "NOT_ADS_USER" response.
>
> We did follow the "Steps to granting a service account impersonation 
> abilities" from 
> https://developers.google.com/adwords/api/docs/guides/service-accounts. 
>  However this did not seem to work.  I have two questions / theories and am 
> open to any other suggestion to getting this interaction working via a 
> service account:
>
>
>1. Is it a problem that our MCC account has one domain...let's call it 
>Xfor legacy reasons, but the domain has changed to Y and so we manage 
>it via https://www.google.com/a/cpanel/Y/ManageOauthClients?  In 
>AdWords, do we need to create a new user linked to the MCC account, but 
>with the Y domain, and impersonate it in the API code rather than the MCC 
>account directly?
>2. Does the service account email address (
>...@developer.gserviceaccount.com  in the code above) 
>need to be invited to and linked with the MCC account through the AdWords 
>console?
>
> Thanks for any assistance.
>
> This e-mail, including attachments, contains confidential and/or 
> proprietary information, and may be used only by the person or entity to 
> which it is addressed. The reader is hereby notified that any 
> dissemination, distribution or copying of this e-mail is prohibited. If you 
> have received this e-mail in error, please notify the sender by replying to 
> this message and delete this e-mail immediately.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Dynamic Search Ads missing in Ad Performance Report

2013-08-29 Thread Takeshi Hagikura (AdWords API Team)
There are two reports that pull stats about Dynamic Search Ads. Keywordless 
category 
report<https://developers.google.com/adwords/api/docs/appendix/reports#keywordless-category>and
 Keywordless 
query 
report<https://developers.google.com/adwords/api/docs/appendix/reports#keywordless-query>
.
Can you please try them if there are what you want?
It's available with the versions currently alive (v201302 and v201306). But 
I recommend to use v201306. 

Best,
- Takeshi, AdWords API Team

On Monday, August 26, 2013 11:06:57 PM UTC+9, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Kevin,
>
> Are your account already enabled as a beta? 
>
> Best,
> - Takeshi, 
>
> On Friday, August 23, 2013 2:17:19 AM UTC+9, kevin wrote:
>>
>> I am not seeing Dynamic Search Ad data in v201302 Ad Performance 
>> Reports.. do I need to use a more recent version of the API? Is there some 
>> other report type that has this data? Thanks!
>>
>> Kevin
>>
>> On Wednesday, July 18, 2012 1:16:59 PM UTC-7, Kevin Winter wrote:
>>>
>>> Hi ,
>>>   Please consult the AdWords API Terms and 
>>> Conditions<https://developers.google.com/adwords/api/docs/terms>before 
>>> using another developer token (section II.1 is relevant to token 
>>> use).
>>>
>>> I recommend you speak with your 
>>> CSR<http://support.google.com/adwords/bin/answer.py?hl=en&answer=8206>regarding
>>>  getting into the Beta program.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Tuesday, July 17, 2012 2:58:12 PM UTC-4, valeriy wrote:
>>>>
>>>> But we have clients with Dynamic Search Ads and they are asking for 
>>>> that data. Should we use their developer tokens then? They actually have 
>>>> campaigns with dynamic search ads and some perf data,
>>>>
>>>> Valeriy
>>>>
>>>> On Tuesday, July 17, 2012 11:36:49 AM UTC-7, Kevin Winter wrote:
>>>>>
>>>>> Hi Valeriy,
>>>>>   Yes, DSA will be filtered out of responses for developer not 
>>>>> participating in the Beta program.  This is an invite-only program for 
>>>>> the 
>>>>> moment.  If your developer tokens belongs to CID ending 6628, then you 
>>>>> are 
>>>>> not currently in the Beta program.
>>>>>
>>>>> - Kevin Winter
>>>>> AdWords API Team
>>>>>
>>>>> On Tuesday, July 17, 2012 1:54:01 PM UTC-4, valeriy wrote:
>>>>>>
>>>>>> Yes, and they are in v201206 API and report docs mention Dynamic 
>>>>>> Search Ads in adType column description, but v201206 API does not return 
>>>>>> any performance data. I assume they are still being filtered out in 
>>>>>> results 
>>>>>> for some reason.
>>>>>>
>>>>>> Valeriy
>>>>>>
>>>>>> On Tuesday, July 17, 2012 9:15:49 AM UTC-7, Kevin Winter wrote:
>>>>>>>
>>>>>>> Hi Valeriy,
>>>>>>>   Dynamic Search Ads are currently available as a Beta feature 
>>>>>>> (program introduced in 
>>>>>>> v201109_1<http://googleadsdeveloper.blogspot.com/2012/05/adwords-api-v2011091-new-adwords.html>
>>>>>>> ).
>>>>>>>
>>>>>>> - Kevin Winter
>>>>>>> AdWords API Team
>>>>>>>
>>>>>>> On Monday, July 16, 2012 7:51:37 PM UTC-4, valeriy wrote:
>>>>>>>>
>>>>>>>> We upgraded to v201206 reporting API and still no Dynamic Search 
>>>>>>>> Ads in results.
>>>>>>>>
>>>>>>>> Valeriy
>>>>>>>>
>>>>>>>> On Monday, March 26, 2012 1:42:54 PM UTC-7, Kevin Winter wrote:
>>>>>>>>>
>>>>>>>>> Hi Richard,
>>>>>>>>>   Unfortunately, at this time I don't have any information about 
>>>>>>>>> when this feature will be available in the API.  In the meantime, 
>>>>>>>>> these Ads 
>>>>>>>>> are created via the UI and can still be reported on via the UI.
>>>>>>>>>
>>>>>>>>> - Kevin Winter
>>>>>>>>> AdWords API Team
>>>>>>>>>
>>>>>>>>&g

Re: Does google-api-ads-java never sunset?

2013-08-27 Thread Takeshi Hagikura (AdWords API Team)
Hi,

At the moment, we can't tell when the library will be sunset. 
But if we do so, we announce it in advance enough for everyone to migrate 
to the new one. 
(e.g. In the old Java 
library'scase, we announced 
it almost a year before we stop adding the new version's 
support)

Best,
- Takeshi, AdWords API Team

On Monday, August 26, 2013 4:15:07 PM UTC+9, lagu2653 wrote:
>
> Does google-api-ads-java never sunset? Or how frequently do you have to 
> update your code? Surely there must be some period of time after which your 
> code stops working.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Enhanced Campaign bid modifiers for Geo targets?

2013-08-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Reed, 

I answered in in a different 
thread. 
Please see it. 

Best,
- Takeshi, AdWords API Team

On Tuesday, August 27, 2013 12:01:27 AM UTC+9, Reed wrote:
>
> Does the API now support setting Enhanced Campaign bid modifiers for Geo 
> targets?  I don't think that it was in the initial rollout - is it there 
> now, or coming soon?
> thanks!
> Reed
>  
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: How is the report API performance in google-api-ads-java as compared to the AdWords API?

2013-08-27 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Do you mean the difference between old Java 
libraryand the new 
Java library ?
If so, I believe there is no significant difference in the client side 
between those two. 

Best,
- Takeshi, 

On Tuesday, August 27, 2013 3:16:45 PM UTC+9, lagu2653 wrote:
>
> Hi, 
>>
>> google-api-ads-java uses the AdWords API. 
>> google-api-ads-java is a wrapper to make using AdWords API easier.
>>
>> Best,
>> - Takeshi, 
>
>  
> But the AdWords API will be discontinued after 2013. Everyone will have to 
> move to google-api-ads.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Migrating from v201209 to v201306 with OAUTH2 but NO DATA BEING RETURNED

2013-08-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Larry,

You can adjust clientCustomerId through the auth.ini file or the 
AdWordsUser<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php>
.
Looking at the source code, the method name is setClientCustomerId not the 
setClientID. 
Can you please confirm the method name? If it doesn't work, please file a 
issue on the issue 
tracker<https://code.google.com/p/google-api-adwords-php/issues/list>
?

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 6:08:04 AM UTC+9, Larry Williamson wrote:
>
> How would we adjust clientCustomerId in the PHP sdk? Previously 
> $user->setClientID worked, but it doesn't seem to any longer..
>
> On Tuesday, August 20, 2013 1:09:49 AM UTC-4, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi, 
>>
>> Apologies for responding it late. 
>> Can you please include clientCustomerId header in your request?
>> The CampaignService.get should be made against an client account.
>>
>> Best,
>> - Takeshi
>>
>> On Wednesday, July 31, 2013 6:41:19 PM UTC+9, Rachel Kellett wrote:
>>>
>>> Hi,
>>>
>>> I have same issue.. Here is my soap_xml.log
>>>
>>> [Jul 31 2013 09:33:45.00 - INFO] POST 
>>> /api/adwords/cm/v201306/CampaignService?access_token=[REMOVED SENSITIVE 
>>> DATA] HTTP/1.1
>>> Host: adwords.google.com
>>> Connection: Keep-Alive
>>> User-Agent: PHP-SOAP/5.4.3
>>> Content-Type: text/xml; charset=utf-8
>>> SOAPAction: ""
>>> Content-Length: 1032
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>>> https://adwords.google.com/api/adwords/cm/v201306";>
>>>   
>>> 
>>>   [REMOVED SENSITIVE DATA]
>>>   INSERT_COMPANY_NAME_HERE (AwApi-PHP/4.5.0, 
>>> Common-PHP/5.0.0, PHP/5.4.3)
>>> 
>>>   
>>>   
>>> 
>>>   
>>> Id
>>> Name
>>> Impressions
>>> Clicks
>>> Cost
>>> Ctr
>>> 
>>>   Impressions
>>>   GREATER_THAN
>>>   0
>>> 
>>> 
>>>   20130724
>>>   20130730
>>> 
>>> 
>>>   0
>>>   500
>>> 
>>>   
>>> 
>>>   
>>> 
>>>
>>> HTTP/1.1 200 OK
>>> Content-Type: text/xml; charset=UTF-8
>>> Date: Wed, 31 Jul 2013 09:33:42 GMT
>>> Expires: Wed, 31 Jul 2013 09:33:42 GMT
>>> Cache-Control: private, max-age=0
>>> X-Content-Type-Options: nosniff
>>> X-Frame-Options: SAMEORIGIN
>>> X-XSS-Protection: 1; mode=block
>>> Server: GSE
>>> Transfer-Encoding: chunked
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201306";>
>>>   0004e2cb6bd2fed80ae5398842e8
>>>   CampaignService
>>>   get
>>>   1
>>>   201
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201306";>
>>>   
>>> 0
>>> CampaignPage
>>>   
>>> 
>>>   
>>> 
>>>
>>> Thanks
>>>
>>> Rachel
>>>
>>> On Wednesday, July 31, 2013 6:59:44 AM UTC+1, Takeshi Hagikura (AdWords 
>>> API Team) wrote:
>>>>
>>>> Hi, 
>>>>
>>>> Do you have soap request and response xml logs? 
>>>> Can you please share it (please remove sensitive info)
>>>>
>>>> Best,
>>>> - Takeshi, 
>>>>
>>>> On Tuesday, July 30, 2013 12:52:11 AM UTC+9, Jason Kelley wrote:
>>>>>
>>>>> So I downloaded and put in place the new adwords api php library 4.4.0 
>>>>> and changed my adwords version to v201306 and implanted Oauth2.0 login.
>>>>>
>>>>> All were required to even get anywhere.
>>>>>
>>>>> But now my code is no longer pulling data. NO errors just zero results.
>>>>>
>>>>> An Example is below and just to make sure I wasn’t going crazy I 
>>>>>  pulled this code from the examples folder and still got zero results.
>>>>>
>>>>&

Re: gender and age reports

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I got your point. 
But it's not still possible to get those stats via the API.

Best,
- Takeshi, AdWords API Team

On Saturday, August 24, 2013 9:55:19 PM UTC+9, u...@taykey.com wrote:
>
> Thanks for the replay Takeshi.
>
> In the UI, in the display network tab we can get a breakdown of the stats 
> for gender and age even if no gender or age criterion were created.
> (see attached photo)
>
> i wonder if it is possible to get it also using the api ?
>
> thanks!
>
> On Friday, August 23, 2013 8:25:26 AM UTC+3, Takeshi Hagikura (AdWords API 
> Team) wrote:
>>
>> Hi, 
>>
>> If no gender/age criterion is created, it's not possible. 
>> Sorry if I misunderstood your question, but in the first place, I'm not 
>> sure what kind of report you want
>> because there are no gender/age criteria?
>>
>> Best,
>> - Takeshi, 
>>
>> On Wednesday, August 21, 2013 8:09:58 PM UTC+9, u...@taykey.com wrote:
>>>
>>> Hi all,
>>>
>>> is it possible to get reports for gender/age if no gender/age criterion 
>>> was created ?
>>>
>>> in the UI we can get this when in the display network tab pressing the 
>>> gender or age options.
>>>
>>> thanks a lot!!
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Dynamic Search Ads missing in Ad Performance Report

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Kevin,

Are your account already enabled as a beta? 

Best,
- Takeshi, 

On Friday, August 23, 2013 2:17:19 AM UTC+9, kevin wrote:
>
> I am not seeing Dynamic Search Ad data in v201302 Ad Performance Reports.. 
> do I need to use a more recent version of the API? Is there some other 
> report type that has this data? Thanks!
>
> Kevin
>
> On Wednesday, July 18, 2012 1:16:59 PM UTC-7, Kevin Winter wrote:
>>
>> Hi ,
>>   Please consult the AdWords API Terms and 
>> Conditionsbefore using 
>> another developer token (section II.1 is relevant to token 
>> use).
>>
>> I recommend you speak with your 
>> CSRregarding
>>  getting into the Beta program.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Tuesday, July 17, 2012 2:58:12 PM UTC-4, valeriy wrote:
>>>
>>> But we have clients with Dynamic Search Ads and they are asking for that 
>>> data. Should we use their developer tokens then? They actually have 
>>> campaigns with dynamic search ads and some perf data,
>>>
>>> Valeriy
>>>
>>> On Tuesday, July 17, 2012 11:36:49 AM UTC-7, Kevin Winter wrote:

 Hi Valeriy,
   Yes, DSA will be filtered out of responses for developer not 
 participating in the Beta program.  This is an invite-only program for the 
 moment.  If your developer tokens belongs to CID ending 6628, then you are 
 not currently in the Beta program.

 - Kevin Winter
 AdWords API Team

 On Tuesday, July 17, 2012 1:54:01 PM UTC-4, valeriy wrote:
>
> Yes, and they are in v201206 API and report docs mention Dynamic 
> Search Ads in adType column description, but v201206 API does not return 
> any performance data. I assume they are still being filtered out in 
> results 
> for some reason.
>
> Valeriy
>
> On Tuesday, July 17, 2012 9:15:49 AM UTC-7, Kevin Winter wrote:
>>
>> Hi Valeriy,
>>   Dynamic Search Ads are currently available as a Beta feature 
>> (program introduced in 
>> v201109_1
>> ).
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Monday, July 16, 2012 7:51:37 PM UTC-4, valeriy wrote:
>>>
>>> We upgraded to v201206 reporting API and still no Dynamic Search Ads 
>>> in results.
>>>
>>> Valeriy
>>>
>>> On Monday, March 26, 2012 1:42:54 PM UTC-7, Kevin Winter wrote:

 Hi Richard,
   Unfortunately, at this time I don't have any information about 
 when this feature will be available in the API.  In the meantime, 
 these Ads 
 are created via the UI and can still be reported on via the UI.

 - Kevin Winter
 AdWords API Team

 On Monday, March 26, 2012 11:01:36 AM UTC-4, Richard wrote:
>
> Thanks for the quick response.
>
> This raises 2 important questions:
>  
> - When will support for Dynamic Search Ads, especially at the 
> report level be added to the API?
>
> - What are our options until official support is added?
>
> Advertisers spend large amounts of money on Dynamic Search Ads and 
> use tools to track their campaigns and justify their expenses. Not 
> having 
> access to this data is bad for business.
>
> Richard
>
>
> On Monday, March 26, 2012 10:11:00 AM UTC-4, Kevin Winter wrote:
>>
>> Hi,
>>   This is an intentional change.  Dynamic Search Ads were never 
>> officially supported in the AdWords API - you could never create 
>> them via 
>> the API.  We recently fixed a bug that allowed these Ads to show up 
>> in 
>> results for AdGroupAdService calls as well as the Ad Performance 
>> report. 
>>  This is the same behavior for other features not supported by the 
>> AdWords 
>> API (such as Video Campaigns).
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Wednesday, March 21, 2012 2:03:38 PM UTC-4, Antonio Tajuelo 
>> wrote:
>>>
>>> Hello everyone,
>>>
>>> I'm downloading an Ad Performance Report. It seems that Dynamic 
>>> Search Ads stopped appearing in this report for dates 2012-03-19 
>>> until now. 
>>> This report is being downloaded using AdWords PHP library.
>>>
>>> Are there any known issues about this?
>>>
>>

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

You received this message because you are subscribed to the Go

Re: API to get list of Pending Invitations

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi VijayRaj, 

It's not supported via the API.

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 7:34:45 PM UTC+9, VijayRaj Chauhan wrote:
>
> Hi Anash,
>
> In adwords account there is an option to invite other users as well. Is 
> there is an api to get the "Account Access Level"  for the authenticated 
> user?? I tried using *ManagedCustomerService *and also* CustomerService *api 
> but none of them tells whether the logged in user has a Standard access or 
> Read-Only access or Administrator access.
>
> TIA,
> VijayRaj
>
>
> On Tue, Feb 21, 2012 at 4:19 PM, Anash P. Oommen 
> 
> > wrote:
>
>> Hi Vijayraj,
>>
>> You could try getting some data from the account (e.g. list of 
>> campaigns). If you don't have access, then you will get an 
>> AuthorizationError.USER_PERMISSION_DENIED 
>> error. If you also have a list of accounts to which you originally sent 
>> invites, then you could combine these two details to find out what accounts 
>> haven't accepted your links yet.
>>
>> Hope this helps.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>>  -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://adwordsapi.blogspot.com
>> http://groups.google.com/group/adwords-api
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to 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
>>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Getting exception while fetching campaigns- "An API exception has occurred. See ApiException and InnerException fields for more details."

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I have answered in another thread. 
Closing this.

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 1:59:35 AM UTC+9, CML Dev wrote:
>
> Hi ,
>
> *Customer ID- 821-491-0728*
>
> I am getting an exception - "An API exception has occurred. See 
> ApiException and InnerException fields for more details." while executing 
> the line 
>
>   *CampaignPage page = service.get(selector);*
>
> The request info log goes like this ---
>
> *host=adwords.google.com
> ,url=/api/adwords/cm/v201306/CampaignService,method=get,operator=None,requestId=0004e47808422a480a42e9e97e67,serviceName=CampaignService,methodName=get,operations=0,responseTime=19
> *
>
> The soap_xml log goes like this 
>
> *-BEGIN API CALL-
>
> Request
> ---
>
>
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";>https://adwords.google.com/api/adwords/cm/v201306";>https://adwords.google.com/api/adwords/cm/v201306";>**  
> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>919-948-1414  
> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>Agency/SEM 
> (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/2.0.50727.4952, 
> gzip)https://adwords.google.com/api/adwords/cm/v201306
> ">IdNameStatusNameASCENDING
>
> Response
> 
>
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201306";>0004e47808422a480a42e9e97e67CampaignServiceget019soap:Server[QuotaCheckError.INCOMPLETE_SIGNUP
>  
> @ ; trigger:'']https://adwords.google.com/api/adwords/cm/v201306";>[QuotaCheckError.INCOMPLETE_SIGNUP
>  
> @ ; 
> trigger:'']ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="QuotaCheckError">QuotaCheckError.INCOMPLETE_SIGNUPQuotaCheckErrorINCOMPLETE_SIGNUP
> -END API CALL---*
>
>
>
> Kindly help me to find a solution for the same...
>
> Thanks in advance.
>
>
>
>
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] - is it because I'm using installed application credentials on a web application?

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Are you using a test account or a production account?
Either way, please make sure you have accepted the terms&conditions for 
AdWords API.

If you use a production account, please make sure you have filled in the 
billing information.

Best,
- Takeshi, 

On Wednesday, August 21, 2013 3:59:52 PM UTC+9, dylan@xmlretail.com 
wrote:
>
> Hi
>
> I am using version adwords_api_php_4.5.1 of the client library and 
> v201306 of the examples code. Using php version 5.3.13.
>
> I signed up for an installed web application client ID and secret and I'm 
> using that for a web application which runs all the adwords examples on 
> localhost - they are authorising correctly using the refresh token which I 
> got using the OAuth program in the examples.
>
> Now when I use the same code with the same authorisation code on my web 
> application running on my web server with domain name etc I'm getting this 
> error.
> An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'']
>
> Is this because I'm using the same credentials as my localhosr deployment?
>
> Do I need to apply for web application client ID and secret and run that 
> on the web application.
>
> I know this seems like a stupid question but I'm asking it because I had 
> the web app running for a week with the localhost app's token and I didn't 
> get any error - delayed reaction from Google perhaps?
>
> Thanks,
> Dylan
>
>
>
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Getting an exception - An API exception has occurred. See ApiException and InnerException fields for more details.

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see another 
thread
.
I believe it's because of the same reason.

Best,
- Takeshi,

On Thursday, August 22, 2013 2:21:38 AM UTC+9, Sharath Pk wrote:
>
> Customer ID- *821-491-0728*
>
> I am getting an exception "An API exception has occurred. See ApiException 
> and  InnerException fields for more details." while executing the line 
>
> *CampaignPage page = service.get(selector);*
> *
> *
> The request info log goes like this -
>
> *host=adwords.google.com
> ,url=/api/adwords/cm/v201306/CampaignService,method=get,operator=None,requestId=0004e47808422a480a42e9e97e67,serviceName=CampaignService,methodName=get,operations=0,responseTime=19
> *
> *
> *
> The soap_xml log follows: 
>
> *-BEGIN API CALL-*
> *
> *
> *Request*
> *---*
> *
> *
> *
> *
> *http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";>https://adwords.google.com/api/adwords/cm/v201306";>https://adwords.google.com/api/adwords/cm/v201306";>**  
> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>919-948-1414  
> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>Agency/SEM 
> (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/2.0.50727.4952, 
> gzip)https://adwords.google.com/api/adwords/cm/v201306
> ">IdNameStatusNameASCENDING
> *
> *
> *
> *Response*
> **
> *
> *
> *
> *
> *http://schemas.xmlsoap.org/soap/envelope/
> ">https://adwords.google.com/api/adwords/cm/v201306";>0004e47808422a480a42e9e97e67CampaignServiceget019soap:Server[QuotaCheckError.INCOMPLETE_SIGNUP
>  
> @ ; trigger:'']https://adwords.google.com/api/adwords/cm/v201306";>[QuotaCheckError.INCOMPLETE_SIGNUP
>  
> @ ; 
> trigger:'']ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="QuotaCheckError">QuotaCheckError.INCOMPLETE_SIGNUPQuotaCheckErrorINCOMPLETE_SIGNUP
> *
> *-END API CALL---*
>
>
> Kindly help me to find a solution
>
> Thanks in advance.
>
> *
> *
> *
> *
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Unable to get a refresh_token with GetRefreshToken.php

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Maybe it's the same issue for this 
thread
. 
If it doesn't help the situation, please let me know again.

Best,
- Takeshi

On Thursday, August 22, 2013 6:11:57 AM UTC+9, Mark wrote:
>
> Having used the adwords API for some years and upgraded various versions 
> of the PHP client library including the apility days however, we are having 
> major problems with the migration from v201209 to v201306
>
> Our use is solely to run our own adwords account by automatically changing 
> adverts prices,  adding new adgroups and keyword for new products.
>
> Currently we maintain some 13K + adgroups.
>
> We use the PHP client library as the base of our development for 
> authentication, updating and communication included from within our own 
> scripts which communicate directly with our database servers.
>
> As you can imagine as we have been offline since the sunset of v201209 
> this is now critical.
>
> Currently,  we have downloaded the v201306 php client library and uploaded 
> it to a test area on our server.
>
> We have followed the instructions about getting an OAuth 2.0 refresh_token 
> and that is where we have hit a brick wall.
>
> We have created a client_id and client_secret both of which have been 
> placed into the src/Google/Api/Ads/Adword/auth.ini file.
>
> The next step was to run GetRefreshToken.php
> We have ran this from  [url]/examples/AdWords/Auth/GetRefreshToken.phpand 
> initially ended up with a blank page.
>
>  
> Some debug later and we found that the command:
>
>
> if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { 
>
> return;
> }
>  
> was creating the problem. The realpath command is returning false 
> (something common seamingly as the script running does not have write 
> privilages to the lower level items of the path) and therefore the two 
> values did not match and consequently the script was just stopping without 
> any message hence the white screen.
>  
>
> So we commented out these commands and tried again.   This time we got a 
> little further but still received an error.
>
> Log in to your AdWords account and open the following URL: 
>
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=[REMOVED].apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>
> After approving the token enter the authorization code here: 
> Your OAuth2 Credentials are incorrect.
> Please see the GetRefreshToken.php example.
> {
>   "error" : "invalid_request"
> }
>
> Even with the error, we tried to use the url by manually posting it in a 
> browser but that give us an error that the url was incorrect.
>  
> Having trolled through many forum and web posts we are still no further 
> forward as to what could be the problem.
>  
> Any assistance to just get past this first step of getting a refresh_token 
> would be appreciated
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: ManagedCustomerService and $user->SetClientId($acct->customerId); no longer works in v201306

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please share the xml request/response logs with which you can't get 
the campaigns?
(Please remove the sensitive info before posting it)

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 5:58:49 AM UTC+9, Larry Williamson wrote:
>
> I am migrating some code from v201209 to v201306 and OAuth2 -- I have 
> authentication working, and I can use ManagedCustomerService to get the 
> customer IDs, IE:
>
> $managedCustomerService = $user->GetService('ManagedCustomerService', 
> ADWORDS_VERSION);
> $selector = new Selector();
> $selector->fields = array('Login', 'CustomerId', 'Name', 
> 'CompanyName');
> $graph = $managedCustomerService->get($selector);
>
> $overall_totals = array();
> foreach ($graph->entries as $acct) {
> echo" company='{$acct->companyName}' email='{$acct->login}'>\r\n";
> } 
>
> But when I used to use $user->SetClientId($acct->customerId  in the 
> previous version, it would switch contexts to the new user id and I could 
> use campaign service to find any and all campaigns, and get their data.
>
> Now after switching to OAuth2, I don't get any campaigns at all.
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: bid adjustments

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Greg, 

It's not supported via the API, but unfortunately not supported yet. 
It's on the roadmap, but for now we can't tell when that will be available. 

We'll let you know through our normal announcement paths like blog posts. 
Please stay tuned for updates. 

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 6:32:18 AM UTC+9, GregT wrote:
>
> Hi,
>
> According to the documentation that I see at 
> https://developers.google.com/adwords/api/docs/guides/adgroup-bid-modifiers
>  and 
> https://developers.google.com/adwords/api/docs/reference/v201306/AdGroupBidModifierService.AdGroupBidModifier,
>  
> the only adgroup bid modifiers that are available through the API are 
> mobile bid modifiers, which we have been successfully using.
>
> However, AdWords allows other types of adgroup level bid modifiers that we 
> also want to be able to adjust.  The most important to us is remarketing 
> for search, but you can also create bid modifiers (not just absolute CPC 
> bids) on display campaigns for things like gender, age, user lists, etc. 
>  However, I don't see any way to query or change any of these bid modifiers 
> through the API.
>
> Am I missing something?  Is there a way (whether through the 
> AdGroupBidModifierService despite what the documentation says, or some 
> other mechanism) to do adgroup level bid modifiers other than just mobile 
> bid modifiers?
>
> If not, are there plans to introduce these into the API?
>
> Thanks in advance,
> Greg
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: google API PHP - trubles connecting QAUTH2

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please see another 
thread
?
If it doesn't solve it, please let me know again.

Best,
- Takeshi, AdWords API Team

On Wednesday, August 21, 2013 9:39:48 PM UTC+9, Shay Yosef Guri wrote:
>
> I’ve downloaded the PHP client library – version -   adwords_api_php_4.5.1
>
> My developer key got approved
>
> I’ve issued a client ID and client secret in 
> https://code.google.com/apis/console#access for Installed Applications
>
>  Also refreshed the token using GetRefreshToken.php
>
> And in my  Auth.ini script  ( located at 
> adwords_api_php_4.5.1\src\Google\Api\Ads\AdWords ) 
>
>  i filled in the
>
> 1. developerToken 
>
> 2. userAgent ( company Name ) 
>
> 3.Client_ID 
>
> 4.Client_Secret
>
> 5. refresh_token 
> 
>   
> I’ve tried to run a few samples scripts but I keep getting error of 
> invalid grant
>
> How do I continue from here?  how do I connect ? 
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Tell me please, can I link new account and our BD..

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Sorry I'm not 100% sure what do you mean by "link".
Can you please elaborate more on that?

Best,
- Takeshi, 

On Thursday, August 22, 2013 9:55:42 PM UTC+9, Blizko wrote:
>
> Hello! Tell me please, can I link  ID (companies, groups, banners)between the 
> old account and the new account, subject to full copy of these 
> accounts. I.e. account has copied; all companies, groups, banners have 
> migrated and  conservation ID (example b21577_p12345_t685412) has realized. 
> We use API for exchange with our BD, and new ID API  (example id_aw) were 
> created in new account. Tell me please, can I link  new account  and our 
> BD.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: getting exception while fetching campaigns.

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Are you using a test account or production account? 
Either way, please make sure you have accepted the terms&conditions for 
AdWords API. 

If it's production account, please make sure you have filled in the billing 
information.

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 6:26:03 PM UTC+9, Sharath Pk wrote:
>
>
> I am getting exception while fetching campaings on the line --
>
> *CampaignPage page = service.get(selector);*
> *
> *
> Exception says -- 'An API exception has occurred. See ApiException and 
>  InnerException fields for more details.'
>
> Request Info Log and soap_xml log attached.
>
> Kindly Help
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Error Handling on ReturnValue objects on mutate calls

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

In the ApiError entity, you can get fieldpath that contains like this kind 
of String "operations[0].operand.id".
>From that, you can know what operations failed. 

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 6:19:19 PM UTC+9, Cap'n of d'Ship wrote:
>
> when I call 
> AdGroupReturnValue result = adGroupService.mutate(adGroupOperations);
>
> I can do a 
> ApiError[] errors = result.getPartialFailureErrors() to get the errors.
>
> if, for example I have 10 items in adGroupOperations and only 2 got 
> errors, the errors array will only contain 2 elements, is that correct?  
> How will I know which 2 elements have the are those?  ideally I want to 
> know the index of the failed operation in the adGroupOperations that I 
> submitted in the mutate request.
>
> Is that possible to obtain?  If not, what are my options? 
>
> Are there errors that will throw an exception instead of return in this 
> partial error array?
>
> thanks
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: How can i get Keywordless Query Report

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Beta feature is a invite-only program. 
Please contact your account manager or CSR for more details.

Best,
- Takeshi, 

On Thursday, August 22, 2013 6:13:42 PM UTC+9, 
suchtreffer-...@suchtreffer.de wrote:
>
>  hello,
>
> i need a Keywordless Query Report  for DSA, this report is only available 
> in beta version.
>
> how can i get access for beta feature?
>
> thanks.
>  

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Get the used device for report

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi David, 

Adhoc reports are the recommended way to pull the stats segmented by 
Device. 
What part is missing with AdHoc reports? Maybe I come up with a different 
answer based on your demand. 

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 3:38:42 PM UTC+9, David Morawitzky wrote:
>
> Hi Takeshi,
>  
> thanks for your answer.
> I'd like to use the different services to get the report-data. 
> Is there any possibility to get this out of one of the services?
>  
> Greetz,
>  
> David 
>
> Am Montag, 19. August 2013 11:06:11 UTC+2 schrieb Takeshi Hagikura 
> (AdWords API Team):
>
>> Hi,
>>
>> There is a Device field that segments the stats by Device in Ad 
>> Performance 
>> Rerpot<https://developers.google.com/adwords/api/docs/appendix/reports#ad>
>> .
>> Please refer this guide on how to use adhoc 
>> reports<https://developers.google.com/adwords/api/docs/guides/reporting> or 
>> the example 
>> code<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/v201306/Reporting/DownloadCriteriaReport.php>
>> .
>>
>> Best,
>> - Takeshi, 
>>
>> On Wednesday, August 14, 2013 3:58:59 PM UTC+9, David Morawitzky wrote:
>>>
>>> Hey guys,
>>>
>>> I am trying to write an Application in which I extract useful 
>>> information about the ads (cost, clicks, etc.).
>>> I'd also like to get the device on which the ad was clicked. 
>>>
>>> I am a bit confused, because this can be selected in ValueTrack URL, but 
>>> I can't find it in any service.
>>>
>>> The only thing I found is the DevicePreference in the AdGroupAdService. 
>>> But this seems to be an Id or something similar.
>>> I'd like to have it in the same way as in the ValueTrack URL.
>>>
>>> Can someone help me and tell me where to find the device?
>>>
>>> I am using PHP.
>>>
>>> Thanks
>>>
>>> David
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: can't get the OAuth2 token (or credential, bugs in Eclipse)

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Please see another 
thread
.

Best,
- Takeshi,

On Friday, August 23, 2013 12:10:25 AM UTC+9, yf...@fxcm.com wrote:
>
> Hi guys, I wanted to working with the java code in Google Adwords API rather 
> than the User Interface. 
>
>
> Then I followinged the procedure in this P 
> AGE! I applied for 
> the API access, and I also had a Test Account working right now. My developer 
> token is now "pending approval". I also create a "client ID for installed 
> application" in this P AGE! I insert 
> the client ID and client secret in the code (which I'm using Eclipse to edit)
>
>
> However, it looks like I need a OAuth2 credential, but everytime, when it 
> comes to the step of "Paste this url in your browser: and Type the code you 
> received here: ". I had successfully got the code from the url, but when I 
> paste it in Eclipse and press "Enter" it shows a lot of bugs, like:"Exception 
> in thread "main" javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target"
>
>
> Let me know, if I didn't describe my issue clearly.
>
>
> See the attached picture.
>
>
> Thanks you guys a lot!
>
>
>
> 
>
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: can't get the OAuth2 token (or credential, have bugs in Eclipse)

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I think it's because of the issue on a different layer from the AdWords API 
like in this 
question
. 
Does that solve your situation?

Best,
- Takeshi, AdWords API Team

On Thursday, August 22, 2013 11:39:17 PM UTC+9, yf...@fxcm.com wrote:
>
> I strictly followed the steps in setup a OAuth2 credential, but when it comes 
> to the step of "Paste this url in your browser: and Type the code you 
> received here: ". I had successfully got the code from the url, when I paste 
> it in Eclipse and press "Enter" it shows a lot of bugs, like:"Exception in 
> thread "main" javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target"
>
> So I can't even start with my Adwords API coding. I feel like the issues 
> maybe because with my own local server?
>
>
> Ideally, I should have got the authorization, then I can start work with the 
> Java code, link it with my Google adwords Interface, then  create campaign, 
> keywords, etc. 
>
>
> I am using Eclipse and Maven for java. On Win7.
>
>
> See my attached Picture for detail information.
>
>
> 
>
> Thanks
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: google adwords api oauth2 test environment

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

You can use a test account. Please see the 
guide
.
You can authenticate it with your MCC account, and that credential should 
work against your test account (that is the child account of your MCC 
account).

Best,
- Takeshi, AdWords API Team

On Monday, August 26, 2013 1:34:47 PM UTC+9, Michael Ni wrote:
>
> Is there a test environment for google adwords api?
>
> I want to bypass the oauth2 authorization.
>
> It is difficult to test when I have to get authorization from oauth2, 
> mainly due to the callback.
>
> Or at least is there a generic access token + refresh token for a test 
> environment.
>
> Mike
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Call Extension dump

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Using, 
CampaignFeedService,
 
it's possible. 
Please see the 
guidefor 
feed services on how feeds work.

Best,
- Takeshi, AdWords API Team

On Saturday, August 24, 2013 9:14:48 AM UTC+9, payfo...@gmail.com wrote:
>
> Hi,
>
> Is there a way to get a dump of all the call extensions associated with a 
> campaign/adgroup within a client through api? Basically need data like this 
> campaign id, adgroupid, callextension.
>
> thanks
> Sundi
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: How is the report API performance in google-api-ads-java as compared to the AdWords API?

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

google-api-ads-java uses the AdWords API. 
google-api-ads-java is a wrapper to make using AdWords API easier.

Best,
- Takeshi, 

On Monday, August 26, 2013 4:08:22 PM UTC+9, lagu2653 wrote:
>
> How is the report API performance in google-api-ads-java as compared to 
> the AdWords API? Right now we're pushing the AdWords report API to the 
> limit.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: OAuth2TokenGenerator - OAuth2 api setup error

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi,

In the api console, what did you fill in as redirect URLs?
It should include the URL of the Web application you specified as the 
redirect URL. 

Best,
- Takeshi, AdWords API Team

On Saturday, August 24, 2013 12:32:49 AM UTC+9, Kevin T wrote:
>
> I am trying to use this program OAuth2TokenGenerator.cs that is found in 
> the .NET examples and when I get to step 2 The API Access interface doesn't 
> allow me to put {0} as the redirect URL.  The error I get is: "OAuth 2 
> redirect URL "{0}" is invalid."   How can I setup this to work?  I'm 
> guessing I'm missing something simple. Thanks.
>
> This application generates the necessary configuration that allows you to
> configure your application to use OAuth2 as authentication mechanism when
> working with various Ads* .NET client libraries. To use this application,
>
> 1) Navigate to https://code.google.com/apis/console/ and create a new 
> project.
> 2) Click API Access link on the left side of the page and Create an OAuth2
>client ID. *Select application type as Web Application. Click the link
>'More options' link next to 'Your site or hostname' and enter {0}
>as a redirect URI.*
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Handling Errors on Mutate (Java)

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

> is this ApiError[] the same size as the adGroupOperations passed to 
mutate?
It's not the case. 
ApiError[] includes only the errors corresponding to the operations that 
fail. 

> I've seen some code online using mathcer to match something like 
- Pattern.compile("^.*operations\\[(\\d+)\\].*$");  to get the index (I'm 
assuming this is the  index of the adGroupOperation that I passed to 
mutate. 
That kind of code works. Like this 
codein
 the client library.

Best,
- Takeshi, AdWords API Team


On Friday, August 23, 2013 9:51:10 AM UTC+9, Cap'n of d'Ship wrote:
>
> When doing a mutate on adGroupService, the return value 
> of AdGroupReturnValue can give us the partialfailure errors in the form of 
> ApiError[].
>
> What I haven't been able to confirm is, is this ApiError[] the same size 
> as the adGroupOperations passed to mutate?  And if so, is the arrangement 
> of the errors there the same as the arrrangement of the adgroupOperations 
> passed in the mutate operation?  
>
> I've been having trouble matching the given error with the speicifc 
> adGroupOperation.
>
> I've seen some code online using mathcer to match something like 
> - Pattern.compile("^.*operations\\[(\\d+)\\].*$");  to get the index (I'm 
> assuming this is the index of the adGroupOperation that I passed to mutate. 
>  
>
> Let me know which ones of my assumptions are correct and which are not.  
>
> thanks!
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: PHP Reporting API and meeting the MRF

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Jim, 

Unlike other SOAP services, the result of the adhoc reports is returned as 
one of the following format.
CSVFOREXCEL
CSV
TSV
XML
GZIPPED_CSV
GZIPPED_XML

You can include one of the above like in the following code. 
$reportDefinition->downloadFormat = 'CSV';

Best,
- Takeshi, AdWords API Team


On Friday, August 23, 2013 12:10:48 PM UTC+9, Jim Zuccon wrote:
>
> Hi guys,
>
> Am trying to implement the Minimum Required Functionality for Reporting in 
> a PHP Application, but am having a little trouble working out how the 
> ReportDefinitionService works.
>
> At present, I have the following erronous code which hopefully 
> demonstrates roughly what I'm trying to do:
>
> $selector = new \Selector();
> $selector->fields = array('Id', 'Name', 'Clicks', 'Cost', 'Impressions', 
> 'Conversions', 'Status' );
> $selector->ordering[] = new \OrderBy('Name', 'ASCENDING');
> $campaignPerformanceReportService = 
> $user->GetService('ReportDefinitionService', ADWORDS_VERSION);
> $campaignPerformanceReportService->reportType = 
> 'CAMPAIGN_PERFORMANCE_REPORT';
> $page = $campaignPerformanceReportService->get($selector);
> $campaignPerformanceReport = $page->entries;
>
> However, looking at the example code, I've noticed that Reports download 
> to CSV, so I'm not even sure that what I'm attempting to do (get the data 
> the same as with the other services) is supported.
>
> Is there any example code or documentation that you might be able to point 
> me to to help me in this regard?
>
> Thanks in advance,
> - Jim
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Adwords api authorization help

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

What do you mean by USER_ID? 

> in ad.properties, how can i get
> api.adwords.clientCustomerId=
It should be the client account you want to make an API call against.

> api.adwords.userAgent=
You can put any strings as you want. It is used for logging purpose. 

> api.adwords.developerToken=
It should be developer token for your MCC account. You can check it from 
the AdWords UI. 

Best,
- Takeshi, AdWords API Team

On Friday, August 23, 2013 12:39:59 PM UTC+9, Quốc Nguyễn wrote:
>
> i have down load google adwords api   
> adwords-axis-examples-1.18.1.tar.gz
>
> and get from  https://code.google.com/apis/console#access
>
>
>
> Client ID:
> 584331456909-.apps.googleusercontent.com
> Client secret: gbN_IL4s4c...
> Redirect URIs urn:...:2.0:oob:
>
> but how can i get 
> USER_ID 
>
> in ad.properties, how can i get
> api.adwords.clientCustomerId=
> api.adwords.userAgent=
> api.adwords.developerToken=
>
>
> please help me.
>
>
>
>
>
>
>
>
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Test Account

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I looked into your MCC account, looks like you haven't accepted the 
terms&conditions for the API. 
In the AdWords UI, it comes the next page of the billing setup page. 
Can you please  confirm that?

Best,
- Takeshi, AdWords API Team

On Friday, August 23, 2013 8:40:41 PM UTC+9, Abakumov Sviatoslav wrote:
>
> 
> *** Outgoing SOAP **
> 
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENC="
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi3="
> http://www.w3.org/2001/XMLSchema-instance";>
>  https://adwords.google.com/api/adwords/cm/v201306"; 
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201306";>
>   
>REDACTED
>OAuth2 Example (AwApi-Python/15.9.1, Common-Python/3.1.1, 
> Python/2.7)
>415-898-4730
>   
>  
>  
>   https://adwords.google.com/api/adwords/cm/v201306"; 
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201306";>
>
> Id
> Name
> Status
>
>   
>  
> 
> 
> *** Incoming SOAP **
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>  
>   https://adwords.google.com/api/adwords/cm/v201306
> ">
>0004e49bd13ba3480ae5b2ca2f83
>CampaignService
>get
>0
>238
>   
>  
>  
>   
>soap:Server
>[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'<null>']
>
> https://adwords.google.com/api/adwords/cm/v201306";>
>  [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'<null>']
>  ApiException
>  http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="QuotaCheckError">
>   
>   <null>
>   QuotaCheckError.INCOMPLETE_SIGNUP
>   QuotaCheckError
>   INCOMPLETE_SIGNUP
>  
> 
>
>   
>  
> 
> 
>
> среда, 21 августа 2013 г., 12:51:46 UTC+4 пользователь Takeshi Hagikura 
> (AdWords API Team) написал:
>>
>> Hi, 
>>
>> Can you please share the example xml request that fails (please remove 
>> sensitive info such as developer token, auth token)?
>>
>> Best,
>> - Takeshi
>>
>> On Saturday, August 17, 2013 12:28:14 AM UTC+9, Павел Силенко wrote:
>>>
>>> There is a test account, ID client: 374-873-6083, for any given query 
>>> error: QuotaCheckError.INCOMPLETE_SIGNUP
>>>
>>> Help solve the problem!
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Stats for keyword are reproduced and shwon for wrong ads

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi,

You can retrieve stats based on Keywords using Keyword Performance 
Report<https://developers.google.com/adwords/api/docs/appendix/reports#keywords>
,
stats based on Ads using Ad Performance 
Report<https://developers.google.com/adwords/api/docs/appendix/reports#ad>
.
It's not possible to retrieve both at the same time (i.e. KeywordId and 
AdId), but it's also the case in UI I think. 
Also in the UI, you can see stats on ads and keywords individually, but you 
can't see which ads are triggered from a specific keyword (and vice versa). 

Best,
- Takeshi, AdWords API Team

On Friday, August 23, 2013 2:48:13 PM UTC+9, David Morawitzky wrote:
>
> Hi,
>  
> sorry my English is really bad.
>  
> No, I don't have the SOAP Logs.
>  
> My problem is, that I want to get the stats of an ad. But these stats also 
> have to be dependend on the keywords which triggered the Impression of the 
> ad.
>  
> e.g.:
>  
> Ad 1 | 25 Impressions
>  
> Keyword 1 | 12 Impressions
> Keyword 2 | 12 Impressions
> Keyword 3 | 1 Impression
>  
> At the moment I can only achieve the stats for either the ads or the 
> keywords.
>  
> I know I can get this in the UI. But I didn't find any way to get it 
> through the API.
> A way might be to match KeywordId and AdId, but I didn't find a way to do 
> this.
>  
> Hope you understand it better right now.
>  
>
> Am Freitag, 23. August 2013 06:34:40 UTC+2 schrieb Takeshi Hagikura 
> (AdWords API Team):
>
>> Hi, 
>>
>> Do you have SOAP request/response logs? 
>> It's better than source code for troubleshooting. 
>>
>> Sorry I'm not 100% sure what's the problem you are facing, let me think 
>> with the soap logs.
>>
>> Best,
>> - Takeshi, 
>>
>> On Monday, August 19, 2013 3:40:13 PM UTC+9, David Morawitzky wrote:
>>>
>>>
>>> Hey, 
>>> in my project I am trying to get stats for every keyword in the form of:
>>> campaign_ID
>>> campaign_Name
>>> adGroup_ID
>>> adGroup_Name
>>> ad_ID
>>> ad_Header
>>> targetURL
>>> keyword_id
>>> keyword_text
>>> matchtype
>>> network
>>> average_position
>>> clicks
>>> impressions
>>> ctr
>>> qualityfactor
>>> cost
>>> average_cpc
>>> I am using AdGroupCriterionService, AdGroupAdService, and AdGroupService 
>>> and get data for all the points.
>>> But the problem is, that the output seems to be focused on the adGroup.
>>> So I get for each ad in the adgroup the same stats, no matter what 
>>> keyword belongs to it. Also if some ads didn't even get one impression.
>>> It's hard to describe, my English is bad.
>>> Here is an example of my output:
>>>
>>> (
>>>
>>> [0] => Array
>>>
>>> (
>>>
>>> [date_start] => 2013-08-18
>>>
>>> [date_end] => 2013-08-18
>>>
>>> [campaign_Id] => 49230926
>>>
>>> [campaign_Name] => xxx
>>>
>>> [adGroup_Id] => 1172464046
>>>
>>> [adGroup_Name] => Zweitwagenversicherung
>>>
>>> [ad_ID] => 4605933386
>>>
>>> [ad_Header] => xxx
>>>
>>> [targetURL] => xxx
>>>
>>> [keyword_id] => 12944618306
>>>
>>> [keyword] => zweitwagen versichern
>>>
>>> [matchtype] => EXACT
>>>
>>> [network] => SEARCH
>>>
>>> [average_position] => 1
>>>
>>> [clicks] => 2
>>>
>>> [impressions] => 1
>>>
>>> [ctr] => 2
>>>
>>> [qualityfactor] => 10
>>>
>>> [cost] => 2.62
>>>
>>> [average_cpc] => 1.31
>>>
>>> )
>>>
>>>  [1] => Array
>>>
>>> (
>>>
>>>  [date_start] => 2013-08-18
>>>
>>> [date_end] => 2013-08-18
>>>
>>> [campaign_Id] => 49230926
>>>
>>> [campaign_Name] => xxx
>>>
>>> [adGroup_Id] => 1172464046
>>>
>>> [adGroup_Name] => Zweitwagenversicherung
>>>
>>> [ad_ID] => 13424137106
>>>
>>> [ad_Header] => Zweitwagenvers.
>>>
>>> [targetURL] => xxx
>>>
>>> [keyword_id] => 12944618306
>>>
>>> [keyword] => zweitwagen versichern
>>>
>>> [matchtype] => EXACT
>>>
>>> [network] => SE

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, 

Grad to hear that the problem resolved. 

Thanks,
- Takeshi, 

On Saturday, August 24, 2013 3:03:10 AM UTC+9, Jur wrote:
>
> Hello Takeshi,
>
> Problem solved
>
> Thanks, I feel a bit stupid I didn't think of this.
> But still, it's not that obvious.
>
> Thanks again!
>
> Regards,
>
> Jur
>
>
> Op vrijdag 23 augustus 2013 07:05:23 UTC+2 schreef Takeshi Hagikura 
> (AdWords API Team):
>>
>> Hi Jur,
>>
>> I got it. 
>>
>> > I click accept and get :
>> > Please copy this code, switch to your application and paste it there:
>> In that step, when you get is an authorization code (kind of one time 
>> password) that can be used to generate access token (and refresh token when 
>> offline-mode).
>> In GetRefreshToken.php, the line 
>> 65<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php#65>
>>  does 
>> that. 
>> Then, refresh token should be returned.
>>
>> In the auth.ini, please use that refresh token, not the authorization 
>> code. 
>>
>> Hope this helps. 
>> Best,
>> - Takeshi, 
>>
>> On Thursday, August 22, 2013 4:44:54 PM UTC+9, Jur wrote:
>>>
>>> Hello Takeshi,
>>>
>>> I used my MCC account to generate the client_id and client_secret.
>>>
>>>  Client ID for installed applications 
>>>   Client ID:xxx
>>> .apps.googleusercontent.com
>>>   Client secret: 
>>> xxx
>>>   Redirect URIs: urn:ietf:wg:oauth:2.0:oob http://localhost
>>> The GetRefreshToken.php didn't give me a refresh token immediately it 
>>> gave me this :
>>>
>>> Log in to your AdWords account and open the following URL: 
>>> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=xx.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offlineAfter
>>>  approving the token enter the authorization code here:  
>>>
>>> After I go to the link a get a page with:
>>> This app would like to:
>>> Manage your AdWords campaigns
>>> Adsys and Google will use this information in accordance with their 
>>> respective terms of service and privacy policies.
>>>
>>> I click accept and get :
>>> Please copy this code, switch to your application and paste it there:
>>>
>>> With the token there.
>>>
>>> I put that token in auth,ini
>>>
>>> Regards,
>>>
>>> Jur
>>>
>>>
>>> Op donderdag 22 augustus 2013 07:39:26 UTC+2 schreef Takeshi Hagikura 
>>> (AdWords API Team):
>>>>
>>>> Hi Jur,
>>>>
>>>> The SOAP xml looks right to me. 
>>>>
>>>> So next, what account did you use in api console to retrieve your 
>>>> client id and client secret?
>>>> Also did you replace the refresh_token in your auth.ini by the refresh 
>>>> token returned in GetRefreshToken.php?
>>>>
>>>> Best,
>>>> - Takeshi, 
>>>>
>>>> On Wednesday, August 21, 2013 11:05:34 PM UTC+9, Jur wrote:
>>>>>
>>>>> Hello Takeshi,
>>>>>
>>>>> I think the error is in this part of the code in the file 
>>>>> /Common/Lib/AdsSoapClient.php:
>>>>> $response = parent::__soapCall($function_name, $arguments, $options,
>>>>>   $input_headers, $output_headers);
>>>>>
>>>>> Hope you can help me!
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jur
>>>>>
>>>>> Op woensdag 21 augustus 2013 13:53:06 UTC+2 schreef Jur:
>>>>>>
>>>>>> Hello Takeshi,
>>>>>>
>>>>>> I did find it a strange request, but I did send it anyway :-)
>>>>>> Thanks for removing the message.
>>>>>>
>>>>>> I think this is the XML send :
>>>>>>
>>>>>> >>>>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
>>>>>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>823-418-1279RIS_Online_Conversion
>>>>>>  (AwApi-PHP/4.4.0, Common-PHP/5.0.0, 
>>>>>> PHP/5.3.3)IdNameNameASCENDING0500
>>>>>>
>>>>>>
>>

Re: Exclude IP Address using Adwords API

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Shobha, 

Unfortunately it's not supported via the API. 

Best,
- Takeshi, AdWords API Team

On Friday, August 23, 2013 4:00:13 PM UTC+9, shobha.p...@gmail.com wrote:
>
> Hi,
>
> We can exclude IP addresses using Adwords. Is this feature supported by 
> Adwords API? Can we exclude IPs using the latest version of Adwords API
>
> Shobha
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: gender and age reports

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

If no gender/age criterion is created, it's not possible. 
Sorry if I misunderstood your question, but in the first place, I'm not 
sure what kind of report you want
because there are no gender/age criteria?

Best,
- Takeshi, 

On Wednesday, August 21, 2013 8:09:58 PM UTC+9, u...@taykey.com wrote:
>
> Hi all,
>
> is it possible to get reports for gender/age if no gender/age criterion 
> was created ?
>
> in the UI we can get this when in the display network tab pressing the 
> gender or age options.
>
> thanks a lot!!
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Forbidden Display URLs

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Unfortunately we don't have a that kind of list. 

Best,
- Takeshi, AdWords API Team

On Wednesday, August 21, 2013 7:43:01 PM UTC+9, Abbas Abidi wrote:
>
> Hello Google Adwords Team,
>
> Is there a list of forbidden URLs that Google rejects with 
> PolicyVoilationError? For example, when using "http://www.google.com"; as 
> a display URL for my Ads, I got PolicyVoilationError. I have gone through 
> your policy page but didn't find anything particularly on forbidden/allowed 
> URLs. 
>
> Thanks!
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur,

I got it. 

> I click accept and get :
> Please copy this code, switch to your application and paste it there:
In that step, when you get is an authorization code (kind of one time 
password) that can be used to generate access token (and refresh token when 
offline-mode).
In GetRefreshToken.php, the line 
65<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php#65>
 does 
that. 
Then, refresh token should be returned.

In the auth.ini, please use that refresh token, not the authorization code. 

Hope this helps. 
Best,
- Takeshi, 

On Thursday, August 22, 2013 4:44:54 PM UTC+9, Jur wrote:
>
> Hello Takeshi,
>
> I used my MCC account to generate the client_id and client_secret.
>
>  Client ID for installed applications 
>   Client ID:xxx
> .apps.googleusercontent.com
>   Client secret: 
> xxx
>   Redirect URIs: urn:ietf:wg:oauth:2.0:oob http://localhost
> The GetRefreshToken.php didn't give me a refresh token immediately it gave 
> me this :
>
> Log in to your AdWords account and open the following URL: 
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=xx.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offlineAfter
>  approving the token enter the authorization code here:  
>
> After I go to the link a get a page with:
> This app would like to:
> Manage your AdWords campaigns
> Adsys and Google will use this information in accordance with their 
> respective terms of service and privacy policies.
>
> I click accept and get :
> Please copy this code, switch to your application and paste it there:
>
> With the token there.
>
> I put that token in auth,ini
>
> Regards,
>
> Jur
>
>
> Op donderdag 22 augustus 2013 07:39:26 UTC+2 schreef Takeshi Hagikura 
> (AdWords API Team):
>>
>> Hi Jur,
>>
>> The SOAP xml looks right to me. 
>>
>> So next, what account did you use in api console to retrieve your client 
>> id and client secret?
>> Also did you replace the refresh_token in your auth.ini by the refresh 
>> token returned in GetRefreshToken.php?
>>
>> Best,
>> - Takeshi, 
>>
>> On Wednesday, August 21, 2013 11:05:34 PM UTC+9, Jur wrote:
>>>
>>> Hello Takeshi,
>>>
>>> I think the error is in this part of the code in the file 
>>> /Common/Lib/AdsSoapClient.php:
>>> $response = parent::__soapCall($function_name, $arguments, $options,
>>>   $input_headers, $output_headers);
>>>
>>> Hope you can help me!
>>>
>>> Regards,
>>>
>>> Jur
>>>
>>> Op woensdag 21 augustus 2013 13:53:06 UTC+2 schreef Jur:
>>>>
>>>> Hello Takeshi,
>>>>
>>>> I did find it a strange request, but I did send it anyway :-)
>>>> Thanks for removing the message.
>>>>
>>>> I think this is the XML send :
>>>>
>>>> >>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
>>>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>823-418-1279RIS_Online_Conversion
>>>>  (AwApi-PHP/4.4.0, Common-PHP/5.0.0, 
>>>> PHP/5.3.3)IdNameNameASCENDING0500
>>>>
>>>>
>>>> Op dinsdag 20 augustus 2013 17:37:50 UTC+2 schreef Takeshi Hagikura 
>>>> (AdWords API Team):
>>>>>
>>>>> Hi Jur,
>>>>>
>>>>> Sorry I didn't mean to post client id and client secret. 
>>>>> I wanted to know what account did use to get your client id and client 
>>>>> secret.
>>>>>
>>>>> If you used your MCC account under which your test account is in or 
>>>>> the test account itself for getting client id and secret,
>>>>> the CampaignService.get should work. 
>>>>>
>>>>> Also I wanted to confirm the xml request log for CampaignService.get. 
>>>>> Specifically clientCustomerId (for your test account) was included in 
>>>>> the soap header. 
>>>>>
>>>>> Best,
>>>>> - Takeshi,
>>>>>
>>>>> On Tuesday, August 20, 2013 8:54:23 PM UTC+9, Jur wrote:
>>>>>>
>>>>>> Hello Takeshi,
>>>>>>
>>>>>> Clientid: xxx
>>>>>> Client_secreat:xxx
>>>>>>
>>>>>> I use the standard getCampainsExample func

Re: Getting AuthenticationError.OAUTH_TOKEN_REVOKED Exception

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Please see another 
thread
.

Best,
- Takeshi,

On Monday, August 19, 2013 9:36:35 PM UTC+9, Gunnar Radzom wrote:
>
> We have a tool that is downloading data (campaigns, adgroups, adgroupads 
> and adgroupcriterions) from the adwords api.
>
> https://developers.google.com/adwords/api/index
>
> We used the version v201302 and recently switched to the latest version 
> v201306 
> of the api.
>
>  
>
> We use up to 20 Tasks to send requests parallel to the api (as suggested 
> by google).
>
> We are aware of Exceptions like 
>
> -  AuthenticationError.OAUTH_TOKEN_EXPIRED
>
> -  SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED
>
> -  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>
> And act by refreshing the oauth token if necessary, using paging to get 
> the data and sending the task to sleep for short periods of time if the api 
> complains about too many requests.
>
>  
>
> As of late we experience another exception:
>
>  
>
> Exception:
>
> Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
> occurred. See ApiException and InnerException fields for more details. ---> 
> System.Web.Services.Protocols.SoapException: 
> [AuthenticationError.OAUTH_TOKEN_REVOKED @ ; trigger:'']
>
>at 
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
>  
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>
>at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
> methodName, Object[] parameters)
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
>
>--- End of inner exception stack trace ---
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
> Object[] parameters)
>
>at Google.Api.Ads.AdWords.v201306.CampaignService.get(Selector 
> serviceSelector)
>
>  
>
> The tool runs fine for several hours and then the exception happens.
>
> It seems that we can eliminate the possibility of someone revoking the 
> authorization manually since the exception always happens deep in the night 
> between 3 am and 5 am*. *
>
> *So what else could cause a revocation of the access token?*
>
>  
>
> For OAuth we use a google business account with a service account for 
> adwords api
>
>  
>
> Our configuration for oauth looks like this (all values in “ ” are just 
> placeholders because of security reasons)
>
>  
>
> ”xxx-xxx-” Adwords_ClientCustomerId>
>
> ”path to certificate 
> file”
>
> notasecret Adwords_OAuth2CertificatePassword>
>
> ”our developer token” Adwords_DeveloperToken>
>
> sem@”mycompany”.mygbiz.com Adwords_OAuth2PrnEmail>
>
> ”UserAgent”
>
> ”id”@
> developer.gserviceaccount.com
>
> 1
>
>  
>
>  
>
> *Could it help to increase the value for RetryCount  in the config?*
>
> * *
>
> *Is it possible that the problems are related to the switch to the new 
> api?*
>
> * *
>
>  
>
>  
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Getting AuthenticationError.OAUTH_TOKEN_REVOKED

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I think it's because someone explicitly revoke the access. 
Can you please make sure anyone isn't doing so?

I believe it's not relevant with the AdWords API version difference.

Best,
- Takeshi, AdWords API Team

On Monday, August 19, 2013 11:53:10 PM UTC+9, Gunnar Radzom wrote:
>
> We have a tool that is downloading data (campaigns, adgroups, adgroupads 
> and adgroupcriterions) from the adwords api.
>
> https://developers.google.com/adwords/api/index
>
> We used the version v201302 and recently switched to the latest version 
> v201306 
> of the api.
>
>  
>
> We use up to 20 Tasks to send requests parallel to the api (as suggested 
> by google).
>
> We are aware of Exceptions like 
>
> -  AuthenticationError.OAUTH_TOKEN_EXPIRED
>
> -  SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED
>
> -  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>
> And act by refreshing the oauth token if necessary, using paging to get 
> the data and sending the task to sleep for short periods of time if the api 
> complains about too many requests.
>
>  
>
> As of late we experience another exception:
>
>  
>
> Exception:
>
> Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
> occurred. See ApiException and InnerException fields for more details. ---> 
> System.Web.Services.Protocols.SoapException: 
> [AuthenticationError.OAUTH_TOKEN_REVOKED @ ; trigger:'']
>
>at 
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
>  
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>
>at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
> methodName, Object[] parameters)
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
>
>--- End of inner exception stack trace ---
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
>
>at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
> Object[] parameters)
>
>at Google.Api.Ads.AdWords.v201306.CampaignService.get(Selector 
> serviceSelector)
>
>  
>
> The tool runs fine for several hours and then the exception happens.
>
> It seems that we can eliminate the possibility of someone revoking the 
> authorization manually since the exception always happens deep in the night 
> between 3 am and 5 am*. *
>
> *So what else could cause a revocation of the access token?*
>
>  
>
> For OAuth we use a google business account with a service account for 
> adwords api
>
>  
>
> Our configuration for oauth looks like this (all values in “ ” are just 
> placeholders because of security reasons)
>
>  
>
> ”xxx-xxx-” Adwords_ClientCustomerId>
>
> ”path to certificate 
> file”
>
> notasecret Adwords_OAuth2CertificatePassword>
>
> ”our developer token” Adwords_DeveloperToken>
>
> 
> s...@”mycompany”.mygbiz.com>
>
> ”UserAgent”
>
> 
> ”id”@developer.gserviceaccount.com
> >
>
> 1
>
>  
>
>  
>
> *Could it help to increase the value for RetryCount  in the config?*
>
> * *
>
> *Is it possible that the problems are related to the switch to the new 
> api?*
>
> * *
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Stats for keyword are reproduced and shwon for wrong ads

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Do you have SOAP request/response logs? 
It's better than source code for troubleshooting. 

Sorry I'm not 100% sure what's the problem you are facing, let me think 
with the soap logs.

Best,
- Takeshi, 

On Monday, August 19, 2013 3:40:13 PM UTC+9, David Morawitzky wrote:
>
>
> Hey, 
> in my project I am trying to get stats for every keyword in the form of:
> campaign_ID
> campaign_Name
> adGroup_ID
> adGroup_Name
> ad_ID
> ad_Header
> targetURL
> keyword_id
> keyword_text
> matchtype
> network
> average_position
> clicks
> impressions
> ctr
> qualityfactor
> cost
> average_cpc
> I am using AdGroupCriterionService, AdGroupAdService, and AdGroupService 
> and get data for all the points.
> But the problem is, that the output seems to be focused on the adGroup.
> So I get for each ad in the adgroup the same stats, no matter what keyword 
> belongs to it. Also if some ads didn't even get one impression.
> It's hard to describe, my English is bad.
> Here is an example of my output:
>
> (
>
> [0] => Array
>
> (
>
> [date_start] => 2013-08-18
>
> [date_end] => 2013-08-18
>
> [campaign_Id] => 49230926
>
> [campaign_Name] => xxx
>
> [adGroup_Id] => 1172464046
>
> [adGroup_Name] => Zweitwagenversicherung
>
> [ad_ID] => 4605933386
>
> [ad_Header] => xxx
>
> [targetURL] => xxx
>
> [keyword_id] => 12944618306
>
> [keyword] => zweitwagen versichern
>
> [matchtype] => EXACT
>
> [network] => SEARCH
>
> [average_position] => 1
>
> [clicks] => 2
>
> [impressions] => 1
>
> [ctr] => 2
>
> [qualityfactor] => 10
>
> [cost] => 2.62
>
> [average_cpc] => 1.31
>
> )
>
>  [1] => Array
>
> (
>
>  [date_start] => 2013-08-18
>
> [date_end] => 2013-08-18
>
> [campaign_Id] => 49230926
>
> [campaign_Name] => xxx
>
> [adGroup_Id] => 1172464046
>
> [adGroup_Name] => Zweitwagenversicherung
>
> [ad_ID] => 13424137106
>
> [ad_Header] => Zweitwagenvers.
>
> [targetURL] => xxx
>
> [keyword_id] => 12944618306
>
> [keyword] => zweitwagen versichern
>
> [matchtype] => EXACT
>
> [network] => SEARCH
>
> [average_position] => 1
>
> [clicks] => 2
>
> [impressions] => 1
>
> [ctr] => 2
>
> [qualityfactor] => 10
>
> [cost] => 2.62
>
>  [average_cpc] => 1.31
>
> )
> The places marked with x get data, I just didn't want to show. Sorry ;)
> As you see, there is the same keyword twice. Different ads, but the same 
> stats. The second ad must have 0 impressions.
> Do you have any idea what could be wrong?
> If it would help you I could post my code. Pretty long and not pretty.
> I am really new to adwords.
> Hope you can help me.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Getting AdError.AD_FORMAT_NOT_SPECIFIED trying to add a TemplateAd

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Looks like it's the same issue for 
this<https://groups.google.com/forum/#!topic/adwords-api/Qmt_RzLMH2Y>
. 
Please see that thread. 

Best,
- Takeshi, 

On Wednesday, August 21, 2013 5:49:37 PM UTC+9, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi,
>
> Thanks for the report.
> Do you happen to have the full request and response soap logs that failed?
> And if it's possible do you also have the pair of request and response 
> that succeeded?
>
> (Please remove the sensitive info such as developer token, auth token. )
>
> Best,
> - Takeshi, AdWords API Team
>
>
> On Friday, August 16, 2013 5:14:00 AM UTC+9, Yassir Aguila wrote:
>>
>> Hi all,
>>
>> I'm getting ad error response AD_FORMAT_NOT_SPECIFIED trying to add a 
>> TemplateAd. The currrent implementation was working before but suddenly 
>> stopped working.
>>
>> Request:
>> 
>> ADD
>> 
>> 7795861716
>> https://adwords.google.com/api/adwords/cm/v201306"; 
>> xsi:type="ns2:TemplateAd">
>> 
>> http://www.ivntest.com?v=1&source=3D7097CC&akw={keyword}<http://www.ivntest.com?v=1&source=3D7097CC&akw=%7Bkeyword%7D>
>> 
>> www.ivntest.com
>> TemplateAd
>> 277
>> 
>> 68449356
>> 
>> 
>> adData
>> 
>> creationContext
>> TEXT
>> 
>> WORKFLOW:DEFAULT,TEMPLATE_SOURCE:BROWSING_CONTENT_PAGE
>> 
>> 
>> backgroundColor
>> ENUM
>> #ff
>> 
>> 
>> CUSTOM_IMAGE_0_Z
>> NUMBER
>> 1
>> 
>> 
>> CUSTOM_TEXT_0_Height
>> NUMBER
>> 25
>> 
>> 
>> CUSTOM_TEXT_0_Width
>> NUMBER
>> 120
>> 
>> 
>> CUSTOM_TEXT_0_Z
>> NUMBER
>> 2
>> 
>> 
>> CUSTOM_TEXT_0_TextSize
>> NUMBER
>> 20
>> 
>> 
>> CUSTOM_TEXT_0_TextColor
>> ENUM
>> #00
>> 
>> 
>> CUSTOM_TEXT_0_TextFont
>> ENUM
>> arialuni
>> 
>> 
>> CUSTOM_TEXT_0_Text
>> TEXT
>> My Template Ad2
>> 
>> 
>> CUSTOM_BUTTON_0_Height
>> NUMBER
>> 30
>> 
>> 
>> CUSTOM_BUTTON_0_Width
>> NUMBER
>> 100
>> 
>> 
>> CUSTOM_BUTTON_0_Z
>> NUMBER
>> 3
>> 
>> 
>> CUSTOM_BUTTON_0_TextSize
>> NUMBER
>> 18
>> 
>> 
>> CUSTOM_BUTTON_0_ButtonColor
>> ENUM
>> #00
>> 
>> 
>> CUSTOM_BUTTON_0_TextColor
>> ENUM
>> #ff
>> 
>> 
>> CUSTOM_BUTTON_0_TextFont
>> ENUM
>> arialuni
>> 
>> 
>> CUSTOM_BUTTON_0_Text
>> TEXT
>> My link
>> 
>> 
>> 
>> 468
>> 60
>> 
>> First Template Ad
>> 
>> ENABLED
>> DISAPPROVED
>> true
>>

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur,

The SOAP xml looks right to me. 

So next, what account did you use in api console to retrieve your client id 
and client secret?
Also did you replace the refresh_token in your auth.ini by the refresh 
token returned in GetRefreshToken.php?

Best,
- Takeshi, 

On Wednesday, August 21, 2013 11:05:34 PM UTC+9, Jur wrote:
>
> Hello Takeshi,
>
> I think the error is in this part of the code in the file 
> /Common/Lib/AdsSoapClient.php:
> $response = parent::__soapCall($function_name, $arguments, $options,
>   $input_headers, $output_headers);
>
> Hope you can help me!
>
> Regards,
>
> Jur
>
> Op woensdag 21 augustus 2013 13:53:06 UTC+2 schreef Jur:
>>
>> Hello Takeshi,
>>
>> I did find it a strange request, but I did send it anyway :-)
>> Thanks for removing the message.
>>
>> I think this is the XML send :
>>
>> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>823-418-1279RIS_Online_Conversion
>>  (AwApi-PHP/4.4.0, Common-PHP/5.0.0, 
>> PHP/5.3.3)IdNameNameASCENDING0500
>>
>>
>> Op dinsdag 20 augustus 2013 17:37:50 UTC+2 schreef Takeshi Hagikura 
>> (AdWords API Team):
>>>
>>> Hi Jur,
>>>
>>> Sorry I didn't mean to post client id and client secret. 
>>> I wanted to know what account did use to get your client id and client 
>>> secret.
>>>
>>> If you used your MCC account under which your test account is in or the 
>>> test account itself for getting client id and secret,
>>> the CampaignService.get should work. 
>>>
>>> Also I wanted to confirm the xml request log for CampaignService.get. 
>>> Specifically clientCustomerId (for your test account) was included in 
>>> the soap header. 
>>>
>>> Best,
>>> - Takeshi,
>>>
>>> On Tuesday, August 20, 2013 8:54:23 PM UTC+9, Jur wrote:
>>>>
>>>> Hello Takeshi,
>>>>
>>>> Clientid: xxx
>>>> Client_secreat:xxx
>>>>
>>>> I use the standard getCampainsExample function:
>>>>
>>>> // Include the AdWordsUser
>>>> require_once LIB_PATH . '/AdWordsUser.php';
>>>>
>>>> function GetCampaignsExample(AdWordsUser $user) {
>>>>   // Get the service, which loads the required classes.
>>>>   $campaignService = $user->GetService('CampaignService', 
>>>> ADWORDS_VERSION);
>>>>
>>>>   // Create selector.
>>>>   $selector = new Selector();
>>>>   $selector->fields = array('Id', 'Name');
>>>>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>>>>
>>>>   // Create paging controls.
>>>>   $selector->paging = new Paging(0, 
>>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>>
>>>>   do {
>>>> // Make the get request.
>>>> $page = $campaignService->get($selector);
>>>>
>>>> // Display results.
>>>> if (isset($page->entries)) {
>>>>   foreach ($page->entries as $campaign) {
>>>> printf("Campaign with name '%s' and ID '%s' was found.\n",
>>>> $campaign->name, $campaign->id);
>>>>   }
>>>> } else {
>>>>   print "No campaigns were found.\n";
>>>> }
>>>>
>>>> // Advance the paging index.
>>>> $selector->paging->startIndex += 
>>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>>>>   } while ($page->totalNumEntries > $selector->paging->startIndex);
>>>> }
>>>>
>>>> try {
>>>>   // Get AdWordsUser from credentials in "../auth.ini"
>>>>   // relative to the AdWordsUser.php file's directory.
>>>>   $user = new AdWordsUser();
>>>>   // Log every SOAP XML request and response.
>>>>   $user->LogAll();
>>>>   
>>>>   // Run the example.
>>>>   GetCampaignsExample($user);
>>>> } catch (Exception $e) {
>>>> print_r($e);
>>>>   printf("An error has occurred: %s\n", $e->getMessage());
>>>> }
>>>>
>>>>
>>>> Op maandag 19 augustus 2013 10:30:24 UTC+2 schreef Takeshi Hagikura 
>>>> (AdWords API Team)

Re: Value of 'Status' column in report not as expected?

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi Oliver, 

Thanks for the report. 
You can assume it's corresponding to ACTIVE, but I think it's a issue. 
The enum values from ReportDefinitionService are also returned as 
"Status(Status) := [ACTIVE, DELETED, UNKNOWN, ]"

I filed a issue regarding that. 

Best,
- Takeshi,

On Monday, August 19, 2013 11:22:08 PM UTC+9, Oliver wrote:
>
> The documentation mentions that the possible values of the 'Status' column 
> in the PLACEHOLDER_FEED_ITEM_REPORT are either '*Active*', '*Deleted*' or 
> '*unknown*'.
>
> However, we're seeing values like '*feed item active*' instead.
>
> Can we assume this is the same as 'Active' from now on?
>
> Oliver
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: MutateLink Invite Multiple customers

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

You can include multiple LinkOperation in your mutateLink request.
https://developers.google.com/adwords/api/docs/reference/v201306/ManagedCustomerService

Hope it helps.

Best,
- Takeshi,

On Saturday, August 17, 2013 8:48:38 PM UTC+9, m...@adwordize.de wrote:
>
>
> Currently I can invite one adwords user using 
> *ManagedCustomerService.mutatelink 
> *per request.
> But I want to invite multiple users using mutatelink per request.
> Any Ideas.?
> Waiting for response...
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Test Account

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please share the example xml request that fails (please remove 
sensitive info such as developer token, auth token)?

Best,
- Takeshi

On Saturday, August 17, 2013 12:28:14 AM UTC+9, Павел Силенко wrote:
>
> There is a test account, ID client: 374-873-6083, for any given query 
> error: QuotaCheckError.INCOMPLETE_SIGNUP
>
> Help solve the problem!
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Adding sitelink to AdGroup via API returns error

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see another 
thread
.

Best,
- Takeshi

On Friday, August 16, 2013 10:03:16 PM UTC+9, Heidi Schuster wrote:
>
>
> Hi there, I have managed to add a sitelink to a campaign using the 
> following code:
>
> Sitelink[] links = new Sitelink[]{new Sitelink("API TEST", "
> http://bla.com";)};
> SitelinksExtension se = new SitelinksExtension();
> se.setSitelinks(links);
>
> CampaignAdExtension ad = new CampaignAdExtension();
> ad.setCampaignId(131958273L);
> ad.setAdExtension(se);
> CampaignAdExtensionOperation[] ops = new 
> CampaignAdExtensionOperation[]{new 
> CampaignAdExtensionOperation(Operator.ADD, null, ad)};
>
> CampaignAdExtensionServiceInterface service = 
> adWordsUser.getService(AdWordsService.V201302.CAMPAIGN_AD_EXTENSION_SERVICE);
> CampaignAdExtensionReturnValue result = service.mutate(ops);
> 
>
> However when I do the same thing using AdExtensionOverrideServiceInterface 
> I am getting an error on SitelinksExtension.id:
>
>   [AdExtensionOverrideError.INVALID_ADEXTENSION_ID @ operations[0].
> operand.adExtension.id; trigger:'']
>
> I am adding the sitelink so it shouldn't be complaining that the id is 
> null. If I set the id to a value it tells me it is invalid.
>
> Also the sitelink that was added to the campaign shows as '(Not 
> upgraded)'. Why is that?
>  
>  Thank you, Heidi
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Getting AdError.AD_FORMAT_NOT_SPECIFIED trying to add a TemplateAd

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Thanks for the report.
Do you happen to have the full request and response soap logs that failed?
And if it's possible do you also have the pair of request and response that 
succeeded?

(Please remove the sensitive info such as developer token, auth token. )

Best,
- Takeshi, AdWords API Team


On Friday, August 16, 2013 5:14:00 AM UTC+9, Yassir Aguila wrote:
>
> Hi all,
>
> I'm getting ad error response AD_FORMAT_NOT_SPECIFIED trying to add a 
> TemplateAd. The currrent implementation was working before but suddenly 
> stopped working.
>
> Request:
> 
> ADD
> 
> 7795861716
> https://adwords.google.com/api/adwords/cm/v201306"; 
> xsi:type="ns2:TemplateAd">
> 
> http://www.ivntest.com?v=1&source=3D7097CC&akw={keyword}
> 
> www.ivntest.com
> TemplateAd
> 277
> 
> 68449356
> 
> 
> adData
> 
> creationContext
> TEXT
> 
> WORKFLOW:DEFAULT,TEMPLATE_SOURCE:BROWSING_CONTENT_PAGE
> 
> 
> backgroundColor
> ENUM
> #ff
> 
> 
> CUSTOM_IMAGE_0_Z
> NUMBER
> 1
> 
> 
> CUSTOM_TEXT_0_Height
> NUMBER
> 25
> 
> 
> CUSTOM_TEXT_0_Width
> NUMBER
> 120
> 
> 
> CUSTOM_TEXT_0_Z
> NUMBER
> 2
> 
> 
> CUSTOM_TEXT_0_TextSize
> NUMBER
> 20
> 
> 
> CUSTOM_TEXT_0_TextColor
> ENUM
> #00
> 
> 
> CUSTOM_TEXT_0_TextFont
> ENUM
> arialuni
> 
> 
> CUSTOM_TEXT_0_Text
> TEXT
> My Template Ad2
> 
> 
> CUSTOM_BUTTON_0_Height
> NUMBER
> 30
> 
> 
> CUSTOM_BUTTON_0_Width
> NUMBER
> 100
> 
> 
> CUSTOM_BUTTON_0_Z
> NUMBER
> 3
> 
> 
> CUSTOM_BUTTON_0_TextSize
> NUMBER
> 18
> 
> 
> CUSTOM_BUTTON_0_ButtonColor
> ENUM
> #00
> 
> 
> CUSTOM_BUTTON_0_TextColor
> ENUM
> #ff
> 
> 
> CUSTOM_BUTTON_0_TextFont
> ENUM
> arialuni
> 
> 
> CUSTOM_BUTTON_0_Text
> TEXT
> My link
> 
> 
> 
> 468
> 60
> 
> First Template Ad
> 
> ENABLED
> DISAPPROVED
> true
> 
> SEARCH
> AdStats
> 0.0
> 
> 
> 
>
> Response:
> 
> 
> soap:Server
> [AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[0].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[2].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[3].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[4].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[5].operand.ad.adFormat]
> 
> https://adwords.google.com/api/adwords/cm/v201306";>
> [AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[0].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[2].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[3].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[4].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[5].operand.ad.adFormat]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="AdError">
> 
> 

Re: Adding sitelinks to AdGroups via API

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

As we announced 
here,
 
now we have upgraded extensions. 
Those can be managed via Feed Services (please see this 
guide
). 
Legacy sitelink extensions (can be managed via CampaignAdExtension) will be 
no longer available after September 23 as also announced in the same post.

So it isn't direct answer for your question, but I highly recommend you to 
go through the guide and use upgraded extensions moving forward. 

Best,
- Takeshi, AdWords API Team

On Friday, August 16, 2013 6:26:14 AM UTC+9, Heidi Schuster wrote:
>
>
> Hi there, I have managed to add a sitelink to a campaign using the 
> following code:
>
> Sitelink[] links = new Sitelink[]{new Sitelink("API TEST", "
> http://bla.com";)};
> SitelinksExtension se = new SitelinksExtension();
> se.setSitelinks(links);
>
> CampaignAdExtension ad = new CampaignAdExtension();
> ad.setCampaignId(131958273L);
> ad.setAdExtension(se);
> CampaignAdExtensionOperation[] ops = new 
> CampaignAdExtensionOperation[]{new 
> CampaignAdExtensionOperation(Operator.ADD, null, ad)};
>
> CampaignAdExtensionServiceInterface service = 
> adWordsUser.getService(AdWordsService.V201302.CAMPAIGN_AD_EXTENSION_SERVICE);
> CampaignAdExtensionReturnValue result = service.mutate(ops);
> 
>
> However when I do the same thing using AdExtensionOverrideServiceInterface 
> I am getting an error on SitelinksExtension.id:
>
>   [AdExtensionOverrideError.INVALID_ADEXTENSION_ID @ operations[0].
> operand.adExtension.id; trigger:'']
>
> I am adding the sitelink so it shouldn't be complaining that the id is 
> null. If I set the id to a value it tells me it is invalid.
>
> Also the sitelink that was added to the campaign shows as '(Not 
> upgraded)'. Why is that?
>
>
> thank you,
>  Heidi
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Retrieving Adhoc Reports using OAuth

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

When you use OAuth2, the header should be like this in *HTTP* header not in 
the SOAP header like when you use ClientLogin. 

Authorization: Bearer  

Please see this 
guide
. 
If you are using our client library, it should take care of that. 

Best,
- Takeshi, AdWords API Team

On Friday, August 16, 2013 5:49:14 AM UTC+9, Alistair Ballantine wrote:
>
> I'm having a little difficulty figuring out how to Download AdHoc reports 
> using OAuth2 as the authentication mechanism. I can retrieve an 
> access_token just fine using OAuth, but I only ever get the 
> error GOOGLE_ACCOUNT_COOKIE_INVALID when using it. I can successfully 
> connect and download a report using the old ClientLogin method, and I'm 
> wondering if I'm missing a step in OAuth that would retrieve an "authToken" 
> or if there's some other change to the headers I have to make to pull the 
> report. 
>
> The headers I'm using for downloading a report are effectively (in PHP):
>
> 'Authorization: GoogleLogin auth=' . $access_token,
> 'clientCustomerId: ' . $client_id,
> 'developerToken: ' . $dev_token
>
> The $access token is what would be retrieved as a response to this 
> essential POST request (taken from 
> https://developers.google.com/accounts/docs/OAuth2WebServer?csw=1#refresh)
>
> POST /o/oauth2/token HTTP/1.1
> Host: accounts.google.com
> Content-Type: application/x-www-form-urlencoded
>
> client_id=8819981768.apps.googleusercontent.com&
> client_secret={client_secret}&
> refresh_token=1/6BMfW9j53gdGImsiyUH5kU5RsR4zwI9lUVX-tqf8JXQ&
> grant_type=refresh_token
>
> Am I using the wrong token? Am I missing a step? Should I change the Adhoc 
> report HTTP Headers? Any guidance or direction would be much appreciated. 
>
> Thank you 
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Dynamic Ads Reporting

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

There are only beta features available for Dynamic Search Ads, Keywordless 
category 
reportand
 Keywordless 
query 
report
.

Best,
- Takeshi, 

On Monday, August 19, 2013 10:40:51 PM UTC+9, Valerii Buzivskyi wrote:
>
> Hi.
>
> Is it possible to export statistic for dynamic ads  via API, or its still 
> unsupported?
>
> We are using some parameters such as DYNAMIC_SEARCH_AD, but still get no 
> any data.
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur,

Sorry I didn't mean to post client id and client secret. 
I wanted to know what account did use to get your client id and client 
secret.

If you used your MCC account under which your test account is in or the 
test account itself for getting client id and secret,
the CampaignService.get should work. 

Also I wanted to confirm the xml request log for CampaignService.get. 
Specifically clientCustomerId (for your test account) was included in the 
soap header. 

Best,
- Takeshi,

On Tuesday, August 20, 2013 8:54:23 PM UTC+9, Jur wrote:
>
> Hello Takeshi,
>
> Clientid: xxx
> Client_secreat:xxx
>
> I use the standard getCampainsExample function:
>
> // Include the AdWordsUser
> require_once LIB_PATH . '/AdWordsUser.php';
>
> function GetCampaignsExample(AdWordsUser $user) {
>   // Get the service, which loads the required classes.
>   $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);
>
>   // Create selector.
>   $selector = new Selector();
>   $selector->fields = array('Id', 'Name');
>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>
>   // Create paging controls.
>   $selector->paging = new Paging(0, 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>
>   do {
> // Make the get request.
> $page = $campaignService->get($selector);
>
> // Display results.
> if (isset($page->entries)) {
>   foreach ($page->entries as $campaign) {
> printf("Campaign with name '%s' and ID '%s' was found.\n",
> $campaign->name, $campaign->id);
>   }
> } else {
>   print "No campaigns were found.\n";
> }
>
> // Advance the paging index.
> $selector->paging->startIndex += 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>   } while ($page->totalNumEntries > $selector->paging->startIndex);
> }
>
> try {
>   // Get AdWordsUser from credentials in "../auth.ini"
>   // relative to the AdWordsUser.php file's directory.
>   $user = new AdWordsUser();
>   // Log every SOAP XML request and response.
>   $user->LogAll();
>   
>   // Run the example.
>   GetCampaignsExample($user);
> } catch (Exception $e) {
> print_r($e);
>   printf("An error has occurred: %s\n", $e->getMessage());
> }
>
>
> Op maandag 19 augustus 2013 10:30:24 UTC+2 schreef Takeshi Hagikura 
> (AdWords API Team):
>>
>> Hi Jur, 
>>
>> What clientId and clientSecret are you passing to the script when you run 
>> the GetRefreshToken.php script?
>> And can you please share the request xml when you run the GetCampaign 
>> (except for the sensitive info)? 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>>
>> On Friday, August 9, 2013 1:15:48 AM UTC+9, Jur wrote:
>>>
>>> Hello Guys,
>>>  
>>> I'm working on my first Google Adwords API application, but I can't get 
>>> passed the oauth2 verification.
>>> I could get a refresh_token with the GetRefreshToken.php script, but I 
>>> get the error : An error has occurred: { "error" : "invalid_grant" } when I 
>>> request a list of campaines in my test account.
>>>  
>>> Hope someone can help me out in the right direction.
>>>  
>>> Regards,
>>>  
>>> Jur
>>>  
>>> MMC id : 916-243-9387
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Alan,

> Just one more question  if I may, how long will the refresh_token last 
for?
refresh_token never expires unless you explicitly revoke the API access. 

Best,
- Takeshi, 

On Tuesday, August 20, 2013 9:00:52 PM UTC+9, Alan Coleman wrote:
>
> Thanks Takeshi, your help is always appreciated.
>
> I was confused about the refresh_token procedure.
>
> Just one more question  if I may, how long will the refresh_token last for?
>
> Many thanks. 
>
> On Tuesday, August 20, 2013 12:04:36 PM UTC+1, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> As in this 
>> guide<https://code.google.com/p/google-api-adwords-php/wiki/OAuth2>, 
>> I recommend to store refresh_token in your auth.ini.
>> Once you store refresh_token, you'll not be asked for email and password 
>> pair.
>>
>> Please see the "Running OAuth2.0 example" section and run this 
>> GetRefreshToken.php<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php>
>>  as 
>> in the guide.
>>
>> When you paste the authentication URL and if you haven't logged in with 
>> the account, being asked email and password is the normal behavior. 
>> After you login, you can grant access like in the 
>> screenshot<https://lh3.googleusercontent.com/-JT98Oob54ro/UGBKTDeCjkI/AHM/oU7D0D1nJc0/s716/blog1.png>
>> .
>>
>> After you get refresh_token, update your auth.ini, then it's all set. 
>> Please run any other examples such as 
>> GetCampaigns<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/v201306/BasicOperations/GetCampaigns.php>
>> .
>>
>> > Also, I am correct in thinking that Client Login has been deprecated in 
>> v201306?
>> Right. Actually it has been 
>> deprecated<https://developers.google.com/accounts/docs/AuthForInstalledApps> 
>> more 
>> than a year ago.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Tuesday, August 20, 2013 6:44:44 PM UTC+9, Alan Coleman wrote:
>>>
>>> Hi Takeshi,
>>>
>>> Thanks for your reply. I'm running a script that verifies an AdWords Ad 
>>> against the API before storing it locally, simple stuff and it works with 
>>> my current Client Login set up.
>>>
>>> I've been through all the OAuth2 documentation and it all makes sense. 
>>> I've created the application identifier and added my client_id and 
>>> client_secret pair to my auth.ini and removed email and password associated 
>>> with Client Login. Is this all I need to do to implement OAuth2 ? If so, I 
>>> don't understand why I'm still be ing asked for the email and password pair.
>>>
>>> Also, I am correct in thinking that Client Login has been deprecated in 
>>> v201306?
>>>
>>> Many thanks
>>>
>>> On Tuesday, August 20, 2013 10:12:19 AM UTC+1, Takeshi Hagikura (AdWords 
>>> API Team) wrote:
>>>>
>>>> Hi Alan, 
>>>>
>>>> What script are you running when you see a validation error?
>>>> Please see this 
>>>> guide<https://code.google.com/p/google-api-adwords-php/wiki/OAuth2> on 
>>>> OAuth2 introduction with PHP. 
>>>> If you have further questions, please let us know.
>>>>
>>>> Best,
>>>> - Takeshi, AdWords API Team
>>>>
>>>> On Monday, August 19, 2013 2:50:20 AM UTC+9, Alan Coleman wrote:
>>>>>
>>>>> Hello everyone,
>>>>>
>>>>> I'm moving my AdWords app from Client Login to OAuth2 authentication 
>>>>> in preparation to migrate to v201306.
>>>>>
>>>>> I've read the documentation and understand the concept of OAuth2 and 
>>>>> have experimented successfully with a little Google+ login script.
>>>>>
>>>>> I'm confused about how my app will use OAuth2 instead of Client Login. 
>>>>>
>>>>> In *auth.ini* I've replaced the* Client Login'*s *email* and *password
>>>>> * with *OAuth2*'s *client_id* and *client_secret* from the api 
>>>>> console but I immediately receive a validation error asking for email and 
>>>>> password values.
>>>>>
>>>>> I was under the impression that the existence of client_id and 
>>>>> client_secret would prompt the use of OAuth2 ?
>>>>>
>>>>> As always any pointers would be gr

Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
As in this guide<https://code.google.com/p/google-api-adwords-php/wiki/OAuth2>, 
I recommend to store refresh_token in your auth.ini.
Once you store refresh_token, you'll not be asked for email and password 
pair.

Please see the "Running OAuth2.0 example" section and run this 
GetRefreshToken.php<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php>
 as 
in the guide.

When you paste the authentication URL and if you haven't logged in with the 
account, being asked email and password is the normal behavior. 
After you login, you can grant access like in the 
screenshot<https://lh3.googleusercontent.com/-JT98Oob54ro/UGBKTDeCjkI/AHM/oU7D0D1nJc0/s716/blog1.png>
.

After you get refresh_token, update your auth.ini, then it's all set. 
Please run any other examples such as 
GetCampaigns<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/v201306/BasicOperations/GetCampaigns.php>
.

> Also, I am correct in thinking that Client Login has been deprecated in 
v201306?
Right. Actually it has been 
deprecated<https://developers.google.com/accounts/docs/AuthForInstalledApps> 
more 
than a year ago.

Best,
- Takeshi, AdWords API Team

On Tuesday, August 20, 2013 6:44:44 PM UTC+9, Alan Coleman wrote:
>
> Hi Takeshi,
>
> Thanks for your reply. I'm running a script that verifies an AdWords Ad 
> against the API before storing it locally, simple stuff and it works with 
> my current Client Login set up.
>
> I've been through all the OAuth2 documentation and it all makes sense. 
> I've created the application identifier and added my client_id and 
> client_secret pair to my auth.ini and removed email and password associated 
> with Client Login. Is this all I need to do to implement OAuth2 ? If so, I 
> don't understand why I'm still be ing asked for the email and password pair.
>
> Also, I am correct in thinking that Client Login has been deprecated in 
> v201306?
>
> Many thanks
>
> On Tuesday, August 20, 2013 10:12:19 AM UTC+1, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Alan, 
>>
>> What script are you running when you see a validation error?
>> Please see this 
>> guide<https://code.google.com/p/google-api-adwords-php/wiki/OAuth2> on 
>> OAuth2 introduction with PHP. 
>> If you have further questions, please let us know.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Monday, August 19, 2013 2:50:20 AM UTC+9, Alan Coleman wrote:
>>>
>>> Hello everyone,
>>>
>>> I'm moving my AdWords app from Client Login to OAuth2 authentication in 
>>> preparation to migrate to v201306.
>>>
>>> I've read the documentation and understand the concept of OAuth2 and 
>>> have experimented successfully with a little Google+ login script.
>>>
>>> I'm confused about how my app will use OAuth2 instead of Client Login. 
>>>
>>> In *auth.ini* I've replaced the* Client Login'*s *email* and *password*with 
>>> *OAuth2*'s *client_id* and *client_secret* from the api console but I 
>>> immediately receive a validation error asking for email and password values.
>>>
>>> I was under the impression that the existence of client_id and 
>>> client_secret would prompt the use of OAuth2 ?
>>>
>>> As always any pointers would be greatly appreciated.
>>>
>>> I'm using library: adwords_api_php_4.2.5 version: v201302
>>>
>>> Many thanks
>>>
>>>
>>>
>>>
>>>
>>>  
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: OAuth2 still asking for email & password values

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Alan, 

What script are you running when you see a validation error?
Please see this 
guide on 
OAuth2 introduction with PHP. 
If you have further questions, please let us know.

Best,
- Takeshi, AdWords API Team

On Monday, August 19, 2013 2:50:20 AM UTC+9, Alan Coleman wrote:
>
> Hello everyone,
>
> I'm moving my AdWords app from Client Login to OAuth2 authentication in 
> preparation to migrate to v201306.
>
> I've read the documentation and understand the concept of OAuth2 and have 
> experimented successfully with a little Google+ login script.
>
> I'm confused about how my app will use OAuth2 instead of Client Login. 
>
> In *auth.ini* I've replaced the* Client Login'*s *email* and *password*with 
> *OAuth2*'s *client_id* and *client_secret* from the api console but I 
> immediately receive a validation error asking for email and password values.
>
> I was under the impression that the existence of client_id and 
> client_secret would prompt the use of OAuth2 ?
>
> As always any pointers would be greatly appreciated.
>
> I'm using library: adwords_api_php_4.2.5 version: v201302
>
> Many thanks
>
>
>
>
>
>  
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Migrating from v201209 to v201306 with OAUTH2 but NO DATA BEING RETURNED

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Apologies for responding it late. 
Can you please include clientCustomerId header in your request?
The CampaignService.get should be made against an client account.

Best,
- Takeshi

On Wednesday, July 31, 2013 6:41:19 PM UTC+9, Rachel Kellett wrote:
>
> Hi,
>
> I have same issue.. Here is my soap_xml.log
>
> [Jul 31 2013 09:33:45.00 - INFO] POST 
> /api/adwords/cm/v201306/CampaignService?access_token=[REMOVED SENSITIVE 
> DATA] HTTP/1.1
> Host: adwords.google.com
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.4.3
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 1032
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201306";>
>   
> 
>   [REMOVED SENSITIVE DATA]
>   INSERT_COMPANY_NAME_HERE (AwApi-PHP/4.5.0, 
> Common-PHP/5.0.0, PHP/5.4.3)
> 
>   
>   
> 
>   
> Id
> Name
> Impressions
> Clicks
> Cost
> Ctr
> 
>   Impressions
>   GREATER_THAN
>   0
> 
> 
>   20130724
>   20130730
> 
> 
>   0
>   500
> 
>   
> 
>   
> 
>
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=UTF-8
> Date: Wed, 31 Jul 2013 09:33:42 GMT
> Expires: Wed, 31 Jul 2013 09:33:42 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Server: GSE
> Transfer-Encoding: chunked
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201306";>
>   0004e2cb6bd2fed80ae5398842e8
>   CampaignService
>   get
>   1
>   201
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201306
> ">
>   
> 0
> CampaignPage
>   
> 
>   
> 
>
> Thanks
>
> Rachel
>
> On Wednesday, July 31, 2013 6:59:44 AM UTC+1, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi, 
>>
>> Do you have soap request and response xml logs? 
>> Can you please share it (please remove sensitive info)
>>
>> Best,
>> - Takeshi, 
>>
>> On Tuesday, July 30, 2013 12:52:11 AM UTC+9, Jason Kelley wrote:
>>>
>>> So I downloaded and put in place the new adwords api php library 4.4.0 
>>> and changed my adwords version to v201306 and implanted Oauth2.0 login.
>>>
>>> All were required to even get anywhere.
>>>
>>> But now my code is no longer pulling data. NO errors just zero results.
>>>
>>> An Example is below and just to make sure I wasn’t going crazy I  pulled 
>>> this code from the examples folder and still got zero results.
>>>
>>> I did a var_dump of the user right before the call and all the the data 
>>> and credentials are correct with the new OAuth2 details.
>>>
>>> Like I said im not getting a error just no results and clearly the 
>>> campaign id below has multiple adgroups.
>>>
>>> Please help.
>>>
>>>
>>> CODE BELOW
>>>
>>> $campaignId = '123745358';
>>>
>>> /**
>>>
>>> * Runs the example.
>>>
>>> * @param AdWordsUser $user the user to run the example with
>>>
>>> * @param string $campaignId the id of the parent campaign
>>>
>>> */
>>>
>>> function GetAdGroupsExample(AdWordsUser $user, $campaignId) {
>>>
>>>
>>>
>>>   // Get the service, which loads the required classes.
>>>
>>>   $adGroupService = $user->GetService('AdGroupService', “v201306”);
>>>
>>>   // Create selector.
>>>
>>>   $selector = new Selector();
>>>
>>>   $selector->fields = array('Id', 'Name');
>>>
>>>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>>>
>>>   // Create predicates.
>>>
>>>   $selector->predicates[] =
>>>
>>>   new Predicate('CampaignId', 'IN', array($campaignId));
>>>
>>>   // Create paging controls.
>>>
>>>   $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>
>>>   do {
>>>
>>>  

Re: MutateJobService returns CampaignError.DUPLICATE_CAMPAIGN_NAME errors when Campaigns were actually created successfully

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

I looked into it more. 
There were two MutateJobService calls that include CampaignOperation (ADD) 
and both have 'AU - Concerts - Laura Pausini'. 

The first one 2013-08-15 08:47:26 (PDT) , JobId : 6236814351392879953
The second one 2013-08-15 08:48:27 (PDT), JobId : 8089192796637669145 

As far as I can look into from logs both requests succeeded in 
MutateJobService. 
It's likely the campaigns were created with the first one, the second 
request failed due to duplicate errors. 

Best,
- Takeshi, 

On Monday, August 19, 2013 8:03:07 PM UTC+9, Akil Burgess wrote:
>
> Hi Takeshi,
>
> Thanks for looking into this issue. This has been an intermittent issue 
> that we've seen on about three or four occasions in the past few months 
> when we have been doing large scale campaign creation via the API.
>
> The history for JobId -8089192796637669145 (see attached) shows that the 
> job started processing "Thursday August 15, 2013 15:48:28" (i.e. after the 
> date you say the campaign was created). Do your logs show the JobId that 
> the campaign was created in? Unfortunately we do not enable SOAP logging in 
> production so I do not have the requestId for the initial MutateJobService 
> call.
>
> Thanks!
> Akil
>
> On Monday, August 19, 2013 11:33:12 AM UTC+1, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi, 
>>
>> Also is it still reproducible?
>> Our log says the first MutateJobService call was made at August 16, 2013. 
>> So it's most likely those campaigns were already there. 
>>
>> Best,
>> - Takeshi, 
>>
>> On Monday, August 19, 2013 7:15:32 PM UTC+9, Takeshi Hagikura (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> When was the first MutateJobService call made?
>>> Based on our record, the campaign whose name is "AU - Concerts - Laura 
>>> Pausini" was created at "Thursday, August 15, 2013 3:47:26 PM GMT"
>>> Is there a possibility that those campaigns were already created before 
>>> the MutateJobService call?
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Friday, August 16, 2013 7:39:14 PM UTC+9, Akil Burgess wrote:
>>>>
>>>> Hi All,
>>>>
>>>> We are seeing an issue where we are creating a set of Campaigns using 
>>>> the MutateJobService and some of the CampaignOperations report 
>>>> CampaignError.DUPLICATE_CAMPAIGN_NAME errors even though they are 
>>>> definitely unique names. The campaigns are still created even though an 
>>>> error is reported.
>>>>
>>>> I have attached a file with the request logs that show the result of 
>>>> JobId -8089192796637669145 which contains 10 duplicate name errors. The 
>>>> log 
>>>> also shows that a CampaignService.get request for campaigns with those 
>>>> specific names still returns campaigns that have been created.
>>>>
>>>> Any ideas what is going on here?
>>>>
>>>> Thanks,
>>>> Akil
>>>>
>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: .Net adwords Client Library v16 returnMoneyInMicros

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see this 
thread
.

Best,
- takeshi, 

On Thursday, August 15, 2013 11:27:35 PM UTC+9, Sai wrote:
>
>
> How can we set the value of returnMoneyInMicros to false in the soap 
> headers? I am using .Net adwords Client Library v16.1.0
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: MutateJobService returns CampaignError.DUPLICATE_CAMPAIGN_NAME errors when Campaigns were actually created successfully

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Also is it still reproducible?
Our log says the first MutateJobService call was made at August 16, 2013. 
So it's most likely those campaigns were already there. 

Best,
- Takeshi, 

On Monday, August 19, 2013 7:15:32 PM UTC+9, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi,
>
> When was the first MutateJobService call made?
> Based on our record, the campaign whose name is "AU - Concerts - Laura 
> Pausini" was created at "Thursday, August 15, 2013 3:47:26 PM GMT"
> Is there a possibility that those campaigns were already created before 
> the MutateJobService call?
>
> Best,
> - Takeshi, AdWords API Team
>
> On Friday, August 16, 2013 7:39:14 PM UTC+9, Akil Burgess wrote:
>>
>> Hi All,
>>
>> We are seeing an issue where we are creating a set of Campaigns using the 
>> MutateJobService and some of the CampaignOperations report 
>> CampaignError.DUPLICATE_CAMPAIGN_NAME errors even though they are 
>> definitely unique names. The campaigns are still created even though an 
>> error is reported.
>>
>> I have attached a file with the request logs that show the result of 
>> JobId -8089192796637669145 which contains 10 duplicate name errors. The log 
>> also shows that a CampaignService.get request for campaigns with those 
>> specific names still returns campaigns that have been created.
>>
>> Any ideas what is going on here?
>>
>> Thanks,
>> Akil
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: MutateJobService returns CampaignError.DUPLICATE_CAMPAIGN_NAME errors when Campaigns were actually created successfully

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi,

When was the first MutateJobService call made?
Based on our record, the campaign whose name is "AU - Concerts - Laura 
Pausini" was created at "Thursday, August 15, 2013 3:47:26 PM GMT"
Is there a possibility that those campaigns were already created before the 
MutateJobService call?

Best,
- Takeshi, AdWords API Team

On Friday, August 16, 2013 7:39:14 PM UTC+9, Akil Burgess wrote:
>
> Hi All,
>
> We are seeing an issue where we are creating a set of Campaigns using the 
> MutateJobService and some of the CampaignOperations report 
> CampaignError.DUPLICATE_CAMPAIGN_NAME errors even though they are 
> definitely unique names. The campaigns are still created even though an 
> error is reported.
>
> I have attached a file with the request logs that show the result of 
> JobId -8089192796637669145 which contains 10 duplicate name errors. The log 
> also shows that a CampaignService.get request for campaigns with those 
> specific names still returns campaigns that have been created.
>
> Any ideas what is going on here?
>
> Thanks,
> Akil
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Authentication error with New Google.Ads.Common.dll , Google.AdWords.dll version V201306

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you login to AdWords web interface with the pair of email and password?

Best,
- Takeshi, AdWords API Team

On Friday, August 16, 2013 8:47:33 PM UTC+9, Pramod Patil wrote:
>
> Hi,
>  
> I am using Google.Ads.Common.dll , Google.AdWords.dll with File Version 
> 1.8.0.0. Would you please help How to work with version v201306 and 
> existing code.
>  
> Please have a look on below code and see red code for which I am gettign 
> error.
>  
> App.config has below seetings
>  
> 
> 
>   
> 
>   
> 
>   
>  
>  
> Imports Google.Api.Ads.AdWords.Lib
> Imports Google.Api.Ads.AdWords.v201306
> Public Function getUser() As AdWordsUser
> Dim headers As New Dictionary(Of String, String)
> headers.Add("email", "XXX...@.X ")
> headers.Add("password", "XX")
> headers.Add("useragent", X")
> headers.Add("developerToken", "X")
> headers.Add("applicationToken", "")   
> headers.Add("clientCustomerId", "XXX")
> Dim AdWordsUserObj As New AdWordsUser(headers)
>   
> End Function
>  
>  
> Public Function updateCampaigns() As Integer
> Dim user As AdWordsUser
> user = getUser()
>
> user.Config.RetryCount = 3
>
> If user Is Nothing Then
> Return 0
> End If
>
> Dim CampaignServiceObj As CampaignService
> Dim page As CampaignPage   
>CampaignServiceObj = 
> user.GetService(AdWordsService.v201306.CampaignService)
>
> Try
> Dim selector As New Selector()
> selector.fields = New String() {"Id", "Name", "Status", 
> "Impressions", "Cost", "Ctr", "AveragePosition", "Conversions", "Clicks"} 
> ', "ConversionRate"}
>
> Dim orderByName As New OrderBy()
> orderByName.field = "Name"
> orderByName.sortOrder = SortOrder.ASCENDING
>
>Dim SearchEngineDBObj As New SearchEngineDB(SQLConn)
> Dim SearchEngineObj As SearchEngine
>
> selector.ordering = New OrderBy() {orderByName}
> TryCast(user.Config, AdWordsAppConfig).ClientCustomerId = 
> ""
>
> selector.paging = New Paging()
> selector.paging.startIndex = 0
> selector.paging.numberResults = 500
>
> page = CampaignServiceObj.get(selector) 'getting error 
> for Authentication.
>   
>
> Catch ex As Exception
> Return 0
> End Try
>
> If page Is Nothing Then
> Return 0
> End If
>
> Try
> If page.entries.Length = 0 Then
> Return 0
> End If
> Catch ex As Exception
> Return 0
> End Try
>
>
> For Each CampaignObj As 
> Google.Api.Ads.AdWords.v201306.Campaign In page.entries
> 
> Next
>
> Return page.entries.Length - 1
> End Function
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: DotNet Library v16 - How to set returnMoneyInMicros to false?

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see DownloadClientReport methods in 
ReportUtilities.cs
. 
There are arguments that correspond to returnMoneyInMicros.

Best,
- Takeshi, 

On Thursday, August 15, 2013 10:32:26 PM UTC+9, Sai wrote:
>
> I am using DotNet Library v16.1.0. When reporting, the default for 
> returnMoneyInMicros is set to true in the headers. How can we set this to 
> false? I could not find this property in AdWordsAppConfig.dll.
>
> Thanks in advance.
>
> Sai
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Get the used device for report

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi,

There is a Device field that segments the stats by Device in Ad Performance 
Rerpot .
Please refer this guide on how to use adhoc 
reports or 
the example 
code
.

Best,
- Takeshi, 

On Wednesday, August 14, 2013 3:58:59 PM UTC+9, David Morawitzky wrote:
>
> Hey guys,
>
> I am trying to write an Application in which I extract useful information 
> about the ads (cost, clicks, etc.).
> I'd also like to get the device on which the ad was clicked. 
>
> I am a bit confused, because this can be selected in ValueTrack URL, but I 
> can't find it in any service.
>
> The only thing I found is the DevicePreference in the AdGroupAdService. 
> But this seems to be an Id or something similar.
> I'd like to have it in the same way as in the ValueTrack URL.
>
> Can someone help me and tell me where to find the device?
>
> I am using PHP.
>
> Thanks
>
> David
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: Where to find info on AD_FORMAT_NOT_SPECIFIED error?

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi Sam,

Can you please share the full request and response xmls to see if it's 
expected? (Please remove the sensitive info).
Maybe we should publish that error AdError type.

Best,
- Takeshi, 

On Tuesday, August 13, 2013 2:02:14 PM UTC+9, Sam wrote:
>
> Hi,
>
> I'm suddenly getting an AD_FORMAT_NOT_SPECIFIED error via my AdWords API.  
> Looking at the v201302 source have no reference of this error type.  Can 
> someone help shed some light on where I can find more information about 
> this error?  Thanks.
>
> 
> 
> soap:Server
> [AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[2].operand.ad.adFormat]
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
> [AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[1].operand.ad.adFormat, AdError.AD_FORMAT_NOT_SPECIFIED @ 
> operations[2].operand.ad.adFormat]
> 
> ApiException
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="AdError">
> 
> operations[1].operand.ad.adFormat
> 
> 
> AdError.AD_FORMAT_NOT_SPECIFIED
> AdError
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="AdError">
> 
> operations[2].operand.ad.adFormat
> 
> 
> AdError.AD_FORMAT_NOT_SPECIFIED
> AdError
> 
> 
> 
> 
> 
>
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, 

What clientId and clientSecret are you passing to the script when you run 
the GetRefreshToken.php script?
And can you please share the request xml when you run the GetCampaign 
(except for the sensitive info)? 

Best,
- Takeshi, AdWords API Team


On Friday, August 9, 2013 1:15:48 AM UTC+9, Jur wrote:
>
> Hello Guys,
>  
> I'm working on my first Google Adwords API application, but I can't get 
> passed the oauth2 verification.
> I could get a refresh_token with the GetRefreshToken.php script, but I get 
> the error : An error has occurred: { "error" : "invalid_grant" } when I 
> request a list of campaines in my test account.
>  
> Hope someone can help me out in the right direction.
>  
> Regards,
>  
> Jur
>  
> MMC id : 916-243-9387
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.


Re: I think I found a typo in the readme for the new 4.5 PHP Client Library

2013-08-01 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Thanks for the report.
Do you mind filing a issue on the issue 
tracker
?

Best,
- Takeshi, AdWords API Team

On Thursday, August 1, 2013 3:34:34 PM UTC+9, tomjo...@gmail.com wrote:
>
> Hi There
>
> Just downloaded the new 4.5  
> adwords_api_php_4.5.1.tar.gz
> from
> https://code.google.com/p/google-api-adwords-php/downloads/list
>
> I think I found a typo in the readme
>
>  Line 119require_once 'Google/Api/Ads/AdWordsuser/Lib/AdWordsUser.php';
>  should be
> require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>
>
> Tom
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2013-08-01 Thread Takeshi Hagikura (AdWords API Team)
Hi,

I guesss, it's because the account you granted access to AdWords and the 
account you were trying to make a request against are different (or not 
under the MCC you granted access).

Please make sure you grant access to an MCC account or a client account. 
And the account you are trying to make a request is under the MCC or the 
client account you granted access.

Best,
- Takeshi, AdWords API Team

On Thursday, August 1, 2013 2:37:19 AM UTC+9, Echo Li wrote:
>
> Hi Gurus,
>
> I was trying to upgrade to oAuth2 authentication from ClientLogin method, 
> when I run the sample code I got below errors, have no clue what caused it, 
> is it possible that the way I create the "clientID" and "ClientSecret" 
> caused it?  any reply is appreciated.
>
> Exception in thread "main" 
> com.google.api.ads.common.lib.exception.OAuthException: Credential could 
> not be refreshed.
> at 
> com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149)
> at 
> DownloadCriteriaReportWithAwql.main(DownloadCriteriaReportWithAwql.java:42)
> Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 
> Bad Request
> {
>   "error" : "invalid_grant"
> }
> at 
> com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105)
> at 
> com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:332)
> at 
> com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:352)
> at 
> com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:535)
> at 
> com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:248)
> at 
> com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:454)
> at 
> com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(OAuth2Helper.java:70)
> at 
> com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:144)
>
>
> Echo
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: QuotaCheckError.INCOMPLETE_SIGNUP - API v201306

2013-08-01 Thread Takeshi Hagikura (AdWords API Team)
Hi,

If you are using the developer token for the MCC (684-327-0620), the token 
hasn't been approved. 
You can't make a request to production account with an unapproved token. 
Please read the signup 
process
. 

Best,
- Takeshi, AdWords API Team

On Wednesday, July 31, 2013 10:45:25 PM UTC+9, linkeo wrote:
>
> Hi,
>
> We have a first MCC which works well with API v201306.
> But with our second MCC (684-327-0620), we have an issue.
>
> Only the test account (643-272-3953) created last week works with the 
> v201306; all the other accounts face the issue:
> [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'']
> I don't know if it is related but our MCC account is still 'in approval'.
>
> Thanks in advance for your help,
>
> Anthony Dalibert
> Linkeo Company
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Help needed with migration from Adsense ad hoc reports to OAuth 2.0 in .Net C#

2013-08-01 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Assuming you are talking about AdWords, no AdSense. 

Here is the 
guideon 
how to use service accounts for AdWords API. 
The guide explains it with the Java client library, but the basic concept 
is the same. 

Please let us know if you have further question.

Best,
- Takeshi, AdWords API Team

On Wednesday, July 31, 2013 5:43:36 PM UTC+9, Gerhard van Deventer wrote:
>
> Dear AdWords, 
>
> I would greatly appreciate it if someone would be able to assist me. 
> Previously, I used SQL SSIS to make an ad hoc call for downloading Ad Sense 
> reports as CSV files into our warehouse. The method I used can basically be 
> outlined by the code below: 
>
> //User-related config:  
> AdWordsAppConfig config = m_User.Config as AdWordsAppConfig;
>
> //ManagedCustomerService saSvc = 
> (ManagedCustomerService)m_User.GetService(AdWordsService.v201209.ManagedCustomerService);
>  
>
>
> //Get the user variables needed for the report: 
> string cci = null; 
> string startDate = null;
> string endDate = null; 
>
> config.ClientCustomerId = cci;
> config.Email = "";
> config.Password = "##";
> config.DeveloperToken = "";  
>
> ReportUtilities utilities = new ReportUtilities(m_User);
>
> utilities.ReportVersion = "v201306";
>
> utilities.DownloadClientReport(m_ReportDefinition, 
> fullReportPath); 
>
> I realize that the time has come for me to migrate to OAuth2 and have 
> therefore tried to use a service account-type approach in order to attempt 
> to a achieve this. I am, however, not completely sure which is the exact 
> steps I should follow, or if I am doing it correctly. Here are some of the 
> methods that I tried to invoke: 
>
> config.OAuth2ClientId = "#.apps.googleusercontent.com";
> config.OAuth2ServiceAccountEmail = "@
> developer.gserviceaccount.com";
> config.OAuth2ClientSecret = "notasecret";
>
> I have, additionally, obtained  and downloaded,  a P12 key that I know, I 
> have to use in some way. This article - 
> https://developers.google.com/drive/service-accounts#google_apis_console_project_service_accounts-
>  seems to allude to something in the line of what I am trying to achieve, 
> but how would you approach it in the AdWords API case? 
>
> Any help would be greatly appreciated! 
>
> Thanks
> Gerhard 
>  
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

2013-07-30 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

This Id should be long values. 

  1**-**-
  1**-**-

Can you please try it again with removing the "-" (dash)?

Best,
- Takeshi, AdWords API Team

On Monday, July 29, 2013 10:42:48 PM UTC+9, veesy...@gmail.com wrote:
>
> Here it is
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201306"; xmlns:ns2="
> https://adwords.google.com/api/adwords/mcm/v201306";>
>   
> 
>   ***-***-
>   
>   Adwords API Testing (AwApi-PHP/5.0.0, 
> Common-PHP/5.0.0, PHP/5.4.7)
> 
>   
>   
> 
>   
> ADD
> 
>   1**-**-
>   1**-**-
>   PENDING
> 
>   
> 
>   
> 
>
> HTTP/1.1 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Mon, 29 Jul 2013 04:45:58 GMT
> Expires: Mon, 29 Jul 2013 04:45:58 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 575
> Server: GSE
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201306"; xmlns="
> https://adwords.google.com/api/adwords/mcm/v201306";>
>   0004e29f2b23fd780a835f016abd
>   ManagedCustomerService
>   mutateLink
>   1
>   229
> 
>   
>   
> 
>   soap:Server
>   [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
>   
> https://adwords.google.com/api/adwords/mcm/v201306"; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201306";>
>   [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
>   
> ApiException
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns2:InternalApiError">
> 
> 
> 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> InternalApiError
> UNEXPECTED_INTERNAL_API_ERROR
>   
> 
>   
> 
>   
> 
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Migrating from v201209 to v201306 with OAUTH2 but NO DATA BEING RETURNED

2013-07-30 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Do you have soap request and response xml logs? 
Can you please share it (please remove sensitive info)

Best,
- Takeshi, 

On Tuesday, July 30, 2013 12:52:11 AM UTC+9, Jason Kelley wrote:
>
> So I downloaded and put in place the new adwords api php library 4.4.0 and 
> changed my adwords version to v201306 and implanted Oauth2.0 login.
>
> All were required to even get anywhere.
>
> But now my code is no longer pulling data. NO errors just zero results.
>
> An Example is below and just to make sure I wasn’t going crazy I  pulled 
> this code from the examples folder and still got zero results.
>
> I did a var_dump of the user right before the call and all the the data 
> and credentials are correct with the new OAuth2 details.
>
> Like I said im not getting a error just no results and clearly the 
> campaign id below has multiple adgroups.
>
> Please help.
>
>
> CODE BELOW
>
> $campaignId = '123745358';
>
> /**
>
> * Runs the example.
>
> * @param AdWordsUser $user the user to run the example with
>
> * @param string $campaignId the id of the parent campaign
>
> */
>
> function GetAdGroupsExample(AdWordsUser $user, $campaignId) {
>
>
>
>   // Get the service, which loads the required classes.
>
>   $adGroupService = $user->GetService('AdGroupService', “v201306”);
>
>   // Create selector.
>
>   $selector = new Selector();
>
>   $selector->fields = array('Id', 'Name');
>
>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>
>   // Create predicates.
>
>   $selector->predicates[] =
>
>   new Predicate('CampaignId', 'IN', array($campaignId));
>
>   // Create paging controls.
>
>   $selector->paging = new Paging(0, 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>
>   do {
>
> // Make the get request.
>
> $page = $adGroupService->get($selector);
>
> // Display results.
>
> if (isset($page->entries)) {
>
>   foreach ($page->entries as $adGroup) {
>
> printf("Ad group with name '%s' and ID '%s' was found.\n",
>
> $adGroup->name, $adGroup->id);
>
>   }
>
> } else {
>
>   print "No ad groups were found.\n";
>
> }
>
> // Advance the paging index.
>
> $selector->paging->startIndex += 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>
>   } while ($page->totalNumEntries > $selector->paging->startIndex);
>
> }
>
>
>
> try {
>
>   // Run the example.
>
>   GetAdGroupsExample($user, $campaignId);
>
> } catch (Exception $e) {
>
>   printf("An error has occurred: %s\n", $e->getMessage());
>
> }  
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Incorrect statistics

2013-07-30 Thread Takeshi Hagikura (AdWords API Team)
Hi Daniel,

As for the AdHoc reports, please see this 
guide<https://developers.google.com/adwords/api/docs/guides/reporting> and 
example<https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/v201302/Reporting/DownloadCriteriaReport.php>on
 how to pull AdHoc reports using PHP client library. 

As for the stats discrepancy, can you please share the request and response 
xml? 
If you don't want to share it, please reply only to me with "Reply to 
author" from the box in the top right corner.

Best,
- Takeshi, AdWords API Team

On Tuesday, July 30, 2013 5:15:29 PM UTC+9, Daniel van der Ende wrote:
>
> Hi Takeshi,
>
> Thanks! I had not found documentation for the AdHoc reports, these do seem 
> to be a better option. I did not manage, however, to get the statistics 
> correctly using my previous method. I checked the dateRanges and these are 
> correct. The difference also seems to be completely disproportionate; we 
> are getting statistics that are a factor 1000 times as high for a single 
> day as the statistics shown in the client center shows for the same ad for 
> its entire date range.
>
> Kind Regards,
>
> Daniel van der Ende
>
> On Wednesday, 10 July 2013 13:03:43 UTC+2, Takeshi Hagikura (AdWords API 
> Team) wrote:
>>
>> Hi, 
>>
>> Can you please make sure you are requesting the exactly same dateRange, 
>> predicates and fields for the UI and API again?
>> If there is still a difference, please share the request and response 
>> soap xml logs and the stats from the UI.
>>
>> FYI: I recommend to use AdHoc reports to retrieve stats, it take less 
>> time for the stats to be fixed and it can be filtered/segmented in a more 
>> flexible way.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Monday, July 8, 2013 9:56:46 PM UTC+9, Daniel van der Ende wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to read out statistics for our ads and adgroups using the PHP 
>>> API for Google Adwords. I'm having some trouble, however, getting the 
>>> correct values for impressions, clicks and cost.
>>> I'm using the following code:
>>>
>>> $user->SetClientCustomerId($clientId);
>>> $adService = $user->GetService("AdGroupAdService", ADWORDS_VERSION);
>>> $selector = new Selector();
>>> $selector->fields = array("Id", "Name", "Clicks", "Impressions", "Cost");
>>> $selector->predicates[] = new Predicate("AdGroupId", "IN", 
>>> array($adGroupId));
>>>// DateRange is previously defined for another API call, which 
>>> returns the correct values.
>>> $selector->dateRange = $dateRange;
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>> do {
>>> // Make the get request.
>>> $page = $adService->get($selector);
>>>
>>> if (isset($page->entries)) { 
>>> foreach ($page->entries as $ad) {
>>> $newLineObject->adName = $ad->name;
>>> $newLineObject->clicks = $ad->ad->AdStats->clicks;
>>> $newLineObject->impressions = $ad->adStats->impressions;
>>> $newLineObject->cost = $ad->ad->AdStats->cost->microAmount/ 
>>> AdWordsConstants::MICROS_PER_DOLLAR;
>>> }
>>> }
>>> else {
>>>   print "No matching ads were found.\n";
>>>  }
>>> $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>>>
>>> } while ($page->totalNumEntries > $selector->paging->startIndex);
>>>
>>> This obviously isn't the entire code, but other elements are not related 
>>> to the adwords api. When I print the values obtained, I'm getting vastly 
>>> different figures for impressions, clicks and cost than I can find in my 
>>> client center. For example, for a single ad in my client center I see 12000 
>>> impressions, whereas the figure returned by the API indicates almost 
>>> 200 impressions.
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: CustomerSyncService - CustomerSyncError

2013-07-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

It's a common error for CustomerSyncService. 
Please see this 
dochow
 to avoid the error. 

Best,
- Takeshi, AdWords API Team

On Saturday, July 27, 2013 9:01:27 AM UTC+9, Krish wrote:
>
> Hi, 
>
>I am trying to user CustomerSyncService to know the changes of my 
> Campaigns. I am passing an Array of Campaign Ids to the 
> CustomerSyncService, It threw and CustomerSyncError with TOO_MANY_CHANGES 
> (one of the campaign id has too many changes). In CustomerSyncError object, 
> CampaignId it is returned as "Null".
>
>Is it working as expected or a bug? won't the service return the 
> campaignId along with the CustomerSyncError which were the causing the 
> exception ? Anyone any ideas on this...
>
> Thanks
> Gopi
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Showing AdWordsUser and AdWordsService as Deprecated

2013-07-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Assuming you are using the old Java client 
library
. 
As mentioned, that library was deprecated. Please use the new Java 
libraryinstead. 

If you face any difficulties in migrating your code, please let us know.

Best,
- Takeshi, AdWords API Team

On Monday, July 29, 2013 5:04:08 PM UTC+9, kashi wrote:
>
> Hi,
>
> In new Java API version v201306 showing AdWordsUser and AdWordsService as 
> Deprecated.
> But API calls working fine, Please let me know how can fix Deprecated 
> issue.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Test account api-not working-Quotacheckerror[incomplete_signup]

2013-07-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Did you authenticate it with your MCC account (466-737-0663) or the test 
account(595-727-0189)?
Looks like your test account is already marked as a test account. 
I think "User-permission-denied" is different from the error your test 
account is not activated. 

Best,
- Takeshi, AdWords API Team


On Wednesday, July 24, 2013 6:45:42 PM UTC+9, Tom Smith wrote:
>
> Hi Takeshi,
>  
> I still haven't received my confirmation email after applying for a test 
> account and approving the T&C's-furthermore, I am receiving the error, 
> 'User-permission-denied'.
>  
> my test account number is 595-727-0189
> my mcc number is 466-737-0663
>  
> Shall I just create a new account altogether and follow Jaisons footsteps, 
> on the other thread?.
>  
> Many Thanks,
>  
> Tom.
>
> On Mon, Jul 22, 2013 at 6:38 AM, Takeshi Hagikura (AdWords API Team) <
> adwordsapiad...@google.com > wrote:
>
>> Hi, 
>>
>> Please try it again after you receive an approved email for a test 
>> account. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, July 18, 2013 8:23:11 PM UTC+9, tomfl...@gmail.com wrote:
>>>
>>> Hi,
>>>  
>>> I have followed the instructions and registered for a test account from 
>>> my existing MCC account, I have filled out the billing T & C's correctly, I 
>>> am seeing the following error:
>>>  
>>> Quotacheckerror[Incomplete_**signup]
>>>  
>>> Now, I have ticked all the T & C's etc, so think it relate to the test 
>>> account access, I have yet to receive an approval email still-please advise 
>>> on any guidance.
>>>  
>>> Many Thanks,
>>>  
>>> Tom.
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://adwordsapi.blogspot.com
>> http://groups.google.com/group/adwords-api
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to 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/V9pqPYRyNaQ/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/groups/opt_out.
>>  
>>  
>>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Setting Content Bid Dimension with contentBidCriterionTypeGroup

2013-07-29 Thread Takeshi Hagikura (AdWords API Team)
Hi Alex,

Currently, it's not supported to reset it back to null. 
We're going to fix it in a future release.

Best,
- Takeshi, AdWords API Team

On Tuesday, July 23, 2013 4:52:10 PM UTC+9, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Alex, 
>
> Got your point. 
> I'll get back to you as I get the info about that. 
>
> Best,
> - Takeshi, 
>
> On Tuesday, July 23, 2013 7:41:28 AM UTC+9, alx wrote:
>>
>> Hi Takeshi,
>>
>> I guess I was not clear enough (regarding the first question) as it's not 
>> exactly what I was asking...
>>
>> Basically, for Display campaigns only, I can specify what bid dimension 
>> should be used for particular ad group. Thus, I can set 
>> AdGroup.contentBidCriterionTypeGroup = CriterionTypeGroup.PLACEMENT // use 
>> placements bids
>> OR
>> AdGroup.contentBidCriterionTypeGroup = CriterionTypeGroup.KEYWORD   // use 
>> keywords bids
>> OR
>> etc...
>>
>> As you confirmed AdGroup.contentBidCriterionTypeGroup is not mandatory 
>> when creating a new group and if it's not provided then Ad Group level 
>> default bids are used. However, once AdGroup.contentBidCriterionTypeGroup 
>> gets to be set to PLACEMENT/KEYWORD/etc.. there is no way to reset it back 
>> to null, so that Ad group level default bids would be used again. I can 
>> definitely can do in UI, but (unless I am missing something) it seems like 
>> I cannot do it with the API.
>>
>> Thanks,
>> --Alex
>>
>>  
>>
>>
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Adword API in Google App Engine

2013-07-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

You can download the dependent library like this in your pom.xml.


  com.google.api-ads
  adwords-appengine
  1.18.0


I think it's not documented I'm going to document it.

Best,
- Takeshi, AdWords API Team


On Tuesday, July 23, 2013 5:12:15 PM UTC+9, Ashish Pathak wrote:
>
> Hi,
>
> Does Google App Engine support adword api, because i can't find adword 
>  api support for Google app engine either on Eclipse plugin for app engine 
> or api console. 
>
> Is there documentation available for using adword api  with google app 
> engine in Java?
>
> Thanks,
> Ashish
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: API access to API usage data?

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

It's not supported currently. 
The possible way is storing the number of API calls locally.

Best,
- Takeshi, AdWords API Team

On Wednesday, July 24, 2013 4:23:03 AM UTC+9, Jacob Elder wrote:
>
> Is there any programmatic way to get the number of API calls I've used in 
> a given period?

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Integer Id fields in GEO_PERFORMANCE_REPORT

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi Devesh,

Thanks. Confirmed the situation. 
Escalated a request to fix the fieldType to String. 

Best,
- Takeshi, AdWords API Team

On Saturday, July 27, 2013 3:10:21 AM UTC+9, Devesh Parekh wrote:
>
> Hi Takeshi,
>
> Yes, all the values for these ID fields are non-numerical (like "Ireland" 
> and "Cork"), and you can verify it by running the example query I provided. 
> According to the documentation, these should be Integers, and I would much 
> prefer to have the report behave as documented instead of as the way it 
> currently behaves.
>
> -- 
> Devesh
>
>
> On Thu, Jul 25, 2013 at 10:49 PM, Takeshi Hagikura (AdWords API Team) <
> adwordsapiad...@google.com > wrote:
>
>> Hi, 
>>
>> Was there a non numerical value for Id field?
>> If not, you can map it to Integers in a programing language. 
>> Basically the result is returned as CSV or XML as you specified when you 
>> download a report.
>>
>> Best,
>> - Takeshi, 
>>
>> On Wednesday, July 24, 2013 9:19:34 AM UTC+9, Devesh Parekh wrote:
>>>
>>> According to https://developers.google.**com/adwords/api/docs/appendix/*
>>> *reports#geo<https://developers.google.com/adwords/api/docs/appendix/reports#geo>,
>>>  
>>> CountryCriteriaId and RegionCriteriaId should be Integers, but the when I 
>>> send an AWQL query to the reportdownload endpoint (
>>> https://adwords.google.com/**api/adwords/reportdownload/**v201306<https://adwords.google.com/api/adwords/reportdownload/v201306>)
>>>  
>>> to return those fields, I get Strings. Example query: SELECT 
>>> CountryCriteriaId, RegionCriteriaId, Impressions FROM 
>>> GEO_PERFORMANCE_REPORT DURING 20130101,20130723
>>>
>>> Can you make them Integers?
>>>
>>> -- 
>>> Devesh
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://adwordsapi.blogspot.com
>> http://groups.google.com/group/adwords-api
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to 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/EiGdtzXY30s/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/groups/opt_out.
>>  
>>  
>>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Analytics metrics e.g. visitBounceRate, AvgTimeOnSite NOT accessible via AdWords API?

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Unfortunately it's not supported to pull the Analytics metrics from AdWords 
API and is not on the roadmap.

Best,
- Takeshi, AdWords API Team

On Friday, July 26, 2013 8:01:58 PM UTC+9, Christian Borck wrote:
>
> I am developing a bid management application for Google AdWords. For 
> several internal predictions I would like to use not only the standard 
> AdWords metrics but also some (OnPage)-Analytics metrics like 
> visitBounceRate & AvgTimeOnSite.
>
> Both accounts are linked properly and I can pull these data directly from 
> AdWords using AdWords Scripts in the AdWords interface. Unfortunately i 
> can't figure out how to pull these metrics directly via the AdWords API. 
> There are no reports containing these metrics.
>
> My workaround is to utilize both APIs, AdWords & Analytics, and then match 
> the data. But that seems a little overloaded.
>
> Is there a way to access these metrics directly via the AdWords API or is 
> this planned for the near future?
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Error in running adwords api examples in php

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

What error specifically are you facing? 
Can you please attach the actual SOAP request and response?

Best,
- Takeshi,

On Thursday, July 25, 2013 7:07:06 PM UTC+9, dev3.we...@gmail.com wrote:
>
> *How to run adwords api examples using url in php*
>
> please reply to my email id.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: how to rename a campaign in adwords api php

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see this 
example
.

Best,
- Takeshi, AdWords API Team

On Thursday, July 25, 2013 5:51:22 PM UTC+9, Akhilesh Ojha wrote:
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Error: User Rate Limit Exceeded -> OAuth2 / PHP clientlibrary / cross client reporting / SimpleOAuth2Handler->RefreshAccessToken

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi Jan,

I think that can be avoided if the access token is cached and only 
requested when the access token is about to expire. 
I'm asking the PHP library maintainer for comments. 

Best,
- Takeshi, 

On Thursday, July 25, 2013 5:23:24 AM UTC+9, Jan Catrysse wrote:
>
> Hello,
>
> We've updated to adWords API v201306 and switched from simple login to 
> OAuth2. We are using one MCC account to access multiple underlying customer 
> accounts. OAuth2 is working fine when accessing only a few 
> ClientCustomerId’s.
>
> A “User Rate Limit Exceeded” error is occurring when spawning multiple 
> processes (lets say 20), getting some info from CampaignService. It seems 
> that this is not an adWords error, but a Google API error (OAUTH 2), when 
> refreshing the authtoken to often. This is however handled by the PHP 
> Client Library…
> We’ve made sure that “new AdWordsUser()” and “GetAuthToken()” is called 
> before the fork and “SetClientCustomerId()” and “GetService()” inside the 
> fork. It is our understanding that the php client library should handle the 
> refresh token afterwards…
>
> What are we doing wrong? It is not possible to change the rate limits for 
> AdWords inside Google API…
>
> Thanks,
> Jan
>
> How is the script made up (simplified, just to get the idea):
>
>> > $user = new AdWordsUser();
>> $user->SetOAuth2Info(
>> array('client_id' => CONFIG_GAPI_CLIENT_ID,
>> 'client_secret' => CONFIG_GAPI_CLIENT_SECRET,
>> 'refresh_token' => CONFIG_GAPI_REFRESH_TOKEN)
>> );
>> $user->SetUserAgent(CONFIG_GAPI_USERAGENT);
>> $user->SetDeveloperToken(CONFIG_GAPI_DEVELOPER_TOKEN);
>> $user->SetApplicationToken(CONFIG_GAPI_APPLICATION_TOKEN);
>> $user->GetAuthToken();
>>
>> $aAccounts = array('account', 'anotheraccount', 'andanother');
>> $children = array();
>> $i=0;
>> while ($i < count($aAccounts)) {
>> $customerId = $aAccounts[$i];
>> if (($pid = pcntl_fork()) === 0){
>> // Child process
>> try {
>> $user->SetClientCustomerId($customerId);
>> $campaignService = $user->GetService('CampaignService', 
>> 'v201306');
>> $selector = new Selector();
>> $selector->fields = array('Status', 'StartDate', 'EndDate', 
>> 'Id');
>> $selector->paging = new Paging(0, 10);
>> do {
>> // Make the get request.
>> $page = $campaignService->get($selector);
>> $selector->paging->startIndex += 10;
>> } while ($page->totalNumEntries > 
>> $selector->paging->startIndex);
>> } catch (Exception $e) {
>> echo $e->getTraceAsString();
>> }
>> exit();
>> }else if ($pid){
>> // Parent process
>> $children[] = $pid;
>> }
>> $i++;
>> }
>> ?>
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: update TemplateAd properties

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Do you mind posting the actual SOAP mutate request xml (please remove the 
sensitive information)? 

Best,
- Takeshi, AdWords API Team

On Thursday, July 25, 2013 3:42:01 AM UTC+9, saverio mucci wrote:
>
> Hi there, 
> I'm tring to mutate an existing TemplateAd but i get able to send the 
> mutate but no operation is applied to the ad itself:
>
> this is the current ad:
> {
> 'status': 'ENABLED',
> 'adGroupId': '6911540940',
> 'stats': {
> 'percentServed': '0.0',
> 'network': 'SEARCH',
> 'Stats_Type': 'AdStats'
> },
> 'ad': {
> 'templateElements': [{
> 'fields': [{
> 'fieldText': '1',
> 'type': 'ENUM',
> 'name': 'appStore'
> }, {
> 'fieldText': '553834731',
> 'type': 'TEXT',
> 'name': 'appId'
> }, {
> 'fieldText': 'Get the Best Game Free!',
> 'type': 'TEXT',
> 'name': 'description1'
> }, {
> 'fieldText': 'Find {KeyWord:New Apps}',
> 'type': 'TEXT',
> 'name': 'description2'
> }, {
> 'fieldText': '*{Keyword:The Most Popular Apps}*',
> 'type': 'TEXT',
> 'name': 'headline'
> }],
> 'uniqueName': 'adData'
> }],
> 'name': 'template-ad-name',
> 'url': 'http://my-tracking-url-for-conversion.com',
> 'Ad_Type': 'TemplateAd',
> 'displayUrl': 'itunes.apple.com',
> 'templateId': '353',
> 'id': '27849183780'
> },
> 'trademarkDisapproved': 'false',
> 'approvalStatus': 'FAMILY_SAFE'
> }
>
> I'm sending this simple mutate trying to mutate the headline
>
> {
> 'templateElements': [{
> 'fields': [{
> 'fieldText': '1',
> 'type': 'ENUM',
> 'name': 'appStore'
> }, {
> 'fieldText': '553834731',
> 'type': 'TEXT',
> 'name': 'appId'
> }, {
> 'fieldText': 'Get the Best Game Free!',
> 'type': 'TEXT',
> 'name': 'description1'
> }, {
> 'fieldText': 'Find {KeyWord:New Apps}',
> 'type': 'TEXT',
> 'name': 'description2'
> }, {
> 'fieldText': u '*Get the best Game ever*',
> 'type': 'TEXT',
> 'name': 'headline'
> }],
> 'uniqueName': 'adData'
> }],
> 'name': 'template-ad-name',
> 'url': 'http://my-tracking-url-for-conversion.com',
> 'Ad_Type': 'TemplateAd',
> 'displayUrl': 'itunes.apple.com',
> 'templateId': '353',
> 'id': '27849183780'
> }
>
> but i get as response the old ad with no changes and no changes are 
> applied on the ad itself.
>
> {
> 'ListReturnValue_Type': 'AdGroupAdReturnValue',
> 'value': [{
> 'status': 'ENABLED',
> 'approvalStatus': 'FAMILY_SAFE',
> 'adGroupId': '6911540940',
> 'ad': {
> 'templateElements': [{
> 'fields': [{
> 'fieldText': '1',
> 'type': 'ENUM',
> 'name': 'appStore'
> }, {
> 'fieldText': '553834731',
> 'type': 'TEXT',
> 'name': 'appId'
> }, {
> 'fieldText': 'Get the Best Game Free!',
> 'type': 'TEXT',
> 'name': 'description1'
> }, {
> 'fieldText': 'Find {KeyWord:New Apps}',
> 'type': 'TEXT',
> 'name': 'description2'
> }, {
> 'fieldText': '*{Keyword:The Most Popular Apps}*',
> 'type': 'TEXT',
> 'name': 'headline'
> }],
> 'uniqueName': 'adData'
> }],
> 'name': 'template-ad-name',
> 'url': 'http://my-tracking-url-for-conversion.com',
> 'Ad_Type': 'TemplateAd',
> 'displayUrl': 'itunes.apple.com',
> 'templateId': '353',
> 'id': '27849183780'
> }
> }]
> }
>
> any suggestion about what i'm doing wrong because i'm getting confused, 
> did anyone has some example how to modify one of this kind.
>
> Best
> Saverio
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords

Re: Adwords API sign up

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Once API costs are charged at a rate of US$0.25 per 1000 API units (please 
see https://developers.google.com/adwords/api/docs/ratesheet).
But now it has been changed for new API pricing (please see 
http://googleadsdeveloper.blogspot.jp/2013/01/new-simplified-adwords-api-pricing.html
).
So the "Monthly API Budget" is not used. 

As for the email, I'm not sure what the relationship between you and your 
developers, but please fill in with the valid email address you can 
monitor. 
Sometimes we send an announcement, reminder etc to that mail address.

Best,
- Takeshi

On Wednesday, July 24, 2013 8:22:48 PM UTC+9, rinky@systematixindia.com 
wrote:
>
> Hi There,
>
> I want to apply for Adwords API. When I visites My account tab under my 
> MCC account, and then Adwords API center, it asks for "Monthly API Budget". 
> Can anyone please let me know what to mention in this part?
>
> Also, that form is asking for "Company email" where google will contact. 
> So should I mention my email address instead of developer'email address and 
> then I will forward those emails to my developer? I just want to keep this 
> thing under my control.
>
>
> Please advice.
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

2013-07-28 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please post the request xml including http headers? 
(Please remove the sensitive infomation such as developer token) 
I'm looking into that. 

Best,
- Takeshi, AdWords API Team

On Monday, July 29, 2013 1:52:36 PM UTC+9, m...@adwordize.de wrote:
>
> Still Same Error, Not Able To *Mutatelink using google adwords api v201306
> *

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Getting "unauthorized_client" when calling CampaignService.get()

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please try that example to retrieve refresh_token with your 
clientId, clientSecret?
https://code.google.com/p/google-api-adwords-dotnet/source/browse/src/Common/Util/OAuth2TokenGenerator.cs

If succeed, please use those clientId, clientSecret, refreshToken in 
OAuth2ClientId, OAuth2ClientSecret, OAuth2RefreshToken 
in your App.config or Web.config and try it again.

Best,
- Takeshi, AdWords API Team

On Thursday, July 25, 2013 4:11:34 AM UTC+9, Jonathan Shaltz wrote:
>
> "unauthorized_client" is returning zero search results in this forum; 
> that's hard to believe, maybe it's a temporary problem with the search 
> engine.  My apologies if there's already a thread for it.
>
> I'm using the .Net library, and calling get() on 
> Google.Api.Ads.AdWords.v201306.CampaignService.  This is failing; here's 
> the error:
>
> Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
> token.
> {
> "error" : "unauthorized_client"
> }
>
> ...and the stack trace:
>
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode()
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessToken()
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderBase.RefreshAccessTokenIfExpiring()
> at Google.Api.Ads.Common.Lib.OAuth2ProviderBase.GetAuthHeader()
> at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall(String 
> methodName, Object[] parameters)
> at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, 
> Object[] parameters)
> at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
> Object[] parameters)
> at Google.Api.Ads.AdWords.v201306.CampaignService.get(Selector 
> serviceSelector)
> 
>
> I can only assume that I'm not giving the library enough data; here's 
> where I initialize my user info:
>
> _oAuth2User = new AdWordsUser();
>
> AdWordsAppConfig  apiConfig = (AdWordsAppConfig)_oAuth2User.Config;
> apiConfig.AuthorizationMethod = AdWordsAuthorizationMethod.OAuth2;
> apiConfig.DeveloperToken  = _developerToken;
>
> OAuth2ProviderForApplications  oAuthProvider = new 
> OAuth2ProviderForApplications(apiConfig);
> oAuthProvider.Config.OAuth2Mode = OAuth2Flow.APPLICATION;
> oAuthProvider.ClientId  = _clientId;
> oAuthProvider.ClientSecret  = _clientSecret;
> oAuthProvider.RefreshToken  = _refreshToken;
>
> _oAuth2User.OAuthProvider = oAuthProvider;
>
> I've collected my client ID, client secret, developer token, auth token, 
> and refresh token (with the AdWords scope) from Google.  A client ID, 
> client secret, and refresh token are enough to generate new access tokens 
> at will (I've done it, for other Google APIs), so I'm not sure what's 
> causing the error.
>
> If there is another field I need to specify, the library should flag that 
> specifically rather than giving a generic error message.  Making an OAuth 
> subclass of AdWordsUser with parameters for the required fields, rather 
> than making us guess about what's needed and populate several different 
> objects, would really help move this library into "ready for prime time."
>
> I can connect to AdWords just fine for ad hoc reports when I bypass the 
> .Net library and simply POST to 
> https://adwords.google.com/api/adwords/reportdownload/v201306.  I haven't 
> seen a similar mechanism for campaigns and ad groups, but that would be my 
> preference if anyone can point me in the right direction.
>
> - J
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] error

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please check if your credit card is still valid, not turned into 
delinquent?

Best,
- Takeshi, 

On Wednesday, July 24, 2013 3:15:19 PM UTC+9, Justinas Gulbinas wrote:
>
> Hello 
>
> I've been using my live MCC account for several months successfully, 
> started to get [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] 
> error. Nothing has changed at our side also: v201302 via python api 15.8.0 
> all the time. 
> Tested with v201306 and python api 15.9 - same error. 
>
>  - Justinas

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Integer Id fields in GEO_PERFORMANCE_REPORT

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Was there a non numerical value for Id field?
If not, you can map it to Integers in a programing language. 
Basically the result is returned as CSV or XML as you specified when you 
download a report.

Best,
- Takeshi, 

On Wednesday, July 24, 2013 9:19:34 AM UTC+9, Devesh Parekh wrote:
>
> According to 
> https://developers.google.com/adwords/api/docs/appendix/reports#geo, 
> CountryCriteriaId and RegionCriteriaId should be Integers, but the when I 
> send an AWQL query to the reportdownload endpoint (
> https://adwords.google.com/api/adwords/reportdownload/v201306) to return 
> those fields, I get Strings. Example query: SELECT CountryCriteriaId, 
> RegionCriteriaId, Impressions FROM GEO_PERFORMANCE_REPORT DURING 
> 20130101,20130723
>
> Can you make them Integers?
>
> -- 
> Devesh
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: How to provide billing info in MCC

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Don't you find it in "Billing" tab when you log into with your MCC account?

Best,
- Takeshi, 

On Wednesday, July 24, 2013 7:24:17 AM UTC+9, Ad-Api wrote:
>
> Hi there, 
>  
> We wish to get API and we started from the beginning - fill info in 
> AdWords Api Center (in MCC). I filled all required in first step info. But 
> I didn't take sekond step (provide billing info). I logged out. Nex day 
> when I logged in I couldn't find any option in AdWords Api Center (in 
> MCC)  to fill billing info form http://screencast.com/t/WH2PAyfGEO2R 
>  
> Can you please help me with this issue? How can I add my billing info?
>  
> Thanks in advance.
>  
> S.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Using sitelinks in multiple campaigns

2013-07-24 Thread Takeshi Hagikura (AdWords API Team)
Hi,

As mentioned in the 
CampaignAdExtensionService,
 
legacy extensions can be associated with only one campaign.
An ad extension can be associated with only one campaign.

As for the second question, you can include CampaignId in Placeholder Feed 
Item 
Report
 and 
segment it by CampaignId. 

Best,
- Takeshi, AdWords API Team

On Tuesday, July 23, 2013 6:16:22 PM UTC+9, gai-t...@etracker.de wrote:
>
> Hello,
>
> I have a question: Can legacy sitelinks be part of various campaigns or is 
> this only possible when using enhanced campaigns?
>
> Obviously this is possible for upgraded sitelinks anyway. So far we change 
> the original sitelink URl to transport the information
> which campaign is affected. Is there any generic mechanism that can be 
> used to retrieve the affected campaign dynamically
> when someone clicks a link used for multiple campaings, e.g. like using 
> value track parameters?
>
> Thank you for answering!
>
> Andreas B.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

2013-07-24 Thread Takeshi Hagikura (AdWords API Team)
Hi 

Is that error still happening? 
Sometimes you may encounter UNEXPECTED_INTERNAL_API_ERROR due to a temporal 
issue. 
So we recommend to implement error handling and retry logic 
https://developers.google.com/adwords/api/docs/guides/bestpractices#error_handling

Best,
- Takeshi, AdWords API Team

On Tuesday, July 23, 2013 5:29:02 PM UTC+9, veesy...@gmail.com wrote:
>
> I m using google *adwords api php sdk - v201306*.When i try to mutate 
> link using the below code
>
>> try {
>> $user = new AdWordsUser();
>> //$user->SetDeveloperToken($developerToken);
>>  $user->LogAll();
>> // Load the oAuth settings
>> $user->SetOAuth2Info($credentials);
>>
>> $managedCustomerService =
>>   $user->GetService('ManagedCustomerService', 
>> ADWORDS_VERSION);
>> $linkOp = new LinkOperation();
>> $link = new ManagedCustomerLink();
>> $link->managerCustomerId = "***-***-";
>> $link->clientCustomerId = '***-***-';
>> $link->linkStatus = 'PENDING';
>> //$link->pendingDescriptiveName = $pendingDescriptiveName;
>> $linkOp->operand=$link;
>> $linkOp->operator='ADD';
>> $managedCustomerService->mutateLink($linkOp);
>>
>> } catch (Exception $e) {
>> echo $e->getMessage();
>> }
>>
>
> I got following response from the google adwords api server
> *[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
> *
>
> Waiting for updates
> WebRep
> Overall rating
>  
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Login Api AdWords in PHP (Codeigniter)

2013-07-24 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please start with this page 
https://developers.google.com/adwords/api/docs/signingup you need to have 
an approved developer token. 
To test how the API works, you can use a test account before your token is 
approved. 
https://developers.google.com/adwords/api/docs/test-accounts

Best,
- Takeshi, AdWords API Team

On Tuesday, July 23, 2013 7:18:31 PM UTC+9, Miner Mole wrote:
>
> I'm developing a web in php with codeigniter that needs to connect to 
> Adwords, and I have a lot of questions...
>
> First of all, I have a test account and I don't know if i'm connecting 
> properly, because I don't know what I have to put as developerToken, 
> clientId and defaultServer. Which is the correct one?
>
> $username = "my_e...@gmail.com ";
>
>  $password = "my_password";
>
>  //Developer Token options
>
>  $developerToken_1 = "E2SGs1l7gEWWdCfeYSO4oA"; //It's not my real token..
>
>  $developerToken_2 = "my_e...@gmail.com ++USD";
>
>  $user = new AdWordsUser(null, $username, $password, $developerToken);
>
>  //Default Servers
>
> //Option 1
>
>   $user->SetDefaultServer("https://adwords.google.com/";);
>
> //Option 2
>
>   $user->SetDefaultServer("https://adwords-sandbox.google.com";);  
> 
> 
> //Option 3
>
>   $user->SetDefaultServer("https://sandbox.google.com";); 
>
> //Client ID
>
> //Option 1
>
>   $user->SetClientId('client_id_1+my_em...@gmail.com ');
>
> //Option 2 
>
>   $user->SetClientId('1234567890');
>
> I think that I have to use the adwords version v201306
>
> $campaignService = $user->GetService('CampaignService', 'v201306');
>
> If I use "https://adwords.google.com/"; as Server, I recieve:
>
> Uncaught exception 'OAuth2Exception' with message '{
>  "error" : "invalid_client"
> }'
>
>  "error" : "invalid_client"
>
> }'
>
> With the others servers, I recieve:
>
> A PHP Error was encountered
>
> Severity: Warning
>
> Message:
>
>
> SoapClient::SoapClient(https://sandbox.google.com/api/adwords/cm/v201306/CampaignService?wsdl):
>  failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
>
> Filename: Lib/AdsSoapClient.php
>
> or
>
> A PHP Error was encountered
>
> Severity: Warning
>
> Message:
>
>
> SoapClient::SoapClient(https://adwords-sandbox.google.com/api/adwords/cm/v201306/CampaignService?wsdl):
>  failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
>
> Filename: Lib/AdsSoapClient.php
>
> What should I do? I've read a lot in too many webs and I don't know how 
> can I solve it
> Thanks a lot!! 
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: Help migration Adwords API 201209 to 201306

2013-07-24 Thread Takeshi Hagikura (AdWords API Team)
Hi,

First, are you able to run this example that uses 
ManagedCustomerServiceInterface?
https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201306/accountmanagement/GetAccountHierarchy.java

Best,
- Takeshi, AdWords API Team

On Monday, July 22, 2013 8:38:37 PM UTC+9, mcn.a...@gmail.com wrote:
>
> I'm migrating from API 201209 to 201306 but have a lot of problems:
>
> This is my old code
>
>
> try {
>
>  Boolean mail_flag = false;
>
>
>   String clientLoginToken = new ClientLoginTokens(ClientLoginTokens.
> ADWORDS_SERVICE).
>
>from(adwordsPropertyService.getEmail(),
>
>adwordsPropertyService.getPassword());
>
>
>   // Construct an AdWordsSession.
>
>  AdWordsSession session = new AdWordsSession.Builder().withDeveloperToken(
> adwordsPropertyService.getDeveloperToken())
>
>   .withUserAgent(adwordsPropertyService.getUseragent())
>
>   .withEndpoint("https:/adwords.google.com/api/adwords/")
>
>   .withEnvironment(Environment.PRODUCTION)
>
>   .withClientLoginToken(clientLoginToken).build();
>
>
>   AdWordsServices adWordsServices = new AdWordsServices();
>
>
>   LinkedList operations2 = 
> newLinkedList();
>
>  List adwordsCode = zonaService.findAdwordsCode();
>
>  // Get the ServicedAccountService.
>
>
>   ManagedCustomerServiceInterface managedCustomerService = 
> adWordsServices.get(session, ManagedCustomerServiceInterface.class);
>
>
>   // Create selector.
>
>  Selector selector = new Selector();
>
>  selector.setFields(new String[]{"Login", "CustomerId",  "Name"});
>
>
>   // Get results.
>
>  ManagedCustomerPage page = managedCustomerService.get(selector);
>
>
>   for (ManagedCustomer account : page.getEntries()) {
>
>   logger.info("Client with email "+account.getLogin()+" has ID "
> +account.getCustomerId()+".");
>
>
>   try{
>
>   // Get the CampaignService.
>
>   session.setClientCustomerId(account.getCustomerId().toString());
>
>
>CampaignServiceInterface campaignService = 
> adWordsServices.get(session, CampaignServiceInterface.class);
>
>
>// Create selector.
>
>   Selector selectorCampaign = new Selector();
>
>   selectorCampaign.setFields(new String[] {"Id", "Name", "Status"});
>
>   selectorCampaign.setOrdering(new OrderBy[] {new OrderBy("Name", 
> SortOrder.ASCENDING)});
>
>
>   … … ...
>
>   
> First problem is when execute
>
>
>  ManagedCustomerServiceInterface managedCustomerService = 
> adWordsServices.get(session, ManagedCustomerServiceInterface.class);
>
>
> that give me follow error:
>
>
>  No group found for service: v201306.ManagedCustomerService
>
>
> How can I resolve it?
>
>
> Thanks a lot for your help.
>
> Best regards,
>
> Marco
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: ORDER BY Clicks DESC Returns INVALID_ORDER_BY_CLAUSE - Bug

2013-07-24 Thread Takeshi Hagikura (AdWords API Team)
Yes, it's supported by service calls (such as CampaignService). 
But not supported by AdHoc reports. It's documented in "*In AdHoc reports*" 
section. 


   - ORDER BY and LIMIT (Sorting and Paging) are *NOT* supported for AdHoc 
   reports. Including these clauses in a query will generate an error.

Best,
- Takeshi,

On Wednesday, July 24, 2013 3:45:55 PM UTC+9, Marcin Rosinski wrote:
>
> Thanks but in this case this Documentation is misleading - 
> https://developers.google.com/adwords/api/docs/guides/awql - as it shows 
> ORDER clause in there even in examples.
>
> cheers,
> /Marcin
>
> On Wednesday, 24 July 2013 07:41:01 UTC+1, Takeshi Hagikura (AdWords API 
> Team) wrote:
>>
>> Even for AdHoc reports (not AWQL), ORDER BY is not supported. 
>> We're not planning to support it currently. 
>>
>> Best,
>> - Takeshi, 
>>
>> On Wednesday, July 24, 2013 3:36:51 PM UTC+9, Marcin Rosinski wrote:
>>>
>>> Thanks, but in this case can you let me know when/where ORDER is 
>>> supported then?
>>>
>>> cheers,
>>> /Marcin
>>>
>>> On Wednesday, 24 July 2013 07:34:02 UTC+1, Takeshi Hagikura (AdWords API 
>>> Team) wrote:
>>>>
>>>> Hi Marcin,
>>>>
>>>> It's the intended behavior. 
>>>> ORDER BY is not supported by AdHoc report.
>>>>
>>>> Best,
>>>> - Takeshi, AdWords API Team
>>>>
>>>> On Tuesday, July 23, 2013 2:51:13 PM UTC+9, Takeshi Hagikura (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hi Marcin,
>>>>>
>>>>> Thanks for the report. 
>>>>> I'm looking into this. I'm going to update the thread for updates.
>>>>>
>>>>> Best,
>>>>> - Takeshi, AdWords API Team
>>>>>
>>>>> On Tuesday, July 23, 2013 2:17:32 AM UTC+9, Marcin Rosinski wrote:
>>>>>>
>>>>>>
>>>>>> Hi guys, there seems to be a bug regarding the Reporting AWQL endpoint.
>>>>>>
>>>>>>
>>>>>> What steps will reproduce the problem?
>>>>>> Run query:
>>>>>> SELECT Query, MatchType, Clicks, Cost, Impressions FROM 
>>>>>> SEARCH_QUERY_PERFORMANCE_REPORT DURING 20130621,20130721 ORDER BY Clicks 
>>>>>> DESC
>>>>>>
>>>>>> Query without ORDER BY Clicks DESC works all OK.
>>>>>> Please can you advise.
>>>>>>
>>>>>>
>>>>>> P.S.
>>>>>>
>>>>>> Initially I have reported it here - 
>>>>>> https://code.google.com/p/google-api-adwords-php/issues/detail?id=103 
>>>>>> but been asked to move it under this forum.  
>>>>>>
>>>>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: what is diffrerence between update campaign and enhanced campaign,

2013-07-23 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please see this 
guide
.
Please let me know if you have follow up questions.

Best,
- Takeshi, AdWords API Team

On Tuesday, July 23, 2013 11:07:56 AM UTC+9, Akhilesh Ojha wrote:
>
> what is diiference betwwen update campaign and enhanced campaign , please 
> clarify it , i am developing a tool  using php adwords api to 
> automaticallys  make a mutiple campaigns ,adgroups and keywords and text ads

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




Re: ORDER BY Clicks DESC Returns INVALID_ORDER_BY_CLAUSE - Bug

2013-07-23 Thread Takeshi Hagikura (AdWords API Team)
Even for AdHoc reports (not AWQL), ORDER BY is not supported. 
We're not planning to support it currently. 

Best,
- Takeshi, 

On Wednesday, July 24, 2013 3:36:51 PM UTC+9, Marcin Rosinski wrote:
>
> Thanks, but in this case can you let me know when/where ORDER is supported 
> then?
>
> cheers,
> /Marcin
>
> On Wednesday, 24 July 2013 07:34:02 UTC+1, Takeshi Hagikura (AdWords API 
> Team) wrote:
>>
>> Hi Marcin,
>>
>> It's the intended behavior. 
>> ORDER BY is not supported by AdHoc report.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Tuesday, July 23, 2013 2:51:13 PM UTC+9, Takeshi Hagikura (AdWords API 
>> Team) wrote:
>>>
>>> Hi Marcin,
>>>
>>> Thanks for the report. 
>>> I'm looking into this. I'm going to update the thread for updates.
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Tuesday, July 23, 2013 2:17:32 AM UTC+9, Marcin Rosinski wrote:
>>>>
>>>>
>>>> Hi guys, there seems to be a bug regarding the Reporting AWQL endpoint.
>>>>
>>>>
>>>> What steps will reproduce the problem?
>>>> Run query:
>>>> SELECT Query, MatchType, Clicks, Cost, Impressions FROM 
>>>> SEARCH_QUERY_PERFORMANCE_REPORT DURING 20130621,20130721 ORDER BY Clicks 
>>>> DESC
>>>>
>>>> Query without ORDER BY Clicks DESC works all OK.
>>>> Please can you advise.
>>>>
>>>>
>>>> P.S.
>>>>
>>>> Initially I have reported it here - 
>>>> https://code.google.com/p/google-api-adwords-php/issues/detail?id=103 but 
>>>> been asked to move it under this forum.  
>>>>
>>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
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/groups/opt_out.




<    1   2   3   4   5   6   >