Re: 400 Error when re-authorizing adwords Oauth2.0

2014-01-24 Thread Pere Kyle
Daniel,

Anytime I request a adwords scope for an already authed adwords account I 
get a 400 error.
Tried
var scopes = 'https://adwords.google.com/api/adwords/';
gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
'offline', response_type: 'code', prompt: 'select_account',authuser: -1}, 
$scope.handleAuthResult);

And also:
var scopes = 'https://adwords.google.com/api/adwords/ 
https://www.googleapis.com/auth/analytics.readonly 
https://www.googleapis.com/auth/userinfo.profile 
https://www.googleapis.com/auth/userinfo.email';

The problem on my side is that our users are clicking these and seeing this 
error and I have no control over it since I dont know if they hold an auth 
token already. It will work the first time perfectly, then it will error 
the second time it is authed. 
Thanks for your response.

On Tuesday, January 21, 2014 2:41:13 AM UTC-8, Danial Klimkin wrote:
>
> Hello Pere,
>
>
> Do you get the same error if you provide *only* AdWords scope? Can you 
> combine those calls to have a shared refresh token for both GA and AdWords 
> API?
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, January 16, 2014 12:32:36 AM UTC+4, Pere Kyle wrote:
>>
>> Since about the beginning of december the oauth flow for our app has been 
>> broken. It previously worked for ~3 months with no changes. It seems to 
>> have coincided with the new permission page for oauth and only affects 
>> functionality after an adwords token has been granted.
>>
>> Steps to reproduce:
>> var clientId = 'ID.apps.googleusercontent.com';
>> var scopes = 'https://adwords.google.com/api/adwords/ 
>> https://www.googleapis.com/auth/userinfo.profile 
>> https://www.googleapis.com/auth/userinfo.email';
>> gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
>> 'offline', response_type: 'code', prompt: 'select_account',authuser: -1}, 
>> handleAuthResult);
>>
>> This flow works the first time and then subsequently fails even when not 
>> trying to auth an Adwords account:
>> var scopes = 'https://www.googleapis.com/auth/analytics.readonly 
>> https://www.googleapis.com/auth/userinfo.profile 
>> https://www.googleapis.com/auth/userinfo.email';
>> gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
>> 'offline', response_type: 'code', approval_prompt: 'force', authuser: -1}, 
>> handleAuthResult);
>>
>> After clicking on Adwords authorized account in account chooser
>> ERROR: "*400.* That's an error.
>>
>> The page you requested is invalid. That's all we know."
>>
>> In the google account permissions page if I auth GA first and then 
>> adwords it will only error after the adwords has been associated. I am 
>> desperate for a solution as I cannot seem to fix it on my end, it must be a 
>> change in the google permissions system.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: OAuth 2.0 and link between MCC and new Customers Accounts

2014-01-24 Thread Bikram Bhuyan
Hello Guys,

I need some assistance here as well as I am facing the same kind of issues. 
The situation is the client's account is not linked to our MCC account. We 
got the refresh token for the client's account through the OAuth process.

Could you please let us know the step we can follow with some code sample 
how to get the ClientCustomerId for the client which is not linked to our 
MCC. From the earlier post I did not get the exact steps how to get the 
values from the API call.

Thanks,
Bikram.

On Tuesday, March 26, 2013 6:48:51 AM UTC-7, Kevin Winter (AdWords API 
Team) wrote:
>
> Hi,
>   You will want to use the ManagedCustomerService to get a list of 
> accounts linked to your MCC.  The InfoService has been deprecated (in the 
> past it could be used to translate a clientEmail into a clientCustomerId, 
> but the ManagedCustomerService is a better way to get a list of accounts).
>
> - Kevin Winter
> AdWords API Team
>
> On Tuesday, March 19, 2013 8:32:09 AM UTC-4, Taher Dhilawala wrote:
>>
>> Hi Stamatina,
>>
>> How do I use InfoService to get list of accounts (details) linked to my 
>> mcc account. What I understood from documentation of InfoService is that it 
>> only gives API usage for all the customers linked to the MCC accounts. 
>> Please correct if I understood wrongly.
>>
>> On Wednesday, January 16, 2013 7:07:20 PM UTC+5:30, Stamatina Thomaidou 
>> wrote:
>>>
>>> Thank you all for your answers. Eventually, we understood and found the 
>>> solution. We used JSON to get automatically from the response of the 
>>> OAuth2.0 authorization process the email and next we used the InfoService 
>>> to get the AdWords data. :)
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Accessing to multiple AdWords account under the same MCC account.

2014-01-24 Thread Bikram Bhuyan
Hi Ray,

Thanks a lot for your response and it works great for the accounts which 
are listed under out MCC account after we change the clientCustomerId in 
the code. 

