Re: unauthorized_client

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi,

First please go through this 
step whether 
you can get refresh token, if you can using that refresh token please call 
any of the examples. 
If it fails, please share the request and response xml logs. 

Best,
- Takeshi, 

On Monday, October 14, 2013 5:43:58 PM UTC+9, apite...@gmail.com wrote:
>
> Hi,
>
> I have test account marked as test, I also have approved developer token 
> on second production account and I want to use this token in my test 
> application so i created application in 
> https://code.google.com/apis/console#access to test account, then I 
> generate refresh token step by step in tutorial, after all I try to get 
> account hierarchy for test but with no success. Api returns 
> unauthorized_client error. I also try with token in test accou but it is in 
> 'waiting' state. I dont quite understand what i'm doing wrong. Could you 
> give me some advice?
>
>
> Library: PHP
> Problem : unauthorized_client 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems with linking up multiple applications under one MCC

2013-10-16 Thread developer
I don't mean to hijack this thread, but the whole point of my question 
stems from the "Test Accounts" section of the API docs:
https://developers.google.com/adwords/api/docs/test-accounts

Under "Getting Started" it states that you need to use a *production* mcc 
account Developer Token when making service calls (even to test accounts in 
test mcc).
However, when I try to use a production token from a different account to 
call a test account in a SOAP call, I get 
AuthorizationError:USER_PERMISSION_DENIED.

Why? Is there something I need to do to associate the test account with the 
production account? Since I am using OAuth credentials associated with the 
user from the test account and the production developer key, I assume there 
is something I need to do to associate them. I am able to authenticate via 
OAuth2 fine, but any API service calls I make return the user perm denied 
error.

Thanks
Mike

On Tuesday, October 15, 2013 7:07:27 AM UTC-4, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Nate,
>
> If you need to access both campaigns with the same credential (MAIN 
> PRODUCTION MCC ACCOUNT in that case), the structure looks right to me. 
>
> As for the test accounts, now you can create a test MCC on your own 
> (please see the 
> blog
> ).
> I recommend to create a separate MCC from the production MCC account. 
> It's easier to manage. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, October 10, 2013 8:53:08 PM UTC+9, deve...@aardvarkads.comwrote:
>>
>> I have tried to use the Production developer token in my Test calls 
>> (Oauth2 token refresh is successful), as Google instructs in grey block 
>> under "Getting Started": 
>> https://developers.google.com/adwords/api/docs/test-accounts?hl=e
>> n.
>>
>> When a ManagedCustomerService call failed with 
>> AuthorizationError.USER_PERMISSION_DENIED, 
>> I figured I needed to link the Test account to the production MCC. 
>> However, when I try to link any Test account to my production in MCC, I 
>> get an error message. This post outlines the same problem: 
>> https://groups.google.com/forum/#!topic/adwords-api/psNwhXb0cK8
>>
>> I attached the log files for the request.
>>
>> Please help.
>> Mike
>>
>> On Wednesday, October 9, 2013 3:56:56 PM UTC-4, Nate Fischer wrote:
>>>
>>> Hi All, 
>>>
>>> I've been trying to sort this out for 2 days now and haven't come to the 
>>> correct solution, any help would be greatly appreciated! 
>>>
>>> My situation:  I have 2 companies in a similar space (the component 
>>> industry, but separate entities entirely).  Both of these companies have 
>>> large databases of inventory connected to their respective web application 
>>> that I would like to link up to the AdWords API to programatically add  
>>> keywords/campaigns.  From what I have gathered so far talking AdWords 
>>> support my account structure needs to look like this: 
>>>
>>> 
>>>  
>>> MAIN PRODUCTION MCC ACCOUNT
>>> 
>>>/   
>>> \\
>>>  
>>>  / 
>>> \\ 
>>> 
>>>  
>>> /   \\ 
>>> 
>>> 
>>> /Entity #1   Entity #2
>>> 
>>>
>>> / campaign   campaign
>>> 
>>>
>>> TEST MCC 
>>> 
>>>/   \ 
>>> 
>>>   / \ 
>>> 
>>>  /   \
>>> 
>>>  
>>> Test 1Test 2
>>> 
>>>  
>>> campaign   campaign
>>>
>>>
>>> Is this the correct structure that I should be trying to get 

CampaignService get operation can't retrieve setting field of campaign.

2013-10-16 Thread 照沼領
I tried campaign service get operation and specified field "Settings".

It operation occur soap error.

This is reponse, What a wrong ?



soap:Server
Cannot construct an instance of 
com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Setting 
because it is abstract.  You are probably missing an @Uses annotation while 
invoking public abstract 
com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.CampaignPage 
com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Selector)
 
throws 
com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.ApiException_Exception
 
with params 
[com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Selector@17e1d11].



* Not specified field "Settings", I could use campaign service get 
operation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: My test account returns AuthenticationError.NOT_ADS_USER Exception

2013-10-16 Thread Julius Markūnas
Hello Danial,


The problem is that I need to access adwords-api 
(TrafficEstimatorService
 precisely), and I don't want to ask for user permissions or credentials, 
since some of our users might not have google account. Which approach would 
be possible in this case? 


Thanks!
Julius

On Monday, October 14, 2013 6:19:26 PM UTC+3, Danial Klimkin wrote:
>
> Hello Julius,
>
>
> It looks like you are trying to use Service Accounts / OAuth2 JWT flow. 
> This flow is only available if you have a Google Apps account and is rarely 
> used. It only makes sense to use it if you need user impersonation (your 
> app needs to act as different users).
>
> I suggest using offline or web flow instead.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, October 14, 2013 6:48:30 PM UTC+4, Julius Markūnas wrote:
>>
>> Hello,
>>
>> I'm having the same problem. Client customer ID and developer_token are 
>> taken from real account, which is pending for approval, but I still get 
>> AuthenticationError.NOT_ADS_USER error. Test account is 
>> tes...@innerballoons.com. Can you check what am I doing wrong?
>>
>> My config:
>>
>>  :service => {
>> :environment => :PRODUCTION
>>   },
>>
>>   :library => {
>> :log_level => "DEBUG"
>>   },
>>
>>   :authentication => {
>> method: "OAUTH2_JWT",
>> oauth2_issuer: '#2###@developer.gserviceaccount.com',
>> oauth2_secret: 'secret',
>> oauth2_keyfile: 'adwords-key.p12',
>> developer_token: '###,
>> client_customer_id: '150-###-'
>>
>>   }
>>
>>
>>
>> Julius
>>
>

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


Getting InternalApiError.UNEXPECTED_INTERNAL_API_ERROR while associating sitelink(feed item) to adgroup

2013-10-16 Thread Himanshu Bansal
Hi,

I am getting  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR  while 
associating sitelink(feed item) to adgroup for some particular adgroups. I 
am making a ADD request. Also I am able to associate for other adgroups. 
Please help me in understanding the reason for this.


Thanks 
Himanshu Bansal

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


Getting EntityCountLimitExceeded.CAMPAIGN_LIMIT while associating sitelinks(feed items) to adgroups

2013-10-16 Thread Himanshu Bansal
Hi,

I am getting EntityCountLimitExceeded.CAMPAIGN_LIMIT  while associating 
sitelinks(feed items) to adgroups(making a ADD request) which are of a 
particular campaign. I have checked that currently none site link (feed 
items) are associated with any adgroup in this campaign. Can somebody 
please explain the reason for this and what should be done to rectify it?


Thanks,
Himanshu

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


getCriterionBidLandscape Paging Problem

2013-10-16 Thread gabriel . klestorny
Hi,

I am trying to paginate the results of the getCriterionBidLandscape 
operation of the Data Service, however the totalNumEntries returned by the 
CriterionBidLandscapePage is not correct.

I am using the .net client library and the version v201306 of the API.

Bellow I paste part of my code.

Any help will be appreciated.

Thanks in advance,
Gabriel

// Gets the DataService
DataService dataService = 
(DataService)user.GetService(AdWordsService.v201306.DataService);
 
// Creates the selector.
Selector selector = new Selector();
selector.fields = new string[] { "CampaignId", "StartDate", 
"EndDate", "LocalImpressions", "LocalClicks", "LocalCost", "Bid", "MarginalCpc" 
};
 
// Creates the predicate to filter the bid lanscapes for the 
selected keywords
Predicate criterionPredicate = new Predicate();
criterionPredicate.field = "CriterionId";
criterionPredicate.@operator = PredicateOperator.IN;
criterionPredicate.values = adGroupCriterionPage.entries.Select(k 
=> k.criterion.id.ToString()).ToArray();
 
selector.predicates = new Predicate[] { adGroupPredicate, 
criterionPredicate };
 
// Creates paging controls
selector.paging = new Paging();
selector.paging.startIndex = 0;
selector.paging.numberResults = 1;
 
CriterionBidLandscapePage criterionBidLandscapePage = null;
do
{
try
{
// Gets bid landscapes for the selected keywords
criterionBidLandscapePage = 
dataService.getCriterionBidLandscape(selector);
 
// Use criterionBidLandscapePage entries data
}
catch (Exception ex)
{
// Handle Error
}
 
selector.paging.startIndex += 1;
} 
while (criterionBidLandscapePage.totalNumEntries > 
selector.paging.startIndex);


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems with linking up multiple applications under one MCC

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

AuthorizationError:USER_PERMISSION_DENIED doesn't have nothing to do with 
what developer token you are using. 

What credential you used matters (production MCC account, or test MCC 
account). 

If you authenticated with your production MCC account, and your requests 
was made against the client test account, it's a normal behavior. 
If you target a test account, you need to authenticate with the test MCC 
account (under which there is the client test account).

Best,
- Takeshi, AdWords API Team

On Tuesday, October 15, 2013 10:41:14 PM UTC+9, deve...@aardvarkads.com 
wrote:
>
> I don't mean to hijack this thread, but the whole point of my question 
> stems from the "Test Accounts" section of the API docs:
> https://developers.google.com/adwords/api/docs/test-accounts
>
> Under "Getting Started" it states that you need to use a *production* mcc 
> account Developer Token when making service calls (even to test accounts in 
> test mcc).
> However, when I try to use a production token from a different account to 
> call a test account in a SOAP call, I get 
> AuthorizationError:USER_PERMISSION_DENIED.
>
> Why? Is there something I need to do to associate the test account with 
> the production account? Since I am using OAuth credentials associated with 
> the user from the test account and the production developer key, I assume 
> there is something I need to do to associate them. I am able to 
> authenticate via OAuth2 fine, but any API service calls I make return the 
> user perm denied error.
>
> Thanks
> Mike
>
> On Tuesday, October 15, 2013 7:07:27 AM UTC-4, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Nate,
>>
>> If you need to access both campaigns with the same credential (MAIN 
>> PRODUCTION MCC ACCOUNT in that case), the structure looks right to me. 
>>
>> As for the test accounts, now you can create a test MCC on your own 
>> (please see the 
>> blog
>> ).
>> I recommend to create a separate MCC from the production MCC account. 
>> It's easier to manage. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, October 10, 2013 8:53:08 PM UTC+9, deve...@aardvarkads.comwrote:
>>>
>>> I have tried to use the Production developer token in my Test calls 
>>> (Oauth2 token refresh is successful), as Google instructs in grey block 
>>> under "Getting Started": 
>>> https://developers.google.com/adwords/api/docs/test-accounts?hl=e
>>> n.
>>>
>>> When a ManagedCustomerService call failed with 
>>> AuthorizationError.USER_PERMISSION_DENIED, 
>>> I figured I needed to link the Test account to the production MCC. 
>>> However, when I try to link any Test account to my production in MCC, I 
>>> get an error message. This post outlines the same problem: 
>>> https://groups.google.com/forum/#!topic/adwords-api/psNwhXb0cK8
>>>
>>> I attached the log files for the request.
>>>
>>> Please help.
>>> Mike
>>>
>>> On Wednesday, October 9, 2013 3:56:56 PM UTC-4, Nate Fischer wrote:

 Hi All, 

 I've been trying to sort this out for 2 days now and haven't come to 
 the correct solution, any help would be greatly appreciated! 

 My situation:  I have 2 companies in a similar space (the component 
 industry, but separate entities entirely).  Both of these companies have 
 large databases of inventory connected to their respective web application 
 that I would like to link up to the AdWords API to programatically add  
 keywords/campaigns.  From what I have gathered so far talking AdWords 
 support my account structure needs to look like this: 


   
 MAIN PRODUCTION MCC ACCOUNT
 
/   
 \\
  
  / 
 \\ 

   
 /   \\ 

  
 /Entity #1   Entity #2

 
 / campaign   campaign

 
 TEST MCC 
   

Re: Problems with linking up multiple applications under one MCC

2013-10-16 Thread Jeremy Aube
I would also like to use the structure that Nate describes, but can't due 
to the fact that the interface does not allow me to nest the Test MCC under 
the main production MCC. Is there anything in the works to resolve this or 
should we assume that we'll need to maintain two sets of credentials to 
access both MCCs?

On Wednesday, October 16, 2013 8:01:43 AM UTC-4, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi, 
>
> AuthorizationError:USER_PERMISSION_DENIED doesn't have nothing to do with 
> what developer token you are using. 
>
> What credential you used matters (production MCC account, or test MCC 
> account). 
>
> If you authenticated with your production MCC account, and your requests 
> was made against the client test account, it's a normal behavior. 
> If you target a test account, you need to authenticate with the test MCC 
> account (under which there is the client test account).
>
> Best,
> - Takeshi, AdWords API Team
>
> On Tuesday, October 15, 2013 10:41:14 PM UTC+9, deve...@aardvarkads.comwrote:
>>
>> I don't mean to hijack this thread, but the whole point of my question 
>> stems from the "Test Accounts" section of the API docs:
>> https://developers.google.com/adwords/api/docs/test-accounts
>>
>> Under "Getting Started" it states that you need to use a *production* mcc 
>> account Developer Token when making service calls (even to test accounts in 
>> test mcc).
>> However, when I try to use a production token from a different account to 
>> call a test account in a SOAP call, I get 
>> AuthorizationError:USER_PERMISSION_DENIED.
>>
>> Why? Is there something I need to do to associate the test account with 
>> the production account? Since I am using OAuth credentials associated with 
>> the user from the test account and the production developer key, I assume 
>> there is something I need to do to associate them. I am able to 
>> authenticate via OAuth2 fine, but any API service calls I make return the 
>> user perm denied error.
>>
>> Thanks
>> Mike
>>
>> On Tuesday, October 15, 2013 7:07:27 AM UTC-4, Takeshi Hagikura (AdWords 
>> API Team) wrote:
>>>
>>> Hi Nate,
>>>
>>> If you need to access both campaigns with the same credential (MAIN 
>>> PRODUCTION MCC ACCOUNT in that case), the structure looks right to me. 
>>>
>>> As for the test accounts, now you can create a test MCC on your own 
>>> (please see the 
>>> blog
>>> ).
>>> I recommend to create a separate MCC from the production MCC account. 
>>> It's easier to manage. 
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Thursday, October 10, 2013 8:53:08 PM UTC+9, 
>>> deve...@aardvarkads.comwrote:

 I have tried to use the Production developer token in my Test calls 
 (Oauth2 token refresh is successful), as Google instructs in grey block 
 under "Getting Started": 
 https://developers.google.com/adwords/api/docs/test-accounts?hl=e
 n.

 When a ManagedCustomerService call failed with 
 AuthorizationError.USER_PERMISSION_DENIED, 
 I figured I needed to link the Test account to the production MCC. 
 However, when I try to link any Test account to my production in MCC, I 
 get an error message. This post outlines the same problem: 
 https://groups.google.com/forum/#!topic/adwords-api/psNwhXb0cK8

 I attached the log files for the request.

 Please help.
 Mike

 On Wednesday, October 9, 2013 3:56:56 PM UTC-4, Nate Fischer wrote:
>
> Hi All, 
>
> I've been trying to sort this out for 2 days now and haven't come to 
> the correct solution, any help would be greatly appreciated! 
>
> My situation:  I have 2 companies in a similar space (the component 
> industry, but separate entities entirely).  Both of these companies have 
> large databases of inventory connected to their respective web 
> application 
> that I would like to link up to the AdWords API to programatically add  
> keywords/campaigns.  From what I have gathered so far talking AdWords 
> support my account structure needs to look like this: 
>
>   
>
> MAIN PRODUCTION MCC ACCOUNT
>   
>  /   
> \\
>  
>  /
>  
> \\ 
>   
>
> /   \\ 
>   

Re: After authentication No Refresh Token

2013-10-16 Thread Paul Matthews (AdWords API Team)
Hi Yuhao,

It looks to me like either you've (partially?) configured your client to 
use Service Accounts or you are using a Service Account that requires a 
slightly different setup. You can find information on Service Accounts in 
the 
README, 
which points you to the Service 
Accountsflow.

Regards,

- Paul, AdWords API Team.

On Thursday, 22 August 2013 16:50:29 UTC+1, yuhao feng wrote:
>
> Hi,  
>
> I'm stuck on a similar situation right now, and which is killing me!! 
>
> I had followed all the process in apply a adwords api access and I also 
> create a "installed application" and obtain the client id & client secret. 
>
> Then I insert everything I got to the code (which I run in Eclipse) then 
> run the code, but I got bugs in Eclipse, something 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.
>
> Do u have any clue? 
>
> Thanks so much!
>
> On Thursday, August 1, 2013 9:19:12 AM UTC-4, m...@adwordize.de wrote:
>>
>> I m using adwords api v201306,
>> when i authenticate the user using Oauth2 authentication It returns
>>
>>> array(
>>>
>> access_token => '*',
>>>
>> expiresin=> 
>>>
>> token_type => *
>>>
>> );
>>>
>>
>> But There is no refresh token.
>> Any Ideas?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Alert Service required MCC account.

2013-10-16 Thread Paul Matthews (AdWords API Team)
Hi Chirag,

The AlertQuery used with the 
AlertServiceallows
 you to specify:
AlertQuery.*clientSpec*=
 
*"ID_LIST"*
AlertQuery.*clientCustomerIds*=
 [, ...]

Which will permit you to specify which client accounts to retrieve alerts 
for.

Regards,

- Paul, AdWords API Team.

On Monday, 2 September 2013 18:13:29 UTC+1, Chirag wrote:
>
> Hello Team,
>
> Is itpossible to get alerts related to budget on account leval?
> currently it requires MCC account access.
> It is unfair after API recommending us to use customer id instead MCC 
> account.
>
> Thanks,
> Chirag
>
>

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


Conversions Many Per Click total

2013-10-16 Thread John Ryder
Hi, I am running an Adwords script in the scripting console which posts 
data to a spreadsheet.

I would like to obtain a total for conversions many per click, but the 
metric seems to be unavailable in the Stats class, which I am currently 
obtaining my totals from by iterating through the campaign object i.e.

  while (campaignIterator.hasNext()) {
var campaign = campaignIterator.next();
var clicks = campaign.getStatsFor('LAST_MONTH').getClicks();
var impressions = campaign.getStatsFor('LAST_MONTH').getImpressions();
var cost = campaign.getStatsFor('LAST_MONTH').getCost();
//var conversions = 
campaign.getStatsFor('LAST_MONTH').getConversionsManyPerClick();//this 
doesn't work
tot_clicks += clicks;
tot_impressions += impressions;
tot_cost += cost;
//tot_conv += conversions;
count++;
  }

I know it is possible to obtain the statistic by running 
a CAMPAIGN_PERFORMANCE_REPORT but the problem with this is I can't find a 
way to get the data from the object apart from exporting it to a 
spreadsheet, in which case it is segmented by campaign. I need to get hold 
of the data before this so I can sum it.

I ideally need to get the conversion count (many) in a variable to post to 
my spreadsheet, is there a way of doing this? Or a workaround with current 
metrics?

Thanks

Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 response - Server Port configuration

2013-10-16 Thread Danial Klimkin
Hello Alan,


This is a server-side setup, unfortunately I can not provide any more 
details as it completely depends on the platform / OS you are using.


-Danial, AdWords API Team.


On Wednesday, October 16, 2013 12:58:52 AM UTC+4, Alan Coleman wrote:
>
> Hi Danial,
>
> As always, thanks for getting back to me. Can you give me a hint on where 
> I'm going to disable IPv6? Am I going to make changes to my code or is it a 
> server side issue?
>
> Thanks again.
>
> On Friday, October 11, 2013 3:39:05 PM UTC+1, Danial Klimkin wrote:
>>
>> Hello Alan,
>>
>>
>> It looks like you are going over IPv6. Can you try disabling it and going 
>> over IPv4 address?
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Thursday, October 10, 2013 7:54:45 PM UTC+4, Alan Coleman wrote:
>>>
>>> Hi Danial,
>>>
>>> I've deleted the other post. The issue in this one is the focus now.
>>>
>>> Many thanks
>>>
>>> On Thursday, October 10, 2013 9:57:18 AM UTC, Danial Klimkin wrote:

 Hi Alan,


 I see two threads about this issue on the forum from you. From the 
 first one it looks like the issue was resolved. Please let us know if you 
 still have questions on this one.


 -Danial, AdWords API Team.


 On Tuesday, October 8, 2013 1:33:06 AM UTC+4, Alan Coleman wrote:
>
> Hello everyone,
>
> I'm having some connection issues between my AdWords app on Bluehost 
> hosting and Google's servers.
>
> After the user grants access and the authorization code is returned 
> back to my server I'm receiving the following error.
>
> *Failed to connect to 2607:f8b0:400e:c02::54: Network is unreachable*
> *
> *
> Bluehost support has confirmed my suspicions that a port *may* need 
> opening to accept the response.
>
> So my question is, what port will the response be returning to? Is it 
> defined as part of the API or arbitrary depending on account settings?
>
> 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: ForwardCompatibilityMap missing from response campaignservice

2013-10-16 Thread Danial Klimkin
Hello Jaap-Jan,


This property was only available as part of ForwardCompatibilityMap. This 
is the part of the API that provides certain functionality temporarily and 
can be updated in between releases.

The change was announced in the migration guide:

  https://developers.google.com/adwords/api/docs/guides/migration-v201309


-Danial, AdWords API Team.