Now I have a different situation. We are connecting to third party AdWords 
account which are not listed under our MCC account. We are using OAuth to 
get the RefreshToken for the client. Now my question is how do we get the 
client's adwords customer id.

In Order to connect to client's account we need to have the RefreshToken 
(which are got from the OAuth process) as well as the client's customer Id. 
The OAuth process does not return the client's Customer Id. Then where 
should we get this value to connect to client's adwords account.

Thanks,
Bikram.

On Monday, January 13, 2014 2:51:24 PM UTC-8, Ray Tsang (AdWords API Team) 
wrote:
>
> Bikram,
>
> If you generated a refresh token as the MCC user, then that refresh token 
> can be used to access all of the children AdWords account that MCC has 
> access to.
>
> In order to access a specific account, you will need to set the 
> clientCustomerId(e.g.,
>  the CID for one of the 3 accounts that you have under the MCC). 
>  Every client library should have a way to set it during the run time - 
> please refer to a client library's documentation.
>
> Cheers,
>
> --
> Ray Tsang (AdWords API Advisor)
>
> On Thursday, January 9, 2014 1:26:41 PM UTC-5, Bikram Bhuyan wrote:
>>
>> Hi,
>>
>> Currently we have a MCC account with 3 ad-words account under it. (i.e: 
>> when I log in to our mcc account I can see 3 account with different 
>> customer id). I generated my refresh token by giving access with my login 
>> and currently accessing data for our test account. Everything is working 
>> fine as expected.
>>
>> Wanted to know I think the same refresh token can be used to connect to 
>> the other accounts. In the code how can I point to different adwords 
>> account with the same refresh token. This part is little confusing to me. 
>> If you could provide some details that will be great.
>>
>> Thanks,
>> Bikram.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Search Query Performance Report

2014-01-24 Thread Josh Radcliff (AdWords API Team)
Hi,

If you include the KeywordId field then you could join that information 
back to the criterion 
IDon
 your 
AdGroupCriterionand
 
CampaignCriterionobjects,
 which you can retrieve either through structure 
reportsor
 the 
AdGroupCriterionServiceand
 
CampaignCriterionService
.

Cheers,
Josh, AdWords API Team

On Wednesday, January 22, 2014 4:00:32 PM UTC-5, Stepanian wrote:
>
> I noticed that the Search Query Performance Report does not have a field 
> that indicates if a search query is ADDED, EXCLUDED or NONE (neither added 
> nor excluded). Is that by design? Is there a workaround for me to get this 
> data as part of this report or from another source and do a join? Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 could i get access to unlinked adwords user account

2014-01-24 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you accessing the same account that you were logged into when you 
generated the refresh token?  I recommend taking a look at the other 
"invalid_grant" posts on the forum, as they contain several suggestions for 
addressing this issue.  A few examples are:

   - https://groups.google.com/d/msg/adwords-api/Ib8P2ZmdyM8/PbvVt6L05RUJ
   - https://groups.google.com/d/msg/adwords-api/E1Pv7OJ5BRs/1IawP7ws5E8J
   - https://groups.google.com/d/msg/adwords-api/zHBXkEuIjZM/1E7IeLFlTbgJ
   
Thanks,
Josh, AdWords API Team

On Tuesday, January 21, 2014 11:53:16 AM UTC-5, Eldar Useinov wrote:
>
> Hi.
>
> I use Java Client library and face next problem
>
> I try to run this code 
>
>
> *new OfflineCredentials.Builder()
> .forApi(OfflineCredentials.Api.ADWORDS).fromFile()
> .build();*
>
> with ads.properties file, which containes next settings
>
>
>
>
>
>
>
>
>
>
>
>
> *api.adwords.refreshToken=1/w3eZ_***api.adwords.clientId=97*apps.googleusercontent.com
>  
> api.adwords.clientSecret= 
> j6Ci**api.adwords.userAgent=AdWords API JAVA Code 
> Exampleapi.adwords.developerToken=d***api.adwords.isPartialFailure=falseapi.adwords.returnMoneyInMicros=trueapi.adwords.refreshOAuth2Token=true*
>
> and have next error:
>
> 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 adwords.GoogleAPIWrapper.(GoogleAPIWrapper.java:81)
>  at adwords.Loader.(Loader.java:24)
>  at 
> tasks.CampaignSyncTaskExecutor.loadCampaign(CampaignSyncTaskExecutor.java:132)
>  at 
> tasks.CampaignSyncTaskExecutor.process(CampaignSyncTaskExecutor.java:42)
>  at tasks.ATaskExecutor$1.run(ATaskExecutor.java:22)
>  at java.lang.Thread.run(Thread.java:744)
> Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 
> Bad Request
> {
>   "error" : "invalid_grant"
> }
>
>
> What i did wrong? Thank you.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


New filter limits for AWQL and reports