On Wednesday, October 16, 2013 10:42:04 AM UTC+4, fr...@bgenius.com wrote:
>
> Hi Danial,
>
> Thank you for your reply. 
>
> It would have been nice to know this change was coming.
> Did we perhaps miss an announcement that it was to be removed?
>
>
> Kind regards,
>
> Jaap-Jan
>
>
> Op dinsdag 15 oktober 2013 15:18:04 UTC+2 schreef Danial Klimkin:
>>
>> Hello Jaap-Jan Frans,
>>
>>
>> SuggestedBidModifier was a temporary field available for the period of 
>> Enhanced Campaigns migration only. It is no longer available in the UI and 
>> should not be returned via the API anymore.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, October 14, 2013 11:41:05 AM UTC+4, fr...@bgenius.com wrote:
>>>
>>> Dear Adwords Support Team,
>>>
>>>
>>> We use the ForwardCompatibilityMap of the Campaign object to retrieve 
>>> suggested mobile bid adjustments.
>>>
>>> This weekend while downloading campaigns of clients accounts we noticed 
>>> that sometimes the forward compatibility map is missing from the response 
>>> we get from the API.
>>>
>>> When we investigated it further we noticed that the map randomly is 
>>> included or excluded in the response 
>>>
>>> Here are two request ID's to retrieve the exact same campaigns:
>>> 0004e8ade3ee40980ae5aac72dbd   
>>> 0004e8ae0e301f980ae50e881430
>>>
>>> The requests both have the same fields etc. (see the attachments)
>>>
>>> In the response soap message of the first request ID the map is missing. 
>>> The response of the second request contains a map for each campaign.
>>> The responses are also included as attachments.
>>>
>>>
>>>
>>> Can you look into this matter? Thank you!
>>>
>>>
>>> Kind regards,
>>>
>>> Jaap-Jan Frans 
>>> bGenius
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: My test account returns AuthenticationError.NOT_ADS_USER Exception

2013-10-16 Thread Danial Klimkin
Hello Julius,


It sounds like you can use the offline flow. You will need some AdWords 
account to run queries against anyway.


-Danial, AdWords API Team.


On Tuesday, October 15, 2013 7:00:29 PM UTC+4, Julius Markūnas wrote:
>
> Hello Danial,
>
>
> The problem is that I need to access adwords-api 
> (TrafficEstimatorService
>  precisely), and I don't want to ask for user permissions or credentials, 
> since some of our users might not have google account. Which approach would 
> be possible in this case? 
>
>
> Thanks!
> Julius
>
> On Monday, October 14, 2013 6:19:26 PM UTC+3, Danial Klimkin wrote:
>>
>> Hello Julius,
>>
>>
>> It looks like you are trying to use Service Accounts / OAuth2 JWT flow. 
>> This flow is only available if you have a Google Apps account and is rarely 
>> used. It only makes sense to use it if you need user impersonation (your 
>> app needs to act as different users).
>>
>> I suggest using offline or web flow instead.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, October 14, 2013 6:48:30 PM UTC+4, Julius Markūnas wrote:
>>>
>>> Hello,
>>>
>>> I'm having the same problem. Client customer ID and developer_token are 
>>> taken from real account, which is pending for approval, but I still get 
>>> AuthenticationError.NOT_ADS_USER error. Test account is 
>>> tes...@innerballoons.com. Can you check what am I doing wrong?
>>>
>>> My config:
>>>
>>>  :service => {
>>> :environment => :PRODUCTION
>>>   },
>>>
>>>   :library => {
>>> :log_level => "DEBUG"
>>>   },
>>>
>>>   :authentication => {
>>> method: "OAUTH2_JWT",
>>> oauth2_issuer: '#2###@developer.gserviceaccount.com',
>>> oauth2_secret: 'secret',
>>> oauth2_keyfile: 'adwords-key.p12',
>>> developer_token: '###,
>>> client_customer_id: '150-###-'
>>>
>>>   }
>>>
>>>
>>>
>>> Julius
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 response - Server Port configuration

2013-10-16 Thread Alan Coleman
Thanks Danial,

I'll let you know what My outcome is.

All the best.

On Wednesday, October 16, 2013 12:48:03 PM UTC, Danial Klimkin wrote:
>
> Hello Alan,
>
>
> This is a server-side setup, unfortunately I can not provide any more 
> details as it completely depends on the platform / OS you are using.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, October 16, 2013 12:58:52 AM UTC+4, Alan Coleman wrote:
>>
>> Hi Danial,
>>
>> As always, thanks for getting back to me. Can you give me a hint on where 
>> I'm going to disable IPv6? Am I going to make changes to my code or is it a 
>> server side issue?
>>
>> Thanks again.
>>
>> On Friday, October 11, 2013 3:39:05 PM UTC+1, Danial Klimkin wrote:
>>>
>>> Hello Alan,
>>>
>>>
>>> It looks like you are going over IPv6. Can you try disabling it and 
>>> going over IPv4 address?
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Thursday, October 10, 2013 7:54:45 PM UTC+4, Alan Coleman wrote:

 Hi Danial,

 I've deleted the other post. The issue in this one is the focus now.

 Many thanks

 On Thursday, October 10, 2013 9:57:18 AM UTC, Danial Klimkin wrote:
>
> Hi Alan,
>
>
> I see two threads about this issue on the forum from you. From the 
> first one it looks like the issue was resolved. Please let us know if you 
> still have questions on this one.
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, October 8, 2013 1:33:06 AM UTC+4, Alan Coleman wrote:
>>
>> Hello everyone,
>>
>> I'm having some connection issues between my AdWords app on Bluehost 
>> hosting and Google's servers.
>>
>> After the user grants access and the authorization code is returned 
>> back to my server I'm receiving the following error.
>>
>> *Failed to connect to 2607:f8b0:400e:c02::54: Network is unreachable*
>> *
>> *
>> Bluehost support has confirmed my suspicions that a port *may* need 
>> opening to accept the response.
>>
>> So my question is, what port will the response be returning to? Is it 
>> defined as part of the API or arbitrary depending on account settings?
>>
>> 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: AuthorizationError.USER_PERMISSION_DENIED Test MCC using a Production Developer Key

2013-10-16 Thread Danial Klimkin
Hello Mike,


It looks like the OAuth2 credentials you use don't have access to the test 
MCC account. Make sure to add the login you are using to the test MCC 
account with Standard or Administrative rights (via the user interface).


-Danial, AdWords API Team.


On Thursday, October 10, 2013 2:19:42 PM UTC+4, deve...@aardvarkads.com 
wrote:
>
> Hi,
>
> I am trying to make calls using an authenticated (Oauth2 client) mcc test 
> account (760-716-1008) . I am using the pending developer token from a 
> production mcc account (532-179-4410).
>
>
> I attached the log files.
>
> Please help,
>
> Thanks
> 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: Budget creation failing since update to colsolidated billing

2013-10-16 Thread Danial Klimkin
Hello Allen,


Please double-check the logs to see if there is an error message. There 
should be one if you request has reached our servers.


-Danial, AdWords API Team.


On Tuesday, October 15, 2013 3:43:43 AM UTC+4, Allen wrote:
>
> Anyone else having this problem? Start last week after the Google update 
> to Consolidated Billing. 
>
> Budget creation fails, no error msg.
>
> Suspect it is due to lack of handling for "time" (or timezones?) on 
> Budgets in the new system. ? 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ForwardCompatibilityMap missing from response campaignservice

2013-10-16 Thread frans
Hi Danial,


Thank you for pointing this out.

However, the migration guide you refer to is the guide to migrate to 
V201309. 
On our production servers we use V201306. We do not expect a feature to 
break in a (still supported) previous version of the API, if it's 
discontinuation is mentioned only in the migration guide of a new version. 
We'd expect it to be supported  until the sunset of the version before the 
latest one (in this case, the sunset of v201306 in march 2014).

In the future it would be helpful if breaking changes that also affect 
previous versions of the API are mentioned on for example the developers 
blog, it would prevent a situation like this.


Thanks!

Kind regards,
Jaap-Jan Frans




Op woensdag 16 oktober 2013 14:51:04 UTC+2 schreef Danial Klimkin:
>
> Hello Jaap-Jan,
>
>
> This property was only available as part of ForwardCompatibilityMap. This 
> is the part of the API that provides certain functionality temporarily and 
> can be updated in between releases.
>
> The change was announced in the migration guide:
>
>   https://developers.google.com/adwords/api/docs/guides/migration-v201309
>
>
> -Danial, AdWords API Team.
>
>
>
> On Wednesday, October 16, 2013 10:42:04 AM UTC+4, fr...@bgenius.com wrote:
>>
>> Hi Danial,
>>
>> Thank you for your reply. 
>>
>> It would have been nice to know this change was coming.
>> Did we perhaps miss an announcement that it was to be removed?
>>
>>
>> Kind regards,
>>
>> Jaap-Jan
>>
>>
>> Op dinsdag 15 oktober 2013 15:18:04 UTC+2 schreef Danial Klimkin:
>>>
>>> Hello Jaap-Jan Frans,
>>>
>>>
>>> SuggestedBidModifier was a temporary field available for the period of 
>>> Enhanced Campaigns migration only. It is no longer available in the UI and 
>>> should not be returned via the API anymore.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Monday, October 14, 2013 11:41:05 AM UTC+4, fr...@bgenius.com wrote:

 Dear Adwords Support Team,


 We use the ForwardCompatibilityMap of the Campaign object to retrieve 
 suggested mobile bid adjustments.

 This weekend while downloading campaigns of clients accounts we noticed 
 that sometimes the forward compatibility map is missing from the response 
 we get from the API.

 When we investigated it further we noticed that the map randomly is 
 included or excluded in the response 

 Here are two request ID's to retrieve the exact same campaigns:
 0004e8ade3ee40980ae5aac72dbd   
 0004e8ae0e301f980ae50e881430

 The requests both have the same fields etc. (see the attachments)

 In the response soap message of the first request ID the map is 
 missing. The response of the second request contains a map for each 
 campaign.
 The responses are also included as attachments.



 Can you look into this matter? Thank you!


 Kind regards,

 Jaap-Jan Frans 
 bGenius

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: allready have acces to the Adwords API, and forced to apply fo acces again for test account !?

2013-10-16 Thread Danial Klimkin
Hello Charles,


You don't need an approved token to use test accounts but you can use one. 
If you already have an approved developer token, just use it against the 
test MCC (no linking is required).

Invalid grant error is actually an OAuth2-level error (so you are not 
reaching the API servers yet). Please make sure your configuration is 
correct (client id and secret, scope) and you are logged in under the 
expected AdWords user.


-Danial, AdWords API Team.