2014-01-24 Thread CSPeter
http://googleadsdeveloper.blogspot.com/2014/01/ensuring-reliable-performance-with-new.html

There is currently a limit of 10k results returned within a single page for 
adgroupcriterion calls.  If you try to retrieve pages past 100k results, 
errors are thrown.  Is this announcement to enforce these same limitations 
across all result sets?  Will they all behave in the same way that 
adgroupcriterion behaves today?  Or is this a further restriction on this?

>From the post:
To make sure your applications and scripts work properly, check any code 
that constructs queries for reports and AWQL and add necessary limit checks 
before March 31, 2014.

How can we do this?  AWQL has a "limit" function for paging, which works 
well when total results are under 100k.  But it's not entirely clear that 
this will continue to function.  

Limiting reports outside of AWQL calls is another beast entirely.  I 
currently download many reports that have well over 10k rows - most 
notably, the Ad Performance report.  The report is generated rather quickly 
for an entire account - even those with millions of keywords.  Is this 
report really going to be limited to 10k records?  Even if I restricted the 
report to a single adgroup, that wouldn't be nearly enough of a restriction 
to get under 10k, due to each combination of keywords and ads returning a 
new row.

Also, is there any endpoint that we can test this new restriction against 
before March 31st?  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Wrong result if an AWQL query to AD_PERFORMANCE_REPORT contains a predicate on CostPerConversion

2014-01-24 Thread Jean Claveau
Considering this query :
SELECT
 Id
,AdGroupId
,AdGroupName
,CampaignId
,CampaignName

,Conversions
,CostPerConversion
FROM
AD_PERFORMANCE_REPORT
 WHERE 
Conversions > 1
 
DURING
20040101, 20140101

I get a lot of results including this one :
[Ad ID] => 11785396986
[Ad group ID] => 1822582866
[Ad group] => Marque - 
[Campaign ID] => 53373906
[Campaign] => FR -  - Marque - *
[Conv. (1-per-click)] => 41
[Cost / conv. (1-per-click)] => 1.94


Now, if i add a predicate like the query becomes :
SELECT
 Id
,AdGroupId
,AdGroupName
,CampaignId
,CampaignName

,Conversions
,CostPerConversion
FROM
AD_PERFORMANCE_REPORT
 WHERE 
Conversions > 1
AND*CostPerConversion < 100*
 
DURING
20040101, 20140101


There is no result anymore.


I can manually filter over the results of the first request as workaround 
but what about others fields?
Is there a way to know witch ones are usable for predicates?


For example an explanation could that floats are not comparable against 
ints?... I'll continue to dig but think I should warn you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 all keywords (with status)

2014-01-24 Thread Josh Radcliff (AdWords API Team)
Hi,

A Keyword criterion exists as part of a AdGroupCriterion or 
CampaignCriterion, so it doesn't have a status of its own, per se.  Could 
you elaborate on what you're trying to achieve?  It may be that the other 
status values available will provide the information you need, such as:

   - 
systemServingStatus
   - 
approvalStatus
   - 
disapprovalReasons

Thanks,
Josh, AdWords API Team

On Tuesday, January 21, 2014 6:35:21 PM UTC-5, thang dinh wrote:
>
>
> Hi Team,
>
> I have used function get all keyword in file attach but I can't get status 
> of keyword.Please let me know if I have gotten status of keyword in some 
> ways.
>
> I'm try using BiddableadGroupCriterion.userStatus but it only return 
> status = Active
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 v201309 CampaignCriterionService mutate set AdSchedule

2014-01-24 Thread Marcel Bremer
Hello,

I'm facing the exact same problem. I am able to update the bidModifier 
criterion, but I can't update the startHour or startMinute of an AdSchedule.

Kind regards,
Marcel

On Thursday, January 23, 2014 12:24:21 PM UTC+1, Leny wrote:
>
> Hi,
>
> I am trying to update an AdSchedule(change the endHour) through the 
> CampaignCriterionService mutate method using the set operator, sadly 
> without success.
> The validation only mode returns no error, the normal mode returns the 
> AdSchedule without my change, no error returned whatsoever.
> Is there any limitation on CampaignCriterion or AdSchedule I may have 
> missed in the documentation ?
>
> Thank you.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


mcc vs api Impressions differs

2014-01-24 Thread Ilya Chukhlayev
Hi there!

I have a problem when I compare results returned 
by CAMPAIGN_PERFORMANCE_REPORT with appropriate ones in MCC.

For example, 
CampaignId: 138307647
Date: 2014-01-20 
Impressions value from CAMPAIGN_PERFORMANCE_REPORT: *12194*
Impressions value from MCC: *10768*

If it matters, I use java adwords-axis library version 1.22.1 Here is my 
code for report fetching