On Monday, October 14, 2013 6:11:11 PM UTC+4, charles vlug wrote:
>
> Hi,
>
> i allready have acces to the Adwords API, since begin this year (Customer-id: 
> 763-640-7721 
> ).
> Getting acces took several months and a lot of emails. 
> Now i want to use the API, i must make a test account, and apply fo acces, 
> while i have allready acces in a non-test account !
> How can i avoid getting acces again, and have to wait wating for months?
>
> I have red that with a test account, there is no need to have the token 
> authorised, however, when using the api, i get the"invalid_grant" error.
> Please help
>
> regards,
> Charles 
> RE: [1086579669] [#1086579669]  [6-422900285]
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ForwardCompatibilityMap missing from response campaignservice

2013-10-16 Thread Danial Klimkin
Hello Jaap-Jan Frans,


Thanks, I understand your concern. This particular field was only available 
in FCM and for Enhanced Campaign migration only. We try hard to not to 
introduce changes to the older versions outside of FCM.


-Danial, AdWords API Team.


On Wednesday, October 16, 2013 5:04:01 PM UTC+4, fr...@bgenius.com wrote:
>
> Hi Danial,
>
>
> Thank you for pointing this out.
>
> However, the migration guide you refer to is the guide to migrate to 
> V201309. 
> On our production servers we use V201306. We do not expect a feature to 
> break in a (still supported) previous version of the API, if it's 
> discontinuation is mentioned only in the migration guide of a new version. 
> We'd expect it to be supported  until the sunset of the version before the 
> latest one (in this case, the sunset of v201306 in march 2014).
>
> In the future it would be helpful if breaking changes that also affect 
> previous versions of the API are mentioned on for example the developers 
> blog, it would prevent a situation like this.
>
>
> Thanks!
>
> Kind regards,
> Jaap-Jan Frans
>
>
>
>
> Op woensdag 16 oktober 2013 14:51:04 UTC+2 schreef Danial Klimkin:
>>
>> Hello Jaap-Jan,
>>
>>
>> This property was only available as part of ForwardCompatibilityMap. This 
>> is the part of the API that provides certain functionality temporarily and 
>> can be updated in between releases.
>>
>> The change was announced in the migration guide:
>>
>>   https://developers.google.com/adwords/api/docs/guides/migration-v201309
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>>
>> On Wednesday, October 16, 2013 10:42:04 AM UTC+4, fr...@bgenius.comwrote:
>>>
>>> Hi Danial,
>>>
>>> Thank you for your reply. 
>>>
>>> It would have been nice to know this change was coming.
>>> Did we perhaps miss an announcement that it was to be removed?
>>>
>>>
>>> Kind regards,
>>>
>>> Jaap-Jan
>>>
>>>
>>> Op dinsdag 15 oktober 2013 15:18:04 UTC+2 schreef Danial Klimkin:

 Hello Jaap-Jan Frans,


 SuggestedBidModifier was a temporary field available for the period of 
 Enhanced Campaigns migration only. It is no longer available in the UI and 
 should not be returned via the API anymore.


 -Danial, AdWords API Team.


 On Monday, October 14, 2013 11:41:05 AM UTC+4, fr...@bgenius.com wrote:
>
> Dear Adwords Support Team,
>
>
> We use the ForwardCompatibilityMap of the Campaign object to retrieve 
> suggested mobile bid adjustments.
>
> This weekend while downloading campaigns of clients accounts we 
> noticed that sometimes the forward compatibility map is missing from the 
> response we get from the API.
>
> When we investigated it further we noticed that the map randomly is 
> included or excluded in the response 
>
> Here are two request ID's to retrieve the exact same campaigns:
> 0004e8ade3ee40980ae5aac72dbd   
> 0004e8ae0e301f980ae50e881430
>
> The requests both have the same fields etc. (see the attachments)
>
> In the response soap message of the first request ID the map is 
> missing. The response of the second request contains a map for each 
> campaign.
> The responses are also included as attachments.
>
>
>
> Can you look into this matter? Thank you!
>
>
> Kind regards,
>
> Jaap-Jan Frans 
> bGenius
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 response - Server Port configuration

2013-10-16 Thread Alan Coleman
Thanks again Danial,

Just to confirm. You think that my server is currently trying to connect to 
Google's via IPv6 and that instead I should try IPv4 ?

Many thanks.

On Wednesday, October 16, 2013 12:48:03 PM UTC, Danial Klimkin wrote:
>
> Hello Alan,
>
>
> This is a server-side setup, unfortunately I can not provide any more 
> details as it completely depends on the platform / OS you are using.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, October 16, 2013 12:58:52 AM UTC+4, Alan Coleman wrote:
>>
>> Hi Danial,
>>
>> As always, thanks for getting back to me. Can you give me a hint on where 
>> I'm going to disable IPv6? Am I going to make changes to my code or is it a 
>> server side issue?
>>
>> Thanks again.
>>
>> On Friday, October 11, 2013 3:39:05 PM UTC+1, Danial Klimkin wrote:
>>>
>>> Hello Alan,
>>>
>>>
>>> It looks like you are going over IPv6. Can you try disabling it and 
>>> going over IPv4 address?
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Thursday, October 10, 2013 7:54:45 PM UTC+4, Alan Coleman wrote:

 Hi Danial,

 I've deleted the other post. The issue in this one is the focus now.

 Many thanks

 On Thursday, October 10, 2013 9:57:18 AM UTC, Danial Klimkin wrote:
>
> Hi Alan,
>
>
> I see two threads about this issue on the forum from you. From the 
> first one it looks like the issue was resolved. Please let us know if you 
> still have questions on this one.
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, October 8, 2013 1:33:06 AM UTC+4, Alan Coleman wrote:
>>
>> Hello everyone,
>>
>> I'm having some connection issues between my AdWords app on Bluehost 
>> hosting and Google's servers.
>>
>> After the user grants access and the authorization code is returned 
>> back to my server I'm receiving the following error.
>>
>> *Failed to connect to 2607:f8b0:400e:c02::54: Network is unreachable*
>> *
>> *
>> Bluehost support has confirmed my suspicions that a port *may* need 
>> opening to accept the response.
>>
>> So my question is, what port will the response be returning to? Is it 
>> defined as part of the API or arbitrary depending on account settings?
>>
>> 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: CustomerService OAUTH_TOKEN_HEADER_INVALID

2013-10-16 Thread okiebug1...@gmail.com
It would be a huge help for NoClientLibrary .NET developers if you could 
please 
outlinewhere
 to add the override to GetWebRequest method w/n the generated stub 
code in order to pass along the OAuth token in the HTTP header, at the time 
of setting the SOAP headers.   

Protected Overrides Function GetWebRequest(uri As Uri) As WebRequest
Dim request As WebRequest = MyBase.GetWebRequest(uri)
Dim oAuthHeader As String = 
ContextStore.GetValue("OAuthHeader").ToString()
If Not String.IsNullOrEmpty(oAuthHeader) Then
request.Headers("Authorization") = oAuthHeader
End If
Return request
End Function


Thanks in advance for your assistance,
DK
On Monday, October 14, 2013 10:10:03 AM UTC-4, Danial Klimkin wrote:
>
> Hello Danil,
>
>
> From the request it looks like you are sending AuthToken string. Are you 
> also sending OAuth HTTP header?
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, October 8, 2013 3:58:17 PM UTC+4, Danil Ivanov wrote:
>>
>> Hi all.
>> I make a request to API CustomerService and I get a 
>> response AuthenticationError.OAUTH_TOKEN_HEADER_INVALID.
>> But request ReportDefinitionService is successful. I used production. My 
>> developer_token approved (not for this account).
>>
>> What am I doing wrong? Can you help me, please?
>>
>> Curl: 
>>
>>> curl --header "Content-Type: application/soap+xml" --data @customer.xml 
>>> https://adwords.google.com/api/adwords/mcm/v201306/CustomerService?wsdl
>>
>>
>> customer.xml:
>>
>>> 
>>> >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
>>> xmlns="https://adwords.google.com/api/adwords/mcm/v201306";>
>>> 
>>> 
>>> my_token
>>> danilphd
>>> mydev_token
>>> 111-111-
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>
>>
>>  Response:
>>
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201306";
>>> xmlns="
>>> https://adwords.google.com/api/adwords/mcm/v201306";>
>>> 
>>> 0004e8391ab899400ade10463d18
>>> CustomerService
>>> get
>>> 0
>>> 192
>>> 
>>> 
>>> 
>>> 
>>> soap:Server
>>> [AuthenticationError.OAUTH_TOKEN_HEADER_INVALID 
>>> @ ; trigger:'']
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201306";
>>>xmlns:ns2="
>>> https://adwords.google.com/api/adwords/cm/v201306";>
>>> 
>>> [AuthenticationError.OAUTH_TOKEN_HEADER_INVALID @ ; 
>>> trigger:'']
>>> 
>>> 
>>> ApiException
>>> http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:type="ns2:AuthenticationError">
>>> 
>>> 
>>> 
>>> AuthenticationError.OAUTH_TOKEN_HEADER_INVALID
>>> 
>>> AuthenticationError
>>> 
>>> OAUTH_TOKEN_HEADER_INVALID
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Keyword Performance Report - Keywords with " (double quotes) are not downloaded using API

2013-10-16 Thread Mahesh Nerlekar
Thanks for your reply...

I Included the KeywordMatchType and it has values of 'phrase', 'exact' and 
'broad'. But still keywordtext field doesnt contain "" or [].

Shouldnt the Keyword field download as is like with "" or []? 

We tried it downloading in google doc via google script and they get 
downloaded fine. Not sure why API doesnt work?

Thanks,
Mahesh Nerlekar


On Tuesday, October 15, 2013 6:33:24 AM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi, 
>
> In the API, the difference of ""(Phrase), [](Exact), nothing(Broad) is 
> segmented by the "KeywordMatchType" field in Keyword Performance Report. 
> Please include that field and try that again.
>
> Best,
> - Takesh, AdWords API Team
>
> On Saturday, October 12, 2013 9:57:47 PM UTC+9, Mahesh Nerlekar wrote:
>>
>> Hi,
>>
>> We have several keywords setup in google adwords. There is a keyword abc 
>> setup different ways like abc, "abc", [abc] around it. When I try do 
>> download the keyword performance report using api. the data for keyword 
>> "abc" (quotes around it) is not downloaded.
>>
>> So I can see 3 records on keywords tab when I search abc. But when I 
>> download report using api I can see only 2 records. record missing is the 
>> one with "abc" (quotes around it).
>>
>>  The crazy thing is, when I download the report manually using UI on 
>> keyword tab, those records show up in downloaded xml file. Problem comes 
>> only when I use the API. 
>>
>> Is there any way around it to download the data with "". Are we not 
>> supposed to setup the keywords with "" or [] around it?
>>
>> Thanks,
>> Mahesh Nerlekar
>>
>

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


CustomerSyncService, Product Listing , Dynamic Search Ads Criterias

2013-10-16 Thread Paul byrne gl
Hi

Does CustomerSyncService returns changes to Product Listing  , Dynamic 
Search Ads and Criteria in v201309 

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.


Response is not well-formed XML - using .net client libarary 15.5

2013-10-16 Thread Glyph

I'm doing a mutate call on the AdGroudAd service using the .net client lib 
v 15.5
And the response I'm getting looks like valid soap/xml when i look at it in 
fiddler, but i get an invalidoperationexception when reading the response 
saying that "Response is not well-formed XML".

Is there a known bad character or something in the response causing the 
.net web service client to throw this exception?

Here's the requestId that's giving me the problem.

0004e8ddab5e6fc00aedc6460f77
  

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


Ways to obtain the internal user/account IDs?

2013-10-16 Thread Christophe Porteneuve

Hi there,

I'd like to be able to build URLs to conversion tracker management pages in 
the online Adwords UI, from my own tool.

Sure, I have the tracker ID. But the customer IDs I get throughout the API 
are the 10-digit ones (the one split in 3-3-4 form all over the place), and 
the URLs in the tool use internal ones, with no guessable transform 
whatsoever.

In the same vein, the User ID (I assume this is what the __u query param 
is) doesn't bear any correlation to either Adwords entities I get or my 
OAuth2 Google account profile info.

Is there any way to obtain these management URLs in a programmatic fashion?

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: Problem with keywords in combination with negatives

2013-10-16 Thread Ro
Hey 

I just encounter the same issue, is their an ETA for a solution to that?

Best,


Ro

On Wednesday, June 19, 2013 10:19:54 AM UTC-4, David Torres (AdWords API 
Team) wrote:
>
> Hi Kevin,
>
> I can confirm the issue, please allow me some more time to find a solution.
>
> Best,
>
> - David
>
> On Monday, June 17, 2013 10:37:38 PM UTC-4, David Torres (AdWords API 
> Team) wrote:
>>
>> Hi Kevin,
>>
>> Thanks for reporting this behavior, I'll be investigating and get back to 
>> you as soon as having a response.
>>
>> Best,
>>
>> - David Torres - AdWords API Team
>>
>> On Wednesday, June 5, 2013 8:14:32 AM UTC-4, kevin wrote:
>>>
>>> Cheers,
>>>
>>> I encountered the following problem while adding keywords in combination 
>>> with negative criterion:
>>>
>>> When you add some negative criterions (via webinterface) and then try to 
>>> add the same ones again (via adwords api) as a biddable criterion something 
>>> strange happens.
>>> The very first keyword gets rejected with error 
>>> "AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE" but the others get added 
>>> and they disappear in the negative list. Adding only one keyword works as 
>>> expected (it gets rejected).
>>>
>>> For example I added "Cullmann D 4500-N Update", "Metz 44 AF-1 Digital 
>>> Nikon", "Metz Mecablitz 50 AF-1 Digital N" and "Nikon SB-400" as negatives 
>>> in the webinterface with matchtype "phrase".
>>> When I try to add them via api as a biddable criterion (bulk mutate job, 
>>> also matchtype "phrase") the above explained behavior happens.
>>>
>>> I am using Api Version v201302 but the same behavior is reproducible in 
>>> v201209.
>>>
>>>
>>> Here is the soap request/response:
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>>> https://adwords.google.com/api/adwords/cm/v201302"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>>   
>>> 
>>>   ***
>>>   ***
>>>   ***
>>>   ***
>>> 
>>>   
>>>   
>>> 
>>>   
>>> ADD
>>> 
>>>   7426207642
>>>   
>>> Cullmann D 4500-N Update
>>> PHRASE
>>>   
>>>   ACTIVE
>>>   http://***
>>>   
>>> 
>>>   
>>> 20
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   
>>> ADD
>>> 
>>>   7426207642
>>>   
>>> Metz 44 AF-1 Digital Nikon
>>> PHRASE
>>>   
>>>   ACTIVE
>>>   http://***
>>>   
>>> 
>>>   
>>> 20
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   
>>> ADD
>>> 
>>>   7426207642
>>>   
>>> Metz Mecablitz 50 AF-1 Digital N
>>> PHRASE
>>>   
>>>   ACTIVE
>>>   http://***
>>>   
>>> 
>>>   
>>> 20
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   
>>> ADD
>>> 
>>>   7426207642
>>>   
>>> Nikon SB-400
>>> PHRASE
>>>   
>>>   ACTIVE
>>>   http://***
>>>   
>>> 
>>>   
>>> 20
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   
>>> 
>>>   
>>> 
>>>
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201302";>
>>>   0004de633700c3000ae5c5820628
>>>   MutateJobService
>>>   getResult
>>>   1
>>>   69
>>>   0
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201302";>
>>>   
>>> 
>>>   
>>> 
>>>   
>>>   
>>> http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="BiddableAdGroupCriterion">
>>>   7426207642
>>>   
>>> 44161537505
>>> KEYWORD
>>> Keyword
>>> Metz 44 AF-1 Digital Nikon
>>> PHRASE
>>>   
>>>   
>>> BiddableAdGroupCriterion
>>>   ACTIVE
>>>   ELIGIBLE
>>>   PENDING_REVIEW
>>>   http://***
>>>   
>>> MANUAL_CPC
>>> 
>>>   
>>> ManualCpcBiddingScheme
>>>   false
>>> 
>>> 
>>>   CpcBid
>>>   
>>> Money
>>> 20
>>>   
>>>   CRITERION
>>> 
>>> 
>>>   CpmBid
>>>   
>>> Money
>>> 20
>>>   
>>>   ADGROUP
>>> 
>>>   
>>> 
>>>   
>>>

Getting Unmarshalling Error while using Google Adwords API.

2013-10-16 Thread archit agarwal

I'm making use of OAuth2 as authentication mechanism to get the response 
about the "add budget campaign" using SOAP request. In the very beginning 
to send a soap request using cUrl I am facing an error given below:

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

 Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was 
found starting with element 'biddingStrategy'. One of 
'{"https://adwords.google.com/api/adwords/cm/v201309":conversionOptimizerEligibility,
 
"https://adwords.google.com/api/adwords/cm/v201309":adServingOptimizationStatus,
 
"https://adwords.google.com/api/adwords/cm/v201309":frequencyCap, 
"https://adwords.google.com/api/adwords/cm/v201309":settings, 
"https://adwords.google.com/api/adwords/cm/v201309":networkSetting, 
"https://adwords.google.com/api/adwords/cm/v201309":biddingStrategyConfiguration,
 
"https://adwords.google.com/api/adwords/cm/v201309":forwardCompatibilityMap}' 
is expected. 
   
  
 


I am sending the following XML/SOAP request using cUrl which is the similar 
code given on AdWords tutorial 
(https://developers.google.com/adwords/api/docs/guides/soap) .


  http://schemas.xmlsoap.org/soap/envelope/";
xmlns="https://adwords.google.com/api/adwords/cm/v201309";>

  
MYAUTHTOKEN
curl-tutorial
MYDEVTOKEN
MYCUSTOMERID
  


  

  ADD
  
Test File

  DAILY
  
10
  
  STANDARD

https://adwords.google.com/api/adwords/cm/v201309";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:type="cm:ManualCPC"/>
https://adwords.google.com/api/adwords/cm/v201309";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:type="cm:KeywordMatchSetting">
  false

  

  

  

  I utilized the above XML/SOAP request in my cUrl request as:
  
curl --header "Content-Type: application/soap+xml" 
 --data @test.xml 
 https://adwords.google.com/api/adwords/cm/v201309/CampaignService
  
 I have searched over the internet regarding the same issue I'm facing but 
no where I could find the solution. Please let me know if I'm doing 
anything wrong or let me know if there is any other way 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: getCriterionBidLandscape

2013-10-16 Thread gabriel . klestorny
Hi Josh,

The actual value I get is smaller than the expected value (I do not get all 
the bid lanscape data). I am comparing this API data to the web interface. 

For example, in the last run of my code the totalNumEntries of the 
CriterionBidLandscapePage was 1782. However, something strange is that the 
total number of landscape points (BidLandscapeLandscapePoint objects) 
contianed in those 1782 entries are exactly 10.000.

Any idea?

Many Thanks,
Gabriel




El lunes, 14 de octubre de 2013 19:36:08 UTC-2, Josh Radcliff (AdWords API 
Team) escribió:
>
> Hi Gabriel,
>
> Could you provide more details on the results you get back from your 
> example?  You mentioned that the totalNumEntries returned is incorrect.  It 
> would be helpful to know the expected and actual values for totalNumEntries.
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, October 10, 2013 9:06:39 AM UTC-4, gabriel@gmail.comwrote:
>>
>> Hi,
>>
>> The totalNumEntries returned by the operation getCriterionBidLandscape 
>> of the DataService is not correct when I try to use paging.
>>
>> I am using the .net client library and the version v201306 of the api.
>>
>> Below is an extract of my code.
>>
>> Any help will be appreciated.
>>
>> Thanks in advance,
>> Gabriel
>>
>> // Gets the DataService
>> DataService dataService = 
>> (DataService)user.GetService(AdWordsService.v201306.DataService);
>>  
>> // Creates the selector.
>> Selector selector = new Selector();
>> selector.fields = new string[] { "CampaignId", "StartDate", 
>> "EndDate", "LocalImpressions", "LocalClicks", "LocalCost", "Bid", 
>> "MarginalCpc" };
>>  
>> // Creates the predicate to filter the bid lanscapes for the 
>> selected keywords
>> Predicate criterionPredicate = new Predicate();
>> criterionPredicate.field = "CriterionId";
>> criterionPredicate.@operator = PredicateOperator.IN;
>> criterionPredicate.values = 
>> adGroupCriterionPage.entries.Select(k => 
>> k.criterion.id.ToString()).ToArray();
>>  
>> selector.predicates = new Predicate[] { adGroupPredicate, 
>> criterionPredicate };
>>  
>> // Creates paging controls
>> selector.paging = new Paging();
>> selector.paging.startIndex = 0;
>> selector.paging.numberResults = 1;
>>  
>> CriterionBidLandscapePage criterionBidLandscapePage = null;
>> do
>> {
>> try
>> {
>> // Gets bid landscapes for the selected keywords
>> criterionBidLandscapePage = 
>> dataService.getCriterionBidLandscape(selector);
>>  
>> // Use criterionBidLandscapePage entries data
>> }
>> catch (Exception ex)
>> {
>> // Handle Error
>> }
>>  
>> selector.paging.startIndex += 1;
>> } 
>> while (criterionBidLandscapePage.totalNumEntries > 
>> selector.paging.startIndex);
>>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: My test account returns AuthenticationError.NOT_ADS_USER Exception

2013-10-16 Thread Julius Markūnas
Hi,


Got it running. Thanks!


Julius

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CampaignService get operation can't retrieve setting field of campaign.

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hello, 

Thanks for the report. As I have stated via mail, we're fixing the issue. 
Once it's fixed, I'll keep you updated. 

Best,
- Takeshi, AdWords API Team

On Wednesday, October 16, 2013 12:49:25 PM UTC+9, 照沼領 wrote:
>
> I tried campaign service get operation and specified field "Settings".
>
> It operation occur soap error.
>
> This is reponse, What a wrong ?
>
> 
> 
> soap:Server
> Cannot construct an instance of 
> com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Setting 
> because it is abstract.  You are probably missing an @Uses annotation while 
> invoking public abstract 
> com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.CampaignPage
>  
> com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.CampaignServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Selector)
>  
> throws 
> com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.ApiException_Exception
>  
> with params 
> [com.google.ads.api.services.campaignmgmt.campaign.v201309.jaxbgen.Selector@17e1d11].
> 
> 
>
> * Not specified field "Settings", I could use campaign service get 
> operation.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Access Level for API

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi,