com.google.api.ads.adwords.lib.jaxb.v201309.Selector selector = new 
com.google.api.ads.adwords.lib.jaxb.v201309.Selector();
selector.getFields().addAll(Lists.newArrayList("CampaignId",
"Status",
"Clicks",
"Cost",
"Impressions",
"Conversions",
"AdNetworkType1",
"AdNetworkType2",
"Device",
"ClickType",
"Date"));

ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setReportName("Campaign performance report #" + 
System.currentTimeMillis());

reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.LAST_7_DAYS);

reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
reportDefinition.setDownloadFormat(DownloadFormat.CSV);
reportDefinition.setSelector(selector);


Guys, can you help me with this issue?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 support for AdWords "Labels" feature?

2014-01-24 Thread Ben Marengo
+1, i'm also keen for this!
is there a ticket that we can watch, so we know when its available?

thanks
ben

On Thursday, 16 January 2014 18:12:30 UTC+1, Ray Tsang (AdWords API Team) 
wrote:
>
> Hi,
>
> I'm sorry to inform you that I won't be able to comment on a release date.
>
> Thanks,
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
> On Monday, January 13, 2014 7:51:10 PM UTC-5, adw...@tallemu.com wrote:
>>
>> Thanks David, is there any update about this in near feuture?
>>
>> On Thursday, October 10, 2013 8:31:30 AM UTC+11, David Torres (AdWords 
>> API Team) wrote:
>>>
>>> Hi All,
>>>
>>> Labels is definitively in our TODO list but I can't give a release date 
>>> yet.
>>>
>>> Best,
>>>
>>> - David Torres - AdWords API Team
>>>
>>> On Monday, October 7, 2013 7:26:52 PM UTC-4, bg...@walmartlabs.comwrote:

 +1. This will be very useful API feature.

 On Monday, September 16, 2013 2:22:41 AM UTC-7, Pau Gargallo wrote:
>
> +1
>
> pau
>
>
>
> On Thursday, April 4, 2013 9:34:17 AM UTC+2, Oliver wrote:
>>
>> Another +1 to add labels please.  It's one of the most useful and 
>> powerful features in adwords.
>>
>> Oliver
>>
>> On Wednesday, April 3, 2013 10:44:02 PM UTC+1, Vanessa Sabino wrote:
>>>
>>> +1 to please add labels to the API!
>>> With the 30 minutes timeout limit for AdWords scripts, it's a huge 
>>> pain to bulk edit the labels there.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Vertical ID ADD returned as EntityNotFound.INVALID_ID

2014-01-24 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you using one of our client 
librariesor are 
you generating the SOAP requests manually?  I just ran a check with 
the Java client library and was able to add a Vertical with verticalId 1252 
to an ad group without any issues.  One possibility is that in the XML 
you're generating the *xsi:type* for the *Vertical* is set to *Criterion*, 
since the CONCRETE_TYPE_REQUIRED error is thrown when the type of the 
Criterion is the base (abstract) superclass Criterion.  The client library 
will take care of this for you automatically, but if you're generating the 
requests manually you'll have to set the type yourself.

If that's not the source of the problem, could you post the request XML you 
are submitting?  Please make sure you remove any sensitive information such 
as clientId, clientSecret, refreshToken, etc.

Thanks,
Josh, AdWords API Team

On Friday, January 24, 2014 7:37:03 AM UTC-5, Andrew Ambrosio wrote:
>
> I noticed that we are using both Vertical.VerticalId and Vertical.Id, 
> thanks for pointing that out.
>
> I got a different error now. CONCRETE_TYPE_REQUIRED
>
> I am using "statistics" as vertical for this test. I give 1252 as 
> VerticalId.
>
> On Wednesday, January 22, 2014 2:50:21 AM UTC+8, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Could you confirm that you are passing 
>> Vertical.VerticalId,
>>  
>> and *not 
>> *Vertical.Id?
>>  
>>  The former should be set to the vertical ID from the list of available 
>> verticals.  The latter is automatically generated by AdWords when you 
>> create a new Vertical and should not be set in your mutate + ADD request.
>>
>> If that's not the issue, please pass along the vertical ID you are trying 
>> to use and I will attempt the same request on my side.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Friday, January 17, 2014 2:17:06 AM UTC-5, Andrew Ambrosio wrote:
>>>
>>> I am trying to add a Vertical on an Ad Group using 
>>> AdGroupCriterionService.Mutate. As I give the Vertical.Id based on the 
>>> CSV provided 
>>> by 
>>> AdWords. I got EntityNotFound.INVALID_ID on Partial Error.
>>>
>>> Can you guys assist me on using Vertical on Ad Groups?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Vertical ID ADD returned as EntityNotFound.INVALID_ID

2014-01-24 Thread Andrew Ambrosio
I noticed that we are using both Vertical.VerticalId and Vertical.Id, 
thanks for pointing that out.