We haven't changed the names for access levels. 
There's been Basic and Standard access levels since it was introduced. (
http://googleadsdeveloper.blogspot.jp/2013/01/new-simplified-adwords-api-pricing.html
)

Currently minimum is Basic access, with that access you can make 10,000 
operations per day. 
With Standard access, how many operations you can make a day is not 
restricted. 

I'm not sure what MCC access means here.

Best,
- Takeshi, 

On Wednesday, October 16, 2013 5:41:52 AM UTC+9, Jonathan Wu wrote:
>
> We see that the Access Level names have changed and there is now no 
> mention of API access in any of the descriptions. What is the minimum 
> Access level we would need to have API access? Is Standard enough? or do we 
> need MCC access?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR while associating sitelink(feed item) to adgroup

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Please share the request and response SOAP logs to spot the issue. 
(please remove the sensitive info)

Best,
- Takeshi, AdWords API Team

On Wednesday, October 16, 2013 10:53:32 AM UTC+9, Himanshu Bansal wrote:
>
> Hi,
>
> I am getting  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR  while 
> associating sitelink(feed item) to adgroup for some particular adgroups. I 
> am making a ADD request. Also I am able to associate for other adgroups. 
> Please help me in understanding the reason for this.
>
>
> Thanks 
> Himanshu Bansal
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 EntityCountLimitExceeded.CAMPAIGN_LIMIT while associating sitelinks(feed items) to adgroups

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Also can you please share the request and response xml logs to spot the 
issue?

Best,
- Takeshi, AdWords API Team

On Wednesday, October 16, 2013 11:00:33 AM UTC+9, Himanshu Bansal wrote:
>
> Hi,
>
> I am getting EntityCountLimitExceeded.CAMPAIGN_LIMIT  while associating 
> sitelinks(feed items) to adgroups(making a ADD request) which are of a 
> particular campaign. I have checked that currently none site link (feed 
> items) are associated with any adgroup in this campaign. Can somebody 
> please explain the reason for this and what should be done to rectify it?
>
>
> Thanks,
> Himanshu
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Conversions Many Per Click total

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Actually there is another 
forumon AdWords 
Scripts, you should get better answer there.
My guess is that Stats objects are no longer available in AdWords API 
services (such as CampaignService, AdGroupService ,,,). 
https://developers.google.com/adwords/api/docs/reference/

You should use reports instead. 

Best,
- Takeshi, AdWords API Team

On Wednesday, October 16, 2013 8:14:33 PM UTC+9, John Ryder wrote:
>
> Hi, I am running an Adwords script in the scripting console which posts 
> data to a spreadsheet.
>
> I would like to obtain a total for conversions many per click, but the 
> metric seems to be unavailable in the Stats class, which I am currently 
> obtaining my totals from by iterating through the campaign object i.e.
>
>   while (campaignIterator.hasNext()) {
> var campaign = campaignIterator.next();
> var clicks = campaign.getStatsFor('LAST_MONTH').getClicks();
> var impressions = campaign.getStatsFor('LAST_MONTH').getImpressions();
> var cost = campaign.getStatsFor('LAST_MONTH').getCost();
> //var conversions = 
> campaign.getStatsFor('LAST_MONTH').getConversionsManyPerClick();//this 
> doesn't work
> tot_clicks += clicks;
> tot_impressions += impressions;
> tot_cost += cost;
> //tot_conv += conversions;
> count++;
>   }
>
> I know it is possible to obtain the statistic by running 
> a CAMPAIGN_PERFORMANCE_REPORT but the problem with this is I can't find a 
> way to get the data from the object apart from exporting it to a 
> spreadsheet, in which case it is segmented by campaign. I need to get hold 
> of the data before this so I can sum it.
>
> I ideally need to get the conversion count (many) in a variable to post to 
> my spreadsheet, is there a way of doing this? Or a workaround with current 
> metrics?
>
> Thanks
>
> Sarah
>

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