I got a different error now. CONCRETE_TYPE_REQUIRED

I am using "statistics" as vertical for this test. I give 1252 as 
VerticalId.

On Wednesday, January 22, 2014 2:50:21 AM UTC+8, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Could you confirm that you are passing 
> Vertical.VerticalId,
>  
> and *not 
> *Vertical.Id?
>  
>  The former should be set to the vertical ID from the list of available 
> verticals.  The latter is automatically generated by AdWords when you 
> create a new Vertical and should not be set in your mutate + ADD request.
>
> If that's not the issue, please pass along the vertical ID you are trying 
> to use and I will attempt the same request on my side.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, January 17, 2014 2:17:06 AM UTC-5, Andrew Ambrosio wrote:
>>
>> I am trying to add a Vertical on an Ad Group using 
>> AdGroupCriterionService.Mutate. As I give the Vertical.Id based on the 
>> CSV provided 
>> by 
>> AdWords. I got EntityNotFound.INVALID_ID on Partial Error.
>>
>> Can you guys assist me on using Vertical on Ad Groups?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: ETA on AdGroup Platform Target Report?

2014-01-24 Thread Danial Klimkin
Hello Matt,


Unfortunately we can't commit on any feature or timeline before an actual 
release. I'll make sure this feature request is logged though.


-Danial, AdWords API Team.


On Wednesday, January 22, 2014 12:38:07 AM UTC+4, Matt Linscott wrote:
>
> We really need a more efficient way of fetching the mobile bid modifiers 
> at the ad group level for an entire account. It's been four months since 
> the last major release (v201309) of the adwords API so I'm hoping to see a 
> new library version any time now, but will it have the AdGroup Platform 
> Target report type so we can bulk download bid modifiers?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: AdGroupCriterionService Bug? - EntityNotFound.INVALID_ID for CriterionId that exists

2014-01-24 Thread Danial Klimkin
Hello Daniel,


Please create a new thread on the forum for your issue and attach the XML 
logs of the request and server response to investigate. Please make sure to 
remove sensitive parts such as developer and auth tokens.


-Danial, AdWords API Team.

On Tuesday, January 21, 2014 8:00:57 PM UTC+4, Modix Germany wrote:
>
> Hi AdWords team,
>
> I'm running into the same problem: EntityNotFound.INVALID_ID.
>
>   KeywordId/CriterionId: 62589520809
>   ClientCustomerId: 270-433-8426
>   AdGroupId: 10044796569
>
> When using the reportdownload service, the keyword id is present in the 
> download (UserStatus enabled).
>
> Regards
> - Daniel
>
> Am Freitag, 2. August 2013 09:54:01 UTC+2 schrieb Rob:
>>
>> Looks like you're trying to change the bid on a deleted criterion 
>> (DELETED). That could explain why it doesn't work.
>>
>> On Monday, 22 July 2013 12:13:01 UTC+1, Akil Burgess wrote:
>>>
>>> Hi All,
>>>
>>> We're seeing a reproducable issue where we receive an 
>>> EntityNotFound.INVALID_ID (trigger - CriterionId) error for a mutate 
>>> operation on AdGroupCriterion using a valid AdGroupId and CriterionId 
>>> ("Id"). The AdGroupCriterionService get call returns the AdGroupCriterion 
>>> object with the same Ids that are being said to be invalid. 
>>>
>>> I have attached the soap logs for the mutate operation and the get 
>>> operation below. Is this a bug in the AdGroupCriterionService or is there 
>>> something wrong with our AdGroupCriterionOperation?
>>>
>>> Thanks!
>>> Akil Burgess
>>>
>>>
>>> -BEGIN API CALL-
>>>
>>> Request (Mutate)
>>> ---
>>>
>>>
>>> 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";>**>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>9765518125>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";> 
>>> (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18051, 
>>> gzip)https://adwords.google.com/api/adwords/cm/v201306";>SET>>  
>>> xsi:type="BiddableAdGroupCriterion">3790202104>>  
>>> xsi:type="Keyword">37523985304>>  
>>> xsi:type="CpcBid">80
>>>
>>> Response (Mutate)
>>> 
>>>
>>>
>>> http://schemas.xmlsoap.org/soap/envelope/
>>> ">https://adwords.google.com/api/adwords/cm/v201306";>0004e2179870ad280ae50e884419AdGroupCriterionServicemutate0478soap:Server[EntityNotFound.INVALID_ID
>>>  
>>> @ operations[0].operand.criterion.id; 
>>> trigger:'CriterionId{id=37523985304}']>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>[EntityNotFound.INVALID_ID
>>>  
>>> @ operations[0].operand.criterion.id; 
>>> trigger:'CriterionId{id=37523985304}']ApiException>>  
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="EntityNotFound">operations[0].operand.criterion.id
>>> CriterionId{id=37523985304}EntityNotFound.INVALID_IDEntityNotFoundINVALID_ID
>>> -END API CALL---
>>>
>>> -BEGIN API CALL-
>>>
>>> Request (Get)
>>> ---
>>>
>>>
>>> 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";>**>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>9765518125>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";> 
>>> (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18051, 
>>> gzip)https://adwords.google.com/api/adwords/cm/v201306
>>> ">AdGroupIdCriterionUseStatusSystemServingStatusApprovalStatusDisapprovalReasonsDestinationUrlFirstPageCpcIsKeywordAdRelevanceAcceptableIsLandingPageQualityAcceptableIsLandingPageLatencyAcceptableQualityScoreBiddingStrategyTypeCpcBidCpcBidSourceCpmBidCpmBidSourcePercentCpaBidPercentCpaBidSourceIdCriteriaTypeAgeRangeTypeUserInterestIdUserInterestNameUserListIdUserListMembershipStatusGenderTypeKeywordTextKeywordMatchTypeMobileAppCategoryIdDisplayNamePlacementUrlTextVerticalIdVerticalParentIdPathAdGroupIdEQUALS3790202104IdEQUALS3752398530401
>>>
>>> Response (Get)
>>> 
>>>
>>>
>>> http://schemas.xmlsoap.org/soap/envelope/
>>> ">https://adwords.google.com/api/adwords/cm/v201306";>0004e2179c2f6e900ae503c65ebdAdGroupCriterionServiceget0415>>  
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>1AdGroupCriterionPage>>  
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="BiddableAdGroupCriterion">3790202104BIDDABLE>>  
>>> xsi:type="Keyword">37523985304KEYWORDKeywordcheap
>>>  
>>> David Haye Dereck C

Re: DESTINATION_URL_REPORT" is not returning the actual clicked URL and the KeyWord.

2014-01-24 Thread Danial Klimkin
Hello Bikram,


1. Some rows can represent several clicks (if other columns are the same). 
Add "Clicks" column to the report to confirm it.

2/3. The final effective URL is generated on delivery and not stored. 
ValueTrack parameters are design to supply information to your web server, 
statistical information for keywords, ads etc is available in other reports.

4. I don't think this information can be obtained. I'd recommend to check 
with the general AdWords support on whether it is possible to get this data 
from the UI first, as they are more familiar with the delivery side.


-Danial, AdWords API Team.


On Wednesday, January 22, 2014 5:26:36 AM UTC+4, Bikram Bhuyan wrote:
>
> Hello,
>
> For one of our Ad we have defined the destination URL as 
> "*http://www.xxx.com/landing/gaw//?mt={matchtype}&kw={keyword}&cid={creative}
>  
> *"
>  
> and from the adwords screen we see that for the date range of last 1 week, 
> 11 clicks are reported. When I run the report "DESTINATION_URL_REPORT" I 
> get AdGroupId, CampaignId, EffectiveDestinationUrl & Date for that date 
> range. I have couple of question on the report data. Could you please help 
> me in getting some input on this.
>
> 1. I see only 7 entries in the report for this URL where as the online 
> adwords report says 11 clicks.
> 2. The EffectiveDestinationUrl of the report returning the actual URL 
> which was setup. That is "*http://www.xxx.com/landing/gaw/ 
> /?mt={matchtype}&kw={keyword}&cid={creative}*
> ".
> 3. I was expecting the actual generated URL like "
> http://www.xxx.com/landing/gaw//?mt=b&kw=lead%20generation&cid=35078677933&gclid=CO313Nuil7sCFUWTfgodu2AA-Q";
>  
> but it is not the generated URL. If this report does not return this URL 
> then which other report will return this value. I need to know the final 
> generated URL for the performance report of our AD. 
> 4. Also how can I get the Key Word or Criteria which was responsible for 
> this Ad To show up. There might be 10 diff keywords which is responsible 
> for this Ad to show up, but I exactly want to know which keyword was 
> responsible for this clicked AD.
>
> I am having a lot of difficulties to find this information from the list 
> of report. If you could help me in identifying the actual report which will 
> return Point 3 and 4 that will be great.
>
> I am attaching the sample report which I generated for last 1 week date 
> range in the email for your reference.
>
> Thanks,
> Bikram.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 Exception handling in Python

2014-01-24 Thread Danial Klimkin
Hi Martin,


Please see this example as a reference:

try:
  page = campaign_service.get(selector)
except AdWordsGoogleInternalError, e:
  inner_error = e.errors[0]
  if 'RateExceededError.RATE_EXCEEDED' == inner_error.errorString:
// do something with inner_error.retryAfterSeconds


-Danial, AdWords API Team.


On Thursday, January 16, 2014 9:45:22 PM UTC+4, Martin wrote:
>
> Hi,
> I am getting the RateExceededError and according to the suggestions I want 
> to catch this exception and respect the 'retryAfterSeconds' attribute.
> However I am failing to catch just this particular exception and leaving 
> the rest to be handled with my generic error handler.
>
> I tried to do something like this:
> try:
> working_code()
> except RateExceededError as Rate_e:
> time.sleep(Rate_e.retryAfterSeconds)
>
> but this does not work.
> Is there some Exceptions import I am missing or is there another way of 
> doing it?
> Thank you!
> Martin
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Documentation seems to indicate TrueView ad metrics ARE available thru the Adwords API

2014-01-24 Thread Danial Klimkin
Hello Michael,


This guide talks about the old video ads that were available before AdWords 
for Video was launched. They are still used by very legacy accounts but 
should not be implemented anymore.

Unfortunately YouTube TrueView ( = AdWords for Video) campaigns are not 
available via the API.


-Danial, AdWords API Team.


On Friday, January 24, 2014 3:24:05 AM UTC+4, Michael Mertz wrote:
>
>
> I'm very confused by this thread.  According to 
>
> https://developers.google.com/adwords/api/docs/guides/videoads
>
> the very first line of this document reads:  
> "The AdWords API can be used to access and manipulate video ads in your 
> online 
> campaigns . The contents 
> of video campaigns  are 
> not exposed via the API."
>
> (1) Is this documentation wrong, (2) does "access and manipulate video 
> ads" NOT MEAN "retrieve ... metrics using the AdWords API," ?  (3) does 
> "contents of video campaigns are not exposed via the API" mean that "ad 
> metrics are not available via the API" ? or (4) are there SPECIAL CASES 
> which do allow metrics to be retrieved thru the API, e.g. YouTube's 
> TrueView formats, as seemingly indicated in the "video campaigns" link, 
> above.
>
> Please, if anyone has a clue how to sort this out, please post a reply. 
>  Thanks!  GoogleNoobie
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


set a mobile bid adjustment using the API

2014-01-24 Thread ashleygrison
Hello,

I am trying to set a mobile bid adjustment using the following sample code:
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201306/advancedoperations/AddAdGroupBidModifier.java

When I run this code, I cannot see the set values in the AdWords UI.  There 
is an indication that bid adjustments have been set but when I click into 
the details, the box that's supposed to contain the value only displays --. 
 Also, through the UI you can either increase or decrease the percentage 
value, however in the API, there is no mention of either decreasing or 
increasing and negative values throw an exception.

How can I set a negative -100% bid adjustment using the API?

Right now, I am using the following Java code (taken from the sample code) :

 // Get the AdGroupBidModifierService.

AdGroupBidModifierServiceInterface adGroupBidModifierService = 
adWordsServices.get(session, AdGroupBidModifierServiceInterface.class);


 // Create mobile platform. The ID can be found in the documentation.

// https://developers.google.com/adwords/api/docs/appendix/platforms

Platform mobile = new Platform();

mobile.setId(30001L);


 AdGroupBidModifier adGroupBidModifier = new AdGroupBidModifier();

adGroupBidModifier.setAdGroupId(adGroupId);

adGroupBidModifier.setBidModifier(0.0);

adGroupBidModifier.setCriterion(mobile);


 // Create ADD operation.

AdGroupBidModifierOperation operation = newAdGroupBidModifierOperation();

operation.setOperand(adGroupBidModifier);

// Use 'ADD' to add a new modifier and 'SET' to update an existing one. 
A

// modifier can be removed with the 'REMOVE' operator.

operation.setOperator(Operator.ADD);


 // Update ad group bid modifier.

AdGroupBidModifierReturnValue result = adGroupBidModifierService.mutate(
new AdGroupBidModifierOperation[] {operation});


Thanks in advance for your help,

Ashley Grison

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Documentation seems to indicate TrueView ad metrics ARE available thru the Adwords API

2014-01-24 Thread Michael Mertz

I'm very confused by this thread.  According to 

https://developers.google.com/adwords/api/docs/guides/videoads

the very first line of this document reads:  
"The AdWords API can be used to access and manipulate video ads in your online 
campaigns . The contents of 
video 
campaigns  are not 
exposed via the API."

(1) Is this documentation wrong, (2) does "access and manipulate video ads" 
NOT MEAN "retrieve ... metrics using the AdWords API," ?  (3) does 
"contents of video campaigns are not exposed via the API" mean that "ad 
metrics are not available via the API" ? or (4) are there SPECIAL CASES 
which do allow metrics to be retrieved thru the API, e.g. YouTube's 
TrueView formats, as seemingly indicated in the "video campaigns" link, 
above.

Please, if anyone has a clue how to sort this out, please post a reply. 
 Thanks!  GoogleNoobie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Ad performance report has no data for html5 ads

2014-01-24 Thread Danial Klimkin
Hello Chirag,


Unfortunately I can not identify the issue from the report attached. Can 
you please send as retrieved report (without any alterations) and clarify 
what is the expected output?


-Danial, AdWords API Team.


On Friday, January 24, 2014 1:23:39 PM UTC+4, Chirag wrote:
>
> Hello,
>
>  Yes am aware that the Description line 1 & 2 will be shown only for text 
> ads. I agree.
>
> However, it seems that you missed my last option. Let me be clear here - I 
> was specifically talking about the Ad dimensions for Display ads. When you 
> see in the attached sheet rows are not giving ad dimensions. Kindly let me 
> know what could be the reason for this discrepancy as dimensions being 
> shown for some ads and not for few others
>
>
>
> On Thursday, January 23, 2014 5:53:36 PM UTC+5:30, Danial Klimkin wrote:
>>
>> Hello Chirag,
>>
>>
>> Are those template ads? These fields are available for text ads only.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, January 20, 2014 3:05:19 PM UTC+4, Chirag wrote:
>>>
>>> Hello All,
>>>
>>> I am fetching data for Ad performance report, but for html5 ads i am not 
>>> able to get Description line 1, Description line 2 or ad dimensions for ads.
>>>
>>>
>>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: No campaigns were found

2014-01-24 Thread prm . programista
I have a similar problem

I have two MCC accounts: test and production,
in auth.ini I added client_id,client_secret,clientCustomerId and 
refresh_token from test account 
and developer token from production account.
In result i get "No campaigns were found.".
I do not know if I good understand this instruction 
https://developers.google.com/adwords/api/docs/test-accounts but i thought 
that with this setting auth.ini i get campaign from production account. do 
i have right?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Ad performance report has no data for html5 ads

2014-01-24 Thread Chirag
Hello,

 Yes am aware that the Description line 1 & 2 will be shown only for text 
ads. I agree.

However, it seems that you missed my last option. Let me be clear here - I 
was specifically talking about the Ad dimensions for Display ads. When you 
see in the attached sheet rows are not giving ad dimensions. Kindly let me 
know what could be the reason for this discrepancy as dimensions being 
shown for some ads and not for few others



On Thursday, January 23, 2014 5:53:36 PM UTC+5:30, Danial Klimkin wrote:
>
> Hello Chirag,
>
>
> Are those template ads? These fields are available for text ads only.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, January 20, 2014 3:05:19 PM UTC+4, Chirag wrote:
>>
>> Hello All,
>>
>> I am fetching data for Ad performance report, but for html5 ads i am not 
>> able to get Description line 1, Description line 2 or ad dimensions for ads.
>>
>>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.
"weekly Ad performance report #1389009954 (Dec 30, 2013-Jan 5, 2014)",,,
Ad group ID,Ad group,Ad group state,Network,Network (with search partners),Ad type,Avg. CPC,Avg. CPM,Avg. position,Campaign ID,Campaign,Campaign state,Clicks,Click type,CTR,Cost,Conv. (1-per-click),Cost / conv. (1-per-click),Conv. rate (1-per-click),Ad,Ad ID,Keyword ID,Ad state,Description line 1,Description line 2,Impressions,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0,0,1,Campaign ID,Campaign,active,0,Headline,0.00%,0,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,32,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0,0,1,Campaign ID,Campaign,active,0,Headline,0.00%,0,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,947,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0.22,6,1,Campaign ID,Campaign,active,5,Headline,2.78%,1.08,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,180,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0.2,13.98,1,Campaign ID,Campaign,active,50,Headline,7.03%,9.94,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,711,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0.32,4.53,1,Campaign ID,Campaign,active,20,Headline,1.41%,6.44,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,1421,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0,0,1,Campaign ID,Campaign,active,0,Headline,0.00%,0,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,1179,Destination URL,Display URL
Ad group ID,Ad group,enabled,Display Network,Display Network,,0.47,0.94,1,Campaign ID,Campaign,active,31,Headline,0.20%,14.47,0,0,0.00%,Plaid design ad,Ad ID,300,enabled,,,15471,Destination URL,Display URL
Total, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --, --


Re: No campaigns were found

2014-01-24 Thread prm . programista
I have a similar problem

I have two MCC accounts: test and production,
in auth.ini I added 
client_id,
client_secret,
clientCustomerId 
and refresh_token
from test account and developer token from production account.
In result i get "No campaigns were found.".

I do not know if I good understand this instruction 
https://developers.google.com/adwords/api/docs/test-accounts but i thought 
that with this setting auth.ini i get campaign from production account. do 
i have right?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: TokenResponseException

2014-01-24 Thread Magnus Ljung
Hi again,

We have changed our implementation to retry the operation if we get this 
exception and that seems to work. 

/Magnus

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.