Tracking conversions in the app using a third-party analytics service

2023-11-19 Thread Dima Kolodezner
Hi! 
We are developing our own service for in-app conversion analytics. A 
developer token was generated. However, when sending a request, we only 
receive data from regular Google ads (not aimed at mobile applications). As 
indicated in the help, you can create a connection with our server and the 
Google advertising cabinet, but you need to add some kind of provider id.
How can I get it?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6f3ea6e0-f243-4d71-8c88-254f05482191n%40googlegroups.com.


Using the new Google Ads API

2022-05-09 Thread Dima T
Hello.

I am trying to convert old application which used deprecated 
authentication, to new one.
The app is written in Java and using com.google.api-ads:google-ads version 
18.0.0

Here are my config properties:

api.googleads.clientId=8148nt.com
api.googleads.clientSecret=cVsR
api.googleads.refreshToken=1/eQUQg
api.googleads.developerToken=Ijs5A
api.googleads.clientCustomerId=6178640297
api.googleads.loginCustomerId=1847133147

When i try to execute app (to pull campaign performance details) i receive 
this error:

com.google.ads.googleads.v10.errors.GoogleAdsException: errors {
  error_code {
authorization_error: USER_PERMISSION_DENIED
  }
  message: "User doesn\'t have permission to access customer. Note: If 
you\'re accessing a client customer, the manager\'s customer id must be set 
in the \'login-customer-id\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid;
}
request_id: "N-1UIzV6efOO3nI33ykweA"

I am using new developer token and manager account # as login customer id.
Can someone please let me know what am i doing wrong?

Thank you
-Dima T

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/63a9a128-73a5-4b88-adbe-5118498b77c8n%40googlegroups.com.


Does keyword search volume update in real time?

2020-06-19 Thread Dima Korenblyum
I see that this api provides an endpoint that I can query to get some stats 
about a google search keyword, particularly it's search volume (how many 
time have people all around the world searched for this keyword before).

My question is -- how up to date is that search volume information

Lets say that the keyword "Tesla" has been search 100 times and another 
person just recently searches for it how quickly would my adwords api data 
be updated to reflect that 'Tesla' has been searched for 101 times now.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f01d3291-7475-428d-bfab-62297ac1473bo%40googlegroups.com.


Re: Image Ad

2019-07-02 Thread Dima
Google Ads Api
Responsive Ads for Display
Thanks

вторник, 2 июля 2019 г., 9:40:38 UTC+2 пользователь adsapiforumadvisor 
написал:
>
> Hi Dima,
>
> Before proceeding, could you confirm if you are using the AdWords API 
> <https://developers.google.com/adwords/api/docs/guides/start> or the Google 
> Ads API <https://developers.google.com/google-ads/api/docs/start>? Also, 
> could you confirm if my understanding is correct that what you wish to 
> create are Responsive Ads for Display 
> <https://support.google.com/google-ads/answer/6363750?hl=en>?
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UCaPNd:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/787fdee8-bb39-440f-a33a-616661661b8b%40googlegroups.com.


Image Ad

2019-07-01 Thread Dima
Hi!
Is there an instruction or an example for creating an image ad for google 
dislpay?
Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1ea9603c-02d1-4c33-a07a-dc158ed9d0eb%40googlegroups.com.


get campaignBudgets && google.ads.googleads.v2

2019-06-28 Thread Dima
Hi!
1) Now we have it like every campaign has unique budget object, but we have 
not saved them.
How we can get all budgets?

2) what does update google.ads.googleads.v2 mean? do we have to update our 
library?

Thanks a lot!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fd6b7f6a-8cb1-4450-92dd-bd182687b8f3%40googlegroups.com.


Low search volume

2019-06-26 Thread Dima
Hi!
Is there a possibility through sql query ($response =
$googleAdsServiceClient->search($customerId, $query, ['pageSize' => self::
PAGE_SIZE]);) to the database to get keywords with a mark (status) "Low 
search volume"?
SELECT to what table it must be and what column?
Thanks a lot!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/47e33037-cb0c-4e41-8407-ca28c6c8c03f%40googlegroups.com.


Re: logLevel

2019-06-26 Thread Dima
no, its still recording all events. we want only with isFault: 1

среда, 26 июня 2019 г., 10:55:29 UTC+2 пользователь adsapiforumadvisor 
написал:
>
> Hi Dima,
>
> You can find the other choices for your logging via this guide 
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>. 
> As for the value to use instead of INFO, you may try the DEBUG option 
> instead. Let me know if this helps.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UCZUjN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c83d1d51-3670-44b1-b5fc-7ddb1d9a0248%40googlegroups.com.


logLevel

2019-06-25 Thread Dima
Hi
We are using php lib for google ads api and all credentials are saved in 
google_ads_php.ini
here is

[LOGGING]
; Optional logging settings.
logFilePath = "../log/google-ads-logger.log"
logLevel = "INFO"


now in log file are saved info about all requests and we want only error to 
be stored. what we have to write instead of INFO?
thanks a lot!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c4db7b87-a7fc-407f-a4a3-6ed5533b16f5%40googlegroups.com.


quota_error => Too many requests. Retry in 16266 seconds.

2019-06-15 Thread Dima
Hi!
We are using Google Ads Api and we have some problems with it:
We have 1 requests quota per day to Google via API, but when we are 
trying to add 5000 new keywords chunked by 100 per one request we are 
getting error "quota_error => Too many requests. Retry in 16266 seconds." 
Typically we got banned for 1 day to do anything...
But when I  open console.developers it shows that we spent like 200 
requests for today...
The question is why? Where these limists are specified? What we have to do 
to solve it?
Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4124c58-cc60-484e-958b-d1dbcc3f78ab%40googlegroups.com.


Turning off CPC (enhanced)

2019-06-12 Thread Dima
Hi!
I have a problem. When creating a campaign like:

$campaign = new Campaign([
'name' => new StringValue(['value' => $name]),
'advertising_channel_type' => AdvertisingChannelType::SEARCH,
'status' => Constants\Status::ENABLED,
'bidding_strategy_type' => BiddingStrategyType::MANUAL_CPC,
'manual_cpc' => new ManualCpc(),
'campaign_budget' => $budgetResourceName,
'network_settings' => $networkSettings,
'start_date' => $startDate,
'end_date' => $endDate
]);

Введите код...

its still creating with manual cpc but also with checkbox "Help increase 
conversions with Enhanced CPC" in campaign->settings->bidding
How I can turn it off using API? It will good to turn it off when creating 
with no more requests...
Thanks a lot! 
Look forward to answers!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d11a4aa-241d-4b63-aca4-6ace3c732ad6%40googlegroups.com.


CPC (enhanced) via php API

2019-06-12 Thread Dima
 how to turn off CPC (enhanced) via api? I am creating campaings like:

$campaign = new Campaign([
'name' => new StringValue(['value' => "AI_" . $this->log->unique_id . "_" . 
$this->log->parameters->name]),
'advertising_channel_type' => AdvertisingChannelType::SEARCH,
'status' => Constants\Status::ENABLED,
'bidding_strategy_type' => BiddingStrategyType::MANUAL_CPC,
'manual_cpc' => new ManualCpc(),
'campaign_budget' => $budgetResourceName,
'network_settings' => $networkSettings,
'start_date' => $startDate,
'end_date' => $endDate
]);


but it is still creating with that checkbox 

"Help increase conversions with Enhanced CPC" in campaing -> settings -> 
bidding

it will be greate to create campaigns without that (with no more requests).

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/baa9adde-28e0-4d76-adf1-7b3883cbedee%40googlegroups.com.


Re: [API is DOWN] UNEXPECTED_INTERNAL_API_ERROR for all requests

2019-05-03 Thread dima
Same here.

On Friday, May 3, 2019 at 8:38:50 PM UTC+3, AdWordsApiUser wrote:
>
> Hi Team,
>
> The API is down with UNEXPECTED_INTERNAL_API_ERROR for any request. 
>
> Thanks for your help!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/240267e1-0383-4022-b670-ad08c9a574d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Smart Shopping ad assets creation

2019-04-02 Thread dima
Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6554e63d-2b9e-4f87-947c-0f7d1221e833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Smart Shopping ad assets creation

2019-04-02 Thread dima
We create a blank ad, without headlines etc, i.e. without the assets from 
my first screenshot.

We can't understand how to populate the fields, for example the headline.

There is no setter like setHeadline, and no setField that receives a field 
enum or something.

We've found only  setField(FieldDescriptor field, Object value), but 
FieldDescriptor is very generic and we can't find an appropriate 
documentation.

Can you give me an example of populating one of the fields, let's say the 
Short Headline?

Thanks

On Monday, April 1, 2019 at 9:14:48 PM UTC+3, googleadsapi-forumadvisor 
wrote:
>
> Hello,
>
> You will just need to pass the ShoppingSmartAdInfo in your ad builder. Are 
> you experiencing any errors when trying to create the ads? If so, can you 
> please share your request and response for the API call?
>
> Thanks,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/30/19 11:24:16 di...@adscale.com  wrote:
>
> Hi,
>
> Thanks for the reply.
>
> We tried it already.
>
> ShoppingSmartAdInfo shoppingSmartAdInfo = 
> ShoppingSmartAdInfo.newBuilder().build();
> Ad ad = Ad.newBuilder().setShoppingSmartAd(shoppingSmartAdInfo).build();
>
>
> ShoppingSmartAdInfo doesn't have setters at all.
>
> Its builder has method setField(FieldDescriptor field, Object value). But 
> we couldn't find any documentation how to fill it, FieldDescriptor is very 
> generic
>
> On Saturday, March 30, 2019 at 12:11:10 AM UTC+3, 
> googleadsapi-forumadvisor wrote:
>
> Hello,
>
> You can find information on how to create smart shopping ads here 
> .
>  
> The Ad 
> 
>  will 
> have a field called shopping_smart_ad which you can set to 
> ShoppingSmartAdInfo 
> 
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/29/19 14:25:54 di...@adscale.com wrote:
>
> Hi,
>
> I'm stuck stuck with smart shopping ad creation. We are able to create a 
> campaign, ad group and an empty ad, but can't find a way to populate the 
> asset (file asset.png).
>
> For ad creation we use this example - https://developers.google.
> com/google-ads/api/docs/samples/add-shopping-smart-ad
>
> When I create a smart shopping ad with its assets manually I can see in 
> the Change History that a feed named "System generated (Smart Shopping Ads) 
> Feed" was created (change_history.png).
>
> I've tried to retrieve this feed via FeedServiceInterface, but it's not 
> there.
>
> So I'm really stuck here. How can I populate the ad assets via API?
>
> Thanks
>
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/adwords-api/5b52f000-14da-414f-baf3-40a2ce39723d%40googlegroups.com 
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads API Forum" group.
> To post to this group, send email to 

Re: Smart Shopping ad assets creation

2019-03-30 Thread dima
Hi,

Thanks for the reply.

We tried it already.

ShoppingSmartAdInfo shoppingSmartAdInfo = 
ShoppingSmartAdInfo.newBuilder().build();
Ad ad = Ad.newBuilder().setShoppingSmartAd(shoppingSmartAdInfo).build();


ShoppingSmartAdInfo doesn't have setters at all.

Its builder has method setField(FieldDescriptor field, Object value). But 
we couldn't find any documentation how to fill it, FieldDescriptor is very 
generic

On Saturday, March 30, 2019 at 12:11:10 AM UTC+3, googleadsapi-forumadvisor 
wrote:
>
> Hello,
>
> You can find information on how to create smart shopping ads here 
> .
>  
> The Ad 
> 
>  will 
> have a field called shopping_smart_ad which you can set to 
> ShoppingSmartAdInfo 
> 
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/29/19 14:25:54 di...@adscale.com  wrote:
>
> Hi,
>
> I'm stuck stuck with smart shopping ad creation. We are able to create a 
> campaign, ad group and an empty ad, but can't find a way to populate the 
> asset (file asset.png).
>
> For ad creation we use this example - 
> https://developers.google.com/google-ads/api/docs/samples/add-shopping-smart-ad
>
> When I create a smart shopping ad with its assets manually I can see in 
> the Change History that a feed named "System generated (Smart Shopping Ads) 
> Feed" was created (change_history.png).
>
> I've tried to retrieve this feed via FeedServiceInterface, but it's not 
> there.
>
> So I'm really stuck here. How can I populate the ad assets via API?
>
> Thanks
>
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/5b52f000-14da-414f-baf3-40a2ce39723d%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3b9f8c3b-5249-42c0-abfe-56093f3170f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Unexpected error when trying to update budgets

2019-02-15 Thread dima
I can confirm it’s resolved

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5474b222-63ab-40af-92cb-ff59d62f9ec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unexpected error when trying to update budgets

2019-02-15 Thread dima
Last failure was 10 minutes ago, so I believe it’s working now.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c6a66d69-9d42-4647-be35-47c51fb7f532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unexpected error when trying to update budgets

2019-02-15 Thread dima
Hi,

About 25 minutes ago all our requests to update budgets started to fail, on 
hundreds of different accounts.


easyle...@easyleads.com 
2:47 PM (0 minutes ago)
to dima
AxisFault 
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server 
faultSubcode: 
faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
 
faultActor: 
faultNode: 
faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201809}ApiExceptionFault:[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
ApiExceptionInternalApiError.UNEXPECTED_INTERNAL_API_ERRORInternalApiError
UNEXPECTED_INTERNAL_API_ERROR 

ApiException{applicationExceptionType=ApiException, 
errors=[InternalApiError{apiErrorType=InternalApiError, 
errorString=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, 
reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]} 
at sun.reflect.GeneratedConstructorAccessor121.newInstance(Unknown Source) 
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at java.lang.Class.newInstance(Class.java:442) 
at org.apache.axis.encoding.ser.BeanDeserializer.
(BeanDeserializer.java:104) 
at org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90) 
at 
com.google.api.ads.adwords.axis.v201809.cm.ApiException.getDeserializer(ApiException.java:165)
 
at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:498) 
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
 
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
 
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
 
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
 
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
 
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
 
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) 
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source) 
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source) 
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source) 
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
 
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) 
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) 
at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
 
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) 
at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 
at org.apache.axis.client.Call.invoke(Call.java:2767) 
at org.apache.axis.client.Call.invoke(Call.java:2443) 
at org.apache.axis.client.Call.invoke(Call.java:2366) 
at org.apache.axis.client.Call.invoke(Call.java:1812) 
at 
com.google.api.ads.adwords.axis.v201809.cm.BudgetServiceSoapBindingStub.mutate(BudgetServiceSoapBindingStub.java:851)
 
at sun.reflect.GeneratedMethodAccessor594.invoke(Unknown Source) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
at java.lang.reflect.Method.invoke(Method.java:498) 
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100)
 
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234)
 
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63)
 
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
 
at com.sun.proxy.$Proxy96.mutate(Unknown Source) 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, 

Re: BatchJobs - Huge processing times since last night

2018-09-13 Thread dima
Same here. Jobs that usually take seconds need hours today.

On Thursday, September 13, 2018 at 10:49:53 AM UTC+3, Thorsten Merz wrote:
>
> Hey there,
>
> since last night (8 hours ago) we started to have increasing processing 
> times on our batch job executions up to a point where the job takes longer 
> than 2000 seconds to finish (if at all). Our usual average normally is 
> around 15 seconds.
>
> Examples are attached incl. batch job IDs
>
> Some fix for this would be appreciated.
>
> Regards
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae7c3882-4cc7-4c2c-82a9-fad150515be0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem downloading PRODUCT_PARTITION_REPORT for a period above 20 days

2018-05-23 Thread dima
Hi,

Seems like I solved it by increasing the timeout 
in api.adwords.reportDownloadTimeout in the ads.properties file.

Thanks

On Tuesday, May 22, 2018 at 7:56:51 PM UTC+3, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Dima,
>
> Yes, I did try DURING 20180401, 20180520 as well and was able to 
> successfully get the report to run. Could you please check and confirm if 
> you are having issue only with the PRODUCT_PARTITION_REPORT and the 
> DownloadFormat you are specifying? Also, could you let me know what is the 
> approximate timestamp when you are seeing this error so that we can check 
> our logs?
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/85def992-fbd5-4e93-9f24-129684760118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem downloading PRODUCT_PARTITION_REPORT for a period above 20 days

2018-05-22 Thread dima
Hi,

Did you try to extend the period, for example DURING 20180401, 20180520?

This is the exception I'm getting:

com.google.api.ads.adwords.lib.utils.ReportException: Problem sending data 
to report download server.
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.downloadReport(AdHocReportDownloadHelperImpl.java:91)
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.downloadReport(AdHocReportDownloadHelperImpl.java:60)
at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.handleInvocation(AdsUtilityInvocationHandler.java:46)
at 
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:84)
at com.sun.proxy.$Proxy27.downloadReport(Unknown Source)
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.downloadReport(AdHocReportDownloadHelper.java:46)
at 
com.google.api.ads.adwords.lib.utils.v201710.ReportDownloader.downloadReport(ReportDownloader.java:73)

On Monday, May 21, 2018 at 10:55:52 PM UTC+3, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Dima,
>
> I was able to run a report successfully against the same client customer 
> id, using the same query that you have shared. Could you please let me know 
> the details of the error that you get with screenshots if possible?
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/578570d4-e7cb-44b0-959b-d4301a5f9778%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem downloading PRODUCT_PARTITION_REPORT for a period above 20 days

2018-05-21 Thread dima
Hi,

I'm trying to download a PRODUCT_PARTITION_REPORT with Date segment for a 
period of 42 days and it fails constantly.

By using the trial and error method I've figured out that the report fails 
for any period starting before May 1, i,e. during 20180501, 20180520 
succeeds, but 20180430,20180520 fails.

It's not a matter of number of rows, DURING 20180501, 20180520 returns only 
3441 rows,

The report definition is 
Customer ID: 2733935224, zero impressions: false, query: SELECT Date, 
CampaignId, AdGroupId, Id, Clicks, Cost, Conversions, AllConversions, 
ConversionValue FROM PRODUCT_PARTITION_REPORT WHERE Cost>0 AND 
CampaignStatus=ENABLED AND AdGroupStatus=ENABLED AND PartitionType=UNIT AND 
CpcBid>0 DURING 20180430, 20180520

What is the problem?

Thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb8c7d81-6be4-4c4c-80c9-4150c09d6742%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Undocumented exception trying to change budget

2018-04-23 Thread dima
Hi,

I can't update a couple of budgets of one of our customers (I have only a 
refresh token), it fails with an undocumented error 
BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM, at least 
I couldn't find it.

What does it mean?

Thanks

[http-bio-5050-exec-7] WARN 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger 
- Request made: Service: BudgetService Method: mutate clientCustomerId: 
XX URL: https://adwords.google.com/api/adwords/cm/v201710/BudgetService 
Request ID: 00056a6a1f8274100a379a113f01f938 ResponseTime(ms): 191 
OperationsCount: 1 IsFault: true FaultMessage: 
ApiException{applicationExceptionType=ApiException, 
errors=[BudgetError{apiErrorType=BudgetError, 
errorString=BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM, 
fieldPath=operations[0].operand.amount, 
fieldPathElements=[FieldPathElement{field=operations, index=0}, 
FieldPathElement{field=operand}, FieldPathElement{field=amount}], 
reason=BUDGET_ERROR, trigger=}]}
[http-bio-5050-exec-7] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP request:
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201710; 
soapenv:mustUnderstand="0">

REDACTED
X (AwApi-Java, AdWords-Axis/3.10.0, 
Common-Java/3.10.0, Axis/1.4, Java/1.8.0_152, maven)
false
false



https://adwords.google.com/api/adwords/cm/v201710;>

SET

XXX

100







[http-bio-5050-exec-7] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP response:
http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201710;>
00056a6a1f8274100a379a113f01f938
BudgetService
mutate
1
191




soap:Client

[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM 
@ operations[0].operand.amount]

https://adwords.google.com/api/adwords/cm/v201710;>

[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM 
@ operations[0].operand.amount]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="BudgetError">
operations[0].operand.amount

operations
0


operand


amount



BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
BudgetError
BUDGET_ERROR







AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: 
[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM @ 
operations[0].operand.amount]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201710}ApiExceptionFault:[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
 
@ 
operations[0].operand.amount]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="BudgetError">operations[0].operand.amountoperations0operandamountBudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOMBudgetErrorBUDGET_ERROR

ApiException{applicationExceptionType=ApiException, 
errors=[BudgetError{apiErrorType=BudgetError, 
errorString=BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM, 
fieldPath=operations[0].operand.amount, 
fieldPathElements=[FieldPathElement{field=operations, index=0}, 
FieldPathElement{field=operand}, FieldPathElement{field=amount}], 
reason=BUDGET_ERROR, trigger=}]}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201710.cm.ApiException.getDeserializer(ApiException.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

Re: Getting a second token with readonly access

2017-09-14 Thread dima
Ok, I see.

Maybe you are going to add this scope? The lack of it really impacts 
reporting tools, it's much harder to convince customers to grant managing 
permissions rather than read-only permissions, they feel much less secure.

Thanks

On Wednesday, September 13, 2017 at 10:41:54 PM UTC+3, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello, 
>
> Unfortunately, AdWords API Scope 
>  
> is 
> for both read and write access to the API. Since there isn't a separate 
> AdWords API scope for read-only, it is not possible to get a similar 
> message during the OAuth setup flow. The access rights of users on a 
> account is not tied with the developer token. Hence applying a new 
> developer token will not help in your case as well. The clients will be 
> able to confirm the level of access by verifying the access level for that 
> user in the AdWords UI.
>
> Thanks,
> Bharani, AdWords API Team
>
> On Tuesday, September 12, 2017 at 11:43:56 AM UTC-4, Assaf Frank wrote:
>>
>> Hi,
>>
>> We currently have a standard token (read/write) but would like to offer a 
>> service to customers that only requires read access.
>> We would like to display the "grant access"  message to the users that we 
>> would like access to "read" only and not to fully manage their accounts (I 
>> understand this message is according to the token access).
>>
>> Is there a way to as for ready only access from the user - even if the 
>> token has full read/write access?
>> If not, can we under the same Manager ID get a second token with only 
>> read access for this purpose?
>>
>> Thanks,
>>
>> Assaf
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c50e10bb-b94d-4854-9e2b-3e700bf59b58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting a second token with readonly access

2017-09-13 Thread dima
Hi,

We with Assaf are co-workers (well, he is my manager), I think you didn't 
understand the question correctly (or we don't understand the answer).

In genera, our company provides services to AdWords users via API. Before a 
customer can start working we ask him to grant us a refresh token (via the 
OAuth mechanism).

We have a developer token with Standard access, created an application in 
the developers console and use the Secret of this application to get the 
refresh token.

The scopes we ask for are https://www.googleapis.com/auth/adwords 
and https://www.googleapis.com/auth/analytics.readonly. As the result when 
granting the access our customers see the following messages:
XYZ wants to
   
   - 
   View your Google Analytics data
   - 
   Manage your AdWords campaigns
   
So far so good. Recently we've developed a report generating tool, for this 
we only need to read data, without any modification operations. Customers 
don't trust a product that suggests an analyzing tool, but requests 
managing permissions.

We would like to change the message from "Manage your AdWords campaigns" to 
"View your AdWords campaigns".

In Analytics, for example, this can easily be achieved by using 
https://www.googleapis.com/auth/analytics.readonly 
instead of https://www.googleapis.com/auth/analytics, but a scope 
https://www.googleapis.com/auth/adwords,readonly 
doesn't exist.

We Googled it and the only solution that was mentioned is issuing a new 
developer token with Read-only access level for another Manager. This is a 
kind of headache (approvals, reviews, regulations etc) and all this just to 
"downgrade" the approved access level.

What is the best possible way to achieve the goal?

Thanks

On Tuesday, September 12, 2017 at 11:57:40 PM UTC+3, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Assaf,
>
> Access levels such as Read-only, Standard and Administrative access are 
> associated with the email address to make the API requests. It does not 
> depend on the developer token access. AdWords API access level depends on 
> the level of access given to the account in the UI. You will be able to set 
> the access level while adding a new user and they will have the same access 
> in the API. You can check the access level associated with the email 
> address by logging into the AdWords account > Account Settings > Account 
> access. 
>
> If you have authenticated as read-only client, you will only be able to 
> make GET calls to download the reports. Email-only accounts cannot make 
> AdWords API calls at all. You can also refer to this document 
>  on how to set the 
> access levels on your AdWords account for additional guidance. In this 
> case, it is not required to request a second Developer token. You will only 
> need to manage access levels 
>  depending 
> on the level of access to be granted for your Manager account. Let me know 
> if you have any other questions. 
>
> Thanks,
> Bharani Cherukuri
> AdWords API Team
>
> On Tuesday, September 12, 2017 at 11:43:56 AM UTC-4, Assaf Frank wrote:
>>
>> Hi,
>>
>> We currently have a standard token (read/write) but would like to offer a 
>> service to customers that only requires read access.
>> We would like to display the "grant access"  message to the users that we 
>> would like access to "read" only and not to fully manage their accounts (I 
>> understand this message is according to the token access).
>>
>> Is there a way to as for ready only access from the user - even if the 
>> token has full read/write access?
>> If not, can we under the same Manager ID get a second token with only 
>> read access for this purpose?
>>
>> Thanks,
>>
>> Assaf
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/67dea167-8569-4f2d-b39f-64b1d30f57e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retrieving Search Lost IS (rank) for Product Groups

2017-08-15 Thread dima
Hi,

In the GUI I can see Impr. Share and Search Lost IS (rank)  per product 
groups of shopping campaigns. How can I get the Lost IS (rank) data via 
API? For all the other metrics (including Impr. Share) we 
use PRODUCT_PARTITION_REPORT, but it's missing the Search Lost IS (rank) 
 field.

Thanks


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/faafd612-8514-4249-a49b-15e9e0039765%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Strange behavvior of RateExceededError.RATE_EXCEEDED

2017-07-27 Thread dima
Hi,

Looks like we migrated from 2.20.0 to 3.5.0.

It's not easy to share the exception since I can't reproduce it without 
causing problems to our software (I can create a lot of threads explicitly, 
but it will block our token for some time and it is what we tried to avoid).

On Tuesday, July 25, 2017 at 10:39:45 PM UTC+3, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Dima, 
>
> Could you please confirm the version of the Java client library 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Freleases=D=1=AFQjCNFaseX2se5e8mNGUFz6k3Ce0rUO5w>
>  that 
> you upgraded from and your current library version? Could you also share 
> the complete RateExceededError with the Elements of RateExceededError 
> <https://developers.google.com/adwords/api/docs/guides/rate-limits#elements_of_rateexceedederror>?
>  
> If you happen to have the logs from before migration where the error was 
> being handled that will be helpful too. 
>
> Since this is specific to the Java client library, you can also post on 
> the repository <https://github.com/googleads/googleads-java-lib/issues> so 
> that the library owner can take a look. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3c4c82cb-89f4-4a26-8f49-4a8f51f67b79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing GclIds in CLICK_PERFORMANCE_REPORT

2017-07-26 Thread dima
I checked 90 days back (maximum that CLICK_PERFORMANCE_REPORT allows). 
There are tens of GclIds missing.

On Wednesday, July 26, 2017 at 9:35:56 AM UTC+3, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello,
>
> I think it's because the GCLIDs are recorded based on the impression time, 
> not the click time (as described in the reference page 
> 
> ).
> Those date times can be different. So if you're looking for the clicks 
> that converted yesterday in the CLICK_PERFORMANCE_REPORT, they might not be 
> recorded in the yesterday bucket.
> You may need to look further back in the past.
>
> Best,
> Thanet, AdWords API Team
>
> On Wednesday, July 26, 2017 at 3:19:07 PM UTC+9, di...@easyleads.com 
>  wrote:
>>
>> Got it, thanks!
>>
>> What about the original issue? Can you check for some GclId samples why 
>> they aren't returned in CLICK_PERFORMANCE_REPORT?
>>
>> On Tuesday, July 25, 2017 at 11:45:31 AM UTC+3, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> Sorry for making you wait for a long time.
>>> I've been confirmed that the *Clicks* field of 
>>> ACCOUNT_PERFORMANCE_REPORT returns the real number of clicks, whereas the 
>>> *Clicks* field of CLICK_PERFORMANCE_REPORT returns the number of 
>>> *interactions.*
>>> So this can be largely different for non-Search campaigns, e.g., 
>>> Shopping campaigns, Display campaigns.
>>>
>>> If you compare the number of *valid* interactions + *invalid *interactions 
>>> columns in the UI with the *Clicks* field of CLICK_PERFORMANCE_REPORT, 
>>> you will see the numbers match.
>>>
>>> Best,
>>> Thanet, AdWords API Team
>>>
>>> On Thursday, June 15, 2017 at 7:08:45 PM UTC+9, di...@easyleads.com 
>>> wrote:

 Checked performance of June 12.

 ACCOUNT_PERFORMANCE_REPORT returns Clicks=991, InvalidClicks=102.
 CLICK_PERFORMANCE_REPORT returns 2306 unique GclIds for that day.

 How can it be?

 On Thursday, June 15, 2017 at 12:48:21 PM UTC+3, di...@easyleads.com 
 wrote:
>
> Hi,
>
> I have 204 GclId of some account that brought a conversion yesterday. 
> Above 95% occurred during the last 5 days, but I was able to find only 40 
> (i.e. less than 20%) GclIds (by iteration CLICK_PERFORMANCE_REPORT day by 
> day for the last 90 days)..
>
> We save the click date and also have a script that can extract the 
> timestamp of some GclIds (the short ones), so we know exactly when the 
> click happened and it's simply not there (I also checked 
> CLICK_PERFORMANCE_REPORT manually for the day of the click, one day 
> before 
> and one day after).
>
> What can be the reason?
>
> In another thread I saw that some clicks may be missing since they are 
> invalid, but here we're dealing with a converting clicks and it doesn't 
> make sense that 80% are invalid.
>
> Thanks
>


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a4ba02a7-18e1-4a4a-9b13-1e2427480de3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing GclIds in CLICK_PERFORMANCE_REPORT

2017-07-26 Thread dima
Got it, thanks!

What about the original issue? Can you check for some GclId samples why 
they aren't returned in CLICK_PERFORMANCE_REPORT?

On Tuesday, July 25, 2017 at 11:45:31 AM UTC+3, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello,
>
> Sorry for making you wait for a long time.
> I've been confirmed that the *Clicks* field of ACCOUNT_PERFORMANCE_REPORT 
> returns the real number of clicks, whereas the *Clicks* field of 
> CLICK_PERFORMANCE_REPORT returns the number of *interactions.*
> So this can be largely different for non-Search campaigns, e.g., Shopping 
> campaigns, Display campaigns.
>
> If you compare the number of *valid* interactions + *invalid *interactions 
> columns in the UI with the *Clicks* field of CLICK_PERFORMANCE_REPORT, 
> you will see the numbers match.
>
> Best,
> Thanet, AdWords API Team
>
> On Thursday, June 15, 2017 at 7:08:45 PM UTC+9, di...@easyleads.com 
>  wrote:
>>
>> Checked performance of June 12.
>>
>> ACCOUNT_PERFORMANCE_REPORT returns Clicks=991, InvalidClicks=102.
>> CLICK_PERFORMANCE_REPORT returns 2306 unique GclIds for that day.
>>
>> How can it be?
>>
>> On Thursday, June 15, 2017 at 12:48:21 PM UTC+3, di...@easyleads.com 
>> wrote:
>>>
>>> Hi,
>>>
>>> I have 204 GclId of some account that brought a conversion yesterday. 
>>> Above 95% occurred during the last 5 days, but I was able to find only 40 
>>> (i.e. less than 20%) GclIds (by iteration CLICK_PERFORMANCE_REPORT day by 
>>> day for the last 90 days)..
>>>
>>> We save the click date and also have a script that can extract the 
>>> timestamp of some GclIds (the short ones), so we know exactly when the 
>>> click happened and it's simply not there (I also checked 
>>> CLICK_PERFORMANCE_REPORT manually for the day of the click, one day before 
>>> and one day after).
>>>
>>> What can be the reason?
>>>
>>> In another thread I saw that some clicks may be missing since they are 
>>> invalid, but here we're dealing with a converting clicks and it doesn't 
>>> make sense that 80% are invalid.
>>>
>>> Thanks
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bfc68e92-dd5b-4bee-baad-75c3765199f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Strange behavvior of RateExceededError.RATE_EXCEEDED

2017-07-25 Thread dima
Hi,

A week ago we migrated from v201609 to v201705 and since then our handler 
of RATE_EXCEEDED stopped working.

We followed the migrate guides of both v201702 and v201705 and didn't 
notice any remind of this change.

Our code that worked for a long time:
if(e instanceof ApiException){
for (ApiError error : ((ApiException)e).getErrors()) {
if (error instanceof RateExceededError) {
RateExceededError rateExceeded = (RateExceededError) error;
Thread.sleep(rateExceeded.getRetryAfterSeconds() * 1000);
}
}
}

Now it doesn't work because the relevant exception is an instance of 
DetailedReportDownloadResponseException and not ApiException
HTTP Response Code: 400, Type: RateExceededError.RATE_EXCEEDED 
at com.google.api.ads.adwords.lib.utils.v201705.
DetailedReportDownloadResponseException$Builder.build(
DetailedReportDownloadResponseException.java:35) 
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
handleResponse(AdHocReportDownloadHelperImpl.java:117) 
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.
downloadReport(AdHocReportDownloadHelperImpl.java:60) 
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.
handleInvocation(AdsUtilityInvocationHandler.java:46) 
at com.google.common.reflect.AbstractInvocationHandler.invoke(
AbstractInvocationHandler.java:84) 
at com.sun.proxy.$Proxy33.downloadReport(Unknown Source) 
at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.
downloadReport(AdHocReportDownloadHelper.java:46) 
at com.google.api.ads.adwords.lib.utils.v201705.ReportDownloader.
downloadReport(ReportDownloader.java:73) 

What are we missing?

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4dd0a995-65bd-44a1-9385-c2c17183360d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing GclIds in CLICK_PERFORMANCE_REPORT

2017-06-15 Thread dima
Checked performance of June 12.

ACCOUNT_PERFORMANCE_REPORT returns Clicks=991, InvalidClicks=102.
CLICK_PERFORMANCE_REPORT returns 2306 unique GclIds for that day.

How can it be?

On Thursday, June 15, 2017 at 12:48:21 PM UTC+3, di...@easyleads.com wrote:
>
> Hi,
>
> I have 204 GclId of some account that brought a conversion yesterday. 
> Above 95% occurred during the last 5 days, but I was able to find only 40 
> (i.e. less than 20%) GclIds (by iteration CLICK_PERFORMANCE_REPORT day by 
> day for the last 90 days)..
>
> We save the click date and also have a script that can extract the 
> timestamp of some GclIds (the short ones), so we know exactly when the 
> click happened and it's simply not there (I also checked 
> CLICK_PERFORMANCE_REPORT manually for the day of the click, one day before 
> and one day after).
>
> What can be the reason?
>
> In another thread I saw that some clicks may be missing since they are 
> invalid, but here we're dealing with a converting clicks and it doesn't 
> make sense that 80% are invalid.
>
> Thanks
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3422f1af-3482-4bff-ae9f-660bdbd5df97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing GclIds in CLICK_PERFORMANCE_REPORT

2017-06-15 Thread dima
Hi,

I have 204 GclId of some account that brought a conversion yesterday. Above 
95% occurred during the last 5 days, but I was able to find only 40 (i.e. 
less than 20%) GclIds (by iteration CLICK_PERFORMANCE_REPORT day by day for 
the last 90 days)..

We save the click date and also have a script that can extract the 
timestamp of some GclIds (the short ones), so we know exactly when the 
click happened and it's simply not there (I also checked 
CLICK_PERFORMANCE_REPORT manually for the day of the click, one day before 
and one day after).

What can be the reason?

In another thread I saw that some clicks may be missing since they are 
invalid, but here we're dealing with a converting clicks and it doesn't 
make sense that 80% are invalid.

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/68ebaa51-b5ef-4b92-a2d2-bfed78b522ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob runtime performance issue

2017-03-27 Thread dima
Thank you!

On Monday, March 27, 2017 at 9:47:21 PM UTC+3, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> The team has determined that the issues at this time were transient and 
> that everything should be going smoothly again now. I apologize for the 
> inconvenience.
>
> Please make a new thread if the slowdowns occur again so that we can 
> investigate!
>
> Regards,
> Mike, AdWords API Team
>
> On Monday, March 13, 2017 at 1:22:58 PM UTC-4, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> There are no particular performance guidelines or guarantees I can share 
>> with you. The team is currently looking into why the BatchJobService may be 
>> performing slower than expected, and I will let you know when I have any 
>> more information.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, March 13, 2017 at 12:02:57 PM UTC-4, di...@easyleads.com 
>>  wrote:
>>>
>>> Great.
>>>
>>> Is there "rule of thumb" on number of operations that is better to 
>>> execute directly via the service?
>>>
>>> Thank you!
>>>
>>> On Monday, March 13, 2017 at 5:55:18 PM UTC+2, Vishal Vinayak (Adwords 
>>> API Team) wrote:

 Hi,

 In case you need only a few operations per customer, you can send the 
 operations directly via the service (rather than using BatchJobService). 
 Meanwhile, I'll check with my team on why the performance has been slow 
 for 
 the last few weeks. Myself or someone from my team would get back to you 
 on 
 this thread. 

 Regards,
 Vishal, AdWords API Team

>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02812d89-469f-41ef-b577-b909a4c8a3f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-27 Thread dima
Yes,
this what I did in line:
_customerExtensionSettingService.RequestHeader.clientCustomerId = 
customerId;

the code snippet I posted is working example that I wrote,
I posted it here as an example if some one will look for solution

On Monday, March 27, 2017 at 9:03:10 AM UTC+3, Ivan Bautista wrote:
>
> Hi,
>
> As mentioned by my colleague earlier, to include the clientCustomerId in 
> the request header at runtime, you can programmatically set it by following 
> the instructions (refer to the section of the language you are using) 
> provided in this guide 
> 
> .
>
> For example, if you are using C# for development, then you may set 
> clientCustomerId programmatically using the Config property of the 
> AdWordsUser object. Please refer to the sample code below: 
>
> AdWordsUser user = new AdWordsUser(); 
> AdWordsAppConfig config = (AdWordsAppConfig) user.Config; 
>
> user.Config.clientCustomerId = "";
>
>
> Regards,
> Ivan
> AdWords API Team 
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ffd516ee-3bc2-4bdb-9860-c9994301c031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-26 Thread dima
Hi,
Thank you for assistance,
this is code snippet that I wrote for adding call out extension for account:

public CustomerExtensionSettingReturnValue 
SetAccountCallOutExtention(string customerId, string calloutText)
{
CustomerExtensionSettingService customerExtensionSettingService 
= 

(CustomerExtensionSettingService)AdwordsUser.GetService(AdWordsService.v201702.CustomerExtensionSettingService);
_customerExtensionSettingService.RequestHeader.clientCustomerId 
= customerId;
CustomerExtensionSetting customerExtensionSetting = new 
CustomerExtensionSetting
{
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem
{
calloutText = calloutText,
feedType = FeedType.CALLOUT
}
}
}
};

CustomerExtensionSettingOperation customerOperation = new 
CustomerExtensionSettingOperation()
{
operand = customerExtensionSetting,
@operator = Operator.ADD,
};

return customerExtensionSettingService.mutate(new[] { 
customerOperation });
}

On Thursday, March 23, 2017 at 8:24:09 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi, 
>
> You need to set the clientCustomerId in the request header 
> 
>  to 
> add an extension at the customer level using 
> CustomerExtensionSettingService 
> .
>  
> You will not be setting the customerId in the CustomerExtensionSetting 
> 
>  object. 
> You can programmatically set the clientCustomerId at runtime by following 
> the instructions provided here 
> 
>  for 
> your client library. 
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3fab1cd-8515-4578-8c46-7b7f5103e47b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-23 Thread dima
Hi,
the problem with CustomerExtensionSettingService 

  
that I can't find where customerId can be set ?
I need to set callout extension for specific customer and not for 
all ManagedCustomers under the same Manager adwords user
Can you assist ?

code spinet with using of CustomerExtensionSettingService 

:

CustomerExtensionSetting customerExtensionSetting = new 
CustomerExtensionSetting
{
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem
{
calloutText = "account level callout feed",
feedType = FeedType.CALLOUT
}
}
}
};

CustomerExtensionSettingOperation customerOperation = new 
CustomerExtensionSettingOperation()
{
operand = customerExtensionSetting,
@operator = Operator.ADD,
};

CustomerExtensionSettingService 
customerExtensionSettingService = 

(CustomerExtensionSettingService)AdwordsUser.GetService(AdWordsService.v201702.CampaignExtensionSettingService);

CustomerExtensionSettingReturnValue 
customerExtensionSettingReturnValue = 
customerExtensionSettingService.mutate(new[] { customerOperation });
 

On Tuesday, March 21, 2017 at 11:11:49 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi, 
>
> To create callout extensions at the account level, you'll need to use 
> CustomerExtensionSettingService 
> 
>  to 
> add CalloutFeedItem 
> s.
>  
> The code snippet provided here 
> 
>  shows 
> how to add a CalloutFeedItem at the Campaign level using 
> CampaignExtensionSettingService 
> .
>  
> You'll need to modify this to add a CalloutFeedItem the Customer level 
> instead. 
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa46fffb-f50c-4c12-b11f-90805e5b5b6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-21 Thread dima
Hi, 
Can you advise how to make callout extensions can be added on account level 
?

On Friday, January 13, 2017 at 12:33:32 AM UTC+2, Matthew Wawrin wrote:
>
> Hi,
>
> You can use the AdGroupExtensionSettingService similar to how the document 
> you reference uses the CampaignExtensionSettingService, but instead of 
> specifying a campaignId, you specify an adGroupId.
> See the reference:
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService
> and
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService.AdGroupExtensionSetting
>
> I don't believe there's example code specific to adGroupExtensionSetting, 
> but it's nearly identical to the campaign setting, but with adgroup 
> substituted for campaign.
>
> Hope this helps.  
>
> On Thursday, January 12, 2017 at 4:18:27 AM UTC-6, di...@algomizer.com 
> wrote:
>>
>> How can I create callout extensions as Ad group extension or/and Ad group 
>> extension
>>
>> I can create callout extensions in Campaign extension level according to 
>> example:
>>
>> https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions
>>
>> but I can't find how can it be created in Ad group extension or/and Ad 
>> group extension level
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dfa71c6d-48c4-4852-9050-af11c6832964%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout extensions: Ad group extension and Ad group extension

2017-03-21 Thread dima
Implementation according to your answer:

public AdGroupExtensionSettingReturnValue 
CreateAccountCalloutExtension(long adGroupId, string calloutText)
{
AdGroupExtensionSetting adGroupExtensionSetting = new 
AdGroupExtensionSetting
{
adGroupId = adGroupId,
extensionType = FeedType.CALLOUT,
extensionSetting = new ExtensionSetting()
{
extensions = new ExtensionFeedItem[]
{
new CalloutFeedItem() {calloutText = calloutText}
}
}
};


var operation = new AdGroupExtensionSettingOperation()
{
operand = adGroupExtensionSetting,
@operator = Operator.ADD
};

Logger.Instance.Info($"Attempting to create callout extension 
for AdGroup. text: {calloutText}");

return _adGroupExtensionSettingService.mutate(new[] { operation 
});
}

On Friday, January 13, 2017 at 12:33:32 AM UTC+2, Matthew Wawrin wrote:
>
> Hi,
>
> You can use the AdGroupExtensionSettingService similar to how the document 
> you reference uses the CampaignExtensionSettingService, but instead of 
> specifying a campaignId, you specify an adGroupId.
> See the reference:
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService
> and
>
> https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService.AdGroupExtensionSetting
>
> I don't believe there's example code specific to adGroupExtensionSetting, 
> but it's nearly identical to the campaign setting, but with adgroup 
> substituted for campaign.
>
> Hope this helps.  
>
> On Thursday, January 12, 2017 at 4:18:27 AM UTC-6, di...@algomizer.com 
> wrote:
>>
>> How can I create callout extensions as Ad group extension or/and Ad group 
>> extension
>>
>> I can create callout extensions in Campaign extension level according to 
>> example:
>>
>> https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions
>>
>> but I can't find how can it be created in Ad group extension or/and Ad 
>> group extension level
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee8d06a6-ced3-4150-9e31-c0f6ab9daeef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob runtime performance issue

2017-03-13 Thread dima
Great.

Is there "rule of thumb" on number of operations that is better to execute 
directly via the service?

Thank you!

On Monday, March 13, 2017 at 5:55:18 PM UTC+2, Vishal Vinayak (Adwords API 
Team) wrote:
>
> Hi,
>
> In case you need only a few operations per customer, you can send the 
> operations directly via the service (rather than using BatchJobService). 
> Meanwhile, I'll check with my team on why the performance has been slow for 
> the last few weeks. Myself or someone from my team would get back to you on 
> this thread. 
>
> Regards,
> Vishal, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b7fbe1b5-19c5-4239-9256-7f0acd8e9182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob runtime performance issue

2017-03-13 Thread dima
Hi,

I group operations of the same customer. The problem is that we manage 
hundreds of customers and as far as I know I can't group their operations 
in one job (because I can't specify multiple customers/credentials in the 
session).

But the real problem is that there is a severe degradation during past 
weeks. This logic runs for months and the problem began 2-3 weeks ago.

On Monday, March 13, 2017 at 4:31:04 PM UTC+2, Vishal Vinayak (Adwords API 
Team) wrote:
>
> Hi,
>
> Batch jobs usually do not take a long time to complete when there are only 
> a few operations in the request. However, fewer larger jobs are preferred 
> over many smaller jobs and you might have faced intermittent delays when 
> sending too many smaller jobs in a short interval of time. Could you please 
> check if some of these operations can be grouped in a single job? If there 
> are dependent operations, you can use temporary IDs to reference to the 
> result of an ADD operation that precedes a given operation. 
>
> Regards,
> Vishal, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d38fd4b8-f242-4aef-ac67-94a99d025a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob runtime performance issue

2017-03-12 Thread dima
Hi,

Sorry for the delay.

All jobs succeed, but some of them take a lot of time. These jobs are from 
last two hours (size is number of operations in job). I understand that due 
to sleep actual time may be less (for example 300 seconds instead of 500), 
but it's still seems for me too long.
job_id
size
duration (sec)
463701054
1
1088
463504394
1
1081
463506035
7
1078
463504838
3
1074
463499033
1
1063
463526266
3
1063
463501124
14
1054
463695663
3
1047
463695669
3
1047
463515697
5
1044
463689093
2
1026
463516076
3
562
463709946
2
556
463492631
3
552
463696620
1
546
463526995
2
543
463493558
1
528
463518640
3
526
463695759
4
523
463529416
4
513

Thanks

On Monday, March 6, 2017 at 8:38:06 PM UTC+2, Vishal Vinayak (Adwords API 
Team) wrote:
>
> Hi,
>
> The code that you shared looks correct. There might be an intermittent 
> issue with performance of the batch jobs which might have caused delays on 
> your side. Could you please confirm if you saw any batch job failures? If 
> you are still facing issues, please let me know and I would dig deeper into 
> this issue. Meanwhile, you can check out this Best Practices Guide 
> 
>  to 
> optimize your batch job.
>
> Regards,
> Vishal, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5d7e0412-a9a1-4133-893c-af90b334aaed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob runtime performance issue

2017-03-06 Thread dima
Another job, running right now:
Sleeping 2 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 4 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 8 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 16 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 32 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 64 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 128 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 256 seconds...
Batch job ID 455533540 has status 'ACTIVE'.
Sleeping 512 seconds...

On Monday, March 6, 2017 at 12:39:42 PM UTC+2, di...@easyleads.com wrote:
>
> Hi,
>
> Our software manages customers budgets and as result it performs a lot of 
> BudgetOperations, thus the performance is critical.
>
> I just had a job that updates budgets/delivery methods of 15 campaigns and 
> it took several minutes.
>
> Am I doing something wrong?
>
> Thanks
>
> Job ID is 455295008
>
> Output:
> Sleeping 2 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 4 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 8 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 16 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 32 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 64 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 128 seconds...
> Batch job ID 455295008 has status 'ACTIVE'.
> Sleeping 256 seconds...
> Batch job ID 455295008 has status 'DONE'.
>
> Code:
> BatchJobServiceInterface batchJobService = adwordsServices.get(session, 
> BatchJobServiceInterface.class);
> // Create a BatchJob.
> BatchJobOperation addOp = new BatchJobOperation();
> addOp.setOperator(Operator.ADD);
> addOp.setOperand(new BatchJob());
> BatchJob batchJob = batchJobService.mutate(new BatchJobOperation[] 
> {addOp}).getValue(0);
> // Get the upload URL from the new job.
> String uploadUrl = batchJob.getUploadUrl().getUrl();
>
> // Use a BatchJobHelper to upload all operations.
> BatchJobHelper batchJobHelper = new BatchJobHelper(session);
>
> batchJobHelper.uploadBatchJobOperations(operations, uploadUrl);
>
> List pendingStatuses = 
> Arrays.asList(BatchJobStatus.ACTIVE, BatchJobStatus.AWAITING_FILE);
> int pollAttempts = 0;
> boolean isPending = true;
> Selector selector = new SelectorBuilder().
> fields(BatchJobField.Id, BatchJobField.Status, BatchJobField.DownloadUrl, 
> BatchJobField.ProcessingErrors, BatchJobField.ProgressStats)
> .equalsId(batchJob.getId())
> .build();
> int initialWait = 2;
> if(operations.size() > 100){
> if(operations.size() < 200){
> initialWait = 4;
> }
> else if(operations.size() < 500){
> initialWait = 6;
> }
> else{
> initialWait = 10;
> }
> }
>
> do {
> long sleepSeconds = (long)(Math.scalb(initialWait, pollAttempts));
> System.out.printf("Sleeping %d seconds...%n", sleepSeconds);
> Thread.sleep(sleepSeconds * 1000);
>
> batchJob = batchJobService.get(selector).getEntries(0);
> System.out.printf("Batch job ID %d has status '%s'.%n", batchJob.getId(), 
> batchJob.getStatus());
>
> pollAttempts++;
> isPending = pendingStatuses.contains(batchJob.getStatus());
> } while (isPending && pollAttempts < 10);
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d55b4e60-0061-4be8-9f8e-a62a0af9629d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BatchJob runtime performance issue

2017-03-06 Thread dima
Hi,

Our software manages customers budgets and as result it performs a lot of 
BudgetOperations, thus the performance is critical.

I just had a job that updates budgets/delivery methods of 15 campaigns and 
it took several minutes.

Am I doing something wrong?

Thanks

Job ID is 455295008

Output:
Sleeping 2 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 4 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 8 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 16 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 32 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 64 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 128 seconds...
Batch job ID 455295008 has status 'ACTIVE'.
Sleeping 256 seconds...
Batch job ID 455295008 has status 'DONE'.

Code:
BatchJobServiceInterface batchJobService = adwordsServices.get(session, 
BatchJobServiceInterface.class);
// Create a BatchJob.
BatchJobOperation addOp = new BatchJobOperation();
addOp.setOperator(Operator.ADD);
addOp.setOperand(new BatchJob());
BatchJob batchJob = batchJobService.mutate(new BatchJobOperation[] 
{addOp}).getValue(0);
// Get the upload URL from the new job.
String uploadUrl = batchJob.getUploadUrl().getUrl();

// Use a BatchJobHelper to upload all operations.
BatchJobHelper batchJobHelper = new BatchJobHelper(session);

batchJobHelper.uploadBatchJobOperations(operations, uploadUrl);

List pendingStatuses = Arrays.asList(BatchJobStatus.ACTIVE, 
BatchJobStatus.AWAITING_FILE);
int pollAttempts = 0;
boolean isPending = true;
Selector selector = new SelectorBuilder().
fields(BatchJobField.Id, BatchJobField.Status, BatchJobField.DownloadUrl, 
BatchJobField.ProcessingErrors, BatchJobField.ProgressStats)
.equalsId(batchJob.getId())
.build();
int initialWait = 2;
if(operations.size() > 100){
if(operations.size() < 200){
initialWait = 4;
}
else if(operations.size() < 500){
initialWait = 6;
}
else{
initialWait = 10;
}
}

do {
long sleepSeconds = (long)(Math.scalb(initialWait, pollAttempts));
System.out.printf("Sleeping %d seconds...%n", sleepSeconds);
Thread.sleep(sleepSeconds * 1000);

batchJob = batchJobService.get(selector).getEntries(0);
System.out.printf("Batch job ID %d has status '%s'.%n", batchJob.getId(), 
batchJob.getStatus());

pollAttempts++;
isPending = pendingStatuses.contains(batchJob.getStatus());
} while (isPending && pollAttempts < 10);

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1e84f5b8-1be8-4281-ac2e-9a8bcf5ce272%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant error suddenly happening after 18 months of stable server side code

2017-02-23 Thread dima
Hi,

Just sent Sreelakshmi Sasidharan an example of http request that I ran 10 
times - 4 times got access token and 6 times the invalid grant error.

This is a critical issue for us, so in case Sreelakshmi isn't available now 
- please somebody check it.


On Thursday, February 23, 2017 at 11:23:36 PM UTC+2, PPC Developer wrote:
>
> Hi,
>
> This is perplexing...Our solution uses OAuth2 with refresh tokens and we 
> have multiple C# clients deployed on multiple machines running on windows, 
> managing our accounts MCC child accounts. 
>
> Suddenly, the clients all started having invalid_grant errors. This is a 
> pretty stable code that has been running for 18 months without any issues. 
> See below the error details. We're using .NET client library, 
> implementation with C#.
>
> Please let us know what the issue is with our access token?
>
>
>
> HRESULT -2146233088
> Failed to refresh access token.
> {
>   "error" : "invalid_grant"
> }
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/25397cc4-ff07-485a-9c38-24b99dd9fc48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant error suddenly happening after 18 months of stable server side code

2017-02-23 Thread dima
No, still fails from time to time.

Currently I have only phone, can send a request in several hours. I think there 
is an issue on your side.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/33bb9355-0a19-4539-9eee-60f8e56c7329%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant error suddenly happening after 18 months of stable server side code

2017-02-23 Thread dima
Same thing here.

A long running code stopped working several hours ago due to this error, but 
now it seems to work again. With the same refresh tokens.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b5a3d36-2319-4db7-b407-6a52faaa9d3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't update budget of App install campaign

2017-01-18 Thread dima
Hi,

In the past I remember we had issues updating a budget of Video campaigns, 
but it worked on App install campaigns. I'm mistaken?

The response I get:

-
-http://www.w3.org/2001/XMLSchema-instance;>
operations[0]
AdSubProductTypeGroup = MULTIPLE_MOBILE_APP
OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
OperationAccessDenied
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT



I googled this error and found this one:
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
Summary The attempted operation cannot be performed through the API.
Common causes Attempting to modify a campaign that was created using the 
AdWords 
Express .
Recommended handling tips Flag the campaign in your system as being 
read-only.
Prevention tips N/A
How can I verify whether this is the cause? And if so, what is the 
solution? I want to update budget via API, don't think that making this 
campaign read-only will solve the issue.

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/133ab3c5-0211-439a-a322-228f78321035%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Callout extensions: Ad group extension and Ad group extension

2017-01-12 Thread dima
How can I create callout extensions as Ad group extension or/and Ad group 
extension

I can create callout extensions in Campaign extension level according to 
example:
https://developers.google.com/adwords/api/docs/guides/extension-settings#callout_extensions

but I can't find how can it be created in Ad group extension or/and Ad 
group extension level

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6a1ea36f-2f12-48d6-b41c-a6c48967f9ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Geographical Targeting Language

2016-11-27 Thread dima
I would like to get list of all available geographical targets using API in 
specific language,
for example I would like to get list of geographical targets names 
or Canonical Name in Russian.
Can I do it ? and how

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8bdf4888-24bc-4e3a-a3d6-1156488cb817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unclear error message

2016-10-31 Thread dima
Hi,

By mistake I've requested SearchImpressionShare (just two fields are enough 
- Id, SearchImpressionShare)  in AD_PERFORMANCE_REPORT, which is not 
supported. The problem is that there is a bug in the error message, it 
doesn't display the problematic fields, while it works OK with other 
fields. Just FYI

HTTP Response Code: 400, FieldPath: Id, Trigger: Cannot select a 
combination of Id and , Type: 
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT
at 
com.google.api.ads.adwords.lib.utils.v201605.DetailedReportDownloadResponseException$Builder.build(DetailedReportDownloadResponseException.java:35)
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.handleResponse(AdHocReportDownloadHelperImpl.java:111)
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelperImpl.downloadReport(AdHocReportDownloadHelperImpl.java:55)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.handleInvocation(AdsUtilityInvocationHandler.java:46)
at 
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
at com.sun.proxy.$Proxy78.downloadReport(Unknown Source)
at 
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.downloadReport(AdHocReportDownloadHelper.java:49)
at 
com.google.api.ads.adwords.lib.utils.v201605.ReportDownloader.downloadReport(ReportDownloader.java:88)

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6815840f-856f-4522-86e2-9e28ad445202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Invalid XML

2016-10-19 Thread dima
Hi,

For several accounts I get a bad formatted XML, it happens only for one row 
(I think random) in the report.

I'm using v201605 and can't upgrade to later version since we still use 
Converted Clicks.
I'm downloading CAMPAIGN_PERFORMANCE_REPORT with the following columns:


















Result example:







This XML is invalid due to the 4th row:
Attribute name "searchLost.66" associated with an element type "row" must 
be followed by the ' = ' character

What is the problem? Known issue?

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f3e8a033-bd4d-43e1-891b-56627d92fb3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ACCOUNT_NOT_SET_UP

2016-09-04 Thread dima
Hi,

We asked our customer to allow us an access via the OAuth protocol. We do 
it successfully with many customers, but for this one it fails with 
CustomerError.ACCOUNT_NOT_SET_UP.

According to the documentation it means "CustomerService cannot get 

 an 
account that is not fully set up". What does it actually mean? Does the 
customer need to perform further steps to complete the set up?

Thanks

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [CustomerError.ACCOUNT_NOT_SET_UP @ ]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/mcm/v201605}ApiExceptionFault:[CustomerError.ACCOUNT_NOT_SET_UP
 
@ 
]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="CustomerError">CustomerError.ACCOUNT_NOT_SET_UPCustomerErrorACCOUNT_NOT_SET_UP

[CustomerError.ACCOUNT_NOT_SET_UP @ ]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201605.cm.ApiException.getDeserializer(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201605.mcm.CustomerServiceSoapBindingStub.get(CustomerServiceSoapBindingStub.java:572)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:248)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy58.get(Unknown Source)

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send 

Re: Mutate ad group mobile bid adjustment in a single request

2016-06-16 Thread dima
Thanks!

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/42c10fda-4762-473c-a31a-6f2ab2677880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Mutate ad group mobile bid adjustment in a single request

2016-06-15 Thread dima
Hi,

I can't find a way to update mobile bid adjustment of ad group in single 
mutate operation.

First of all I read the current bid adjustment using 
AdGroupBidModifierServiceInterface. I get a value which is defined on ad 
group level, and if it's undefined I get a value of campaign level. Don't 
see a way how to recognize on which level it's defined.

After that I want to update it using AdGroupBidModifierOperation. 

If I use operator SET and the modifier is not defined on the ad group level 
it will fail.

If I use operator ADD and the modifier is defined on the ad group level it 
will fail.

Hence, I use ADD operator, and if it fails I send the same request with SET 
operator.

I see 2 possible ways to solve it, but didn't find a way to do it in the 
API (java):

1. Somehow to recognize whether the current bid is defined for ad group or 
campaign (theoretically I can make an extra query to retrieve the relevant 
campaign's modifier and compare it, but in this way I don't save the extra 
call).

2. In the mutate operation somehow to force it to update the modifier if it 
exists or to add in case it doesn't. I.e, a combination of ADD and SET.

We have an automatic algorithm that finds optimal bids and bid adjustment, 
so we perform these operations a lot.

Any help will be much appreciated.

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6fff7a95-9566-4ac6-b3e1-0c5d88718d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create campaign with topics

2016-05-20 Thread dima
Hi,
Can You please write example that shows where I cat set: path = new[] 
{"Hobbies & Leisure", "Outdoors", "Hiking & Camping"};
I need an code example that shows how can I set adgroup topics through API

Thank You.

On Thursday, May 19, 2016 at 9:28:20 PM UTC+3, Peter Oliquino wrote:
>
> Hi,
>
> Unfortunately, Verticals have been deprecated and are no longer supported 
> in the API. As a workaround, you can use the Affinity 
> 
>  or In-Market 
> 
>  categories instead. 
>
> Please note that these criterion can only be excluded on the campaign 
> level. You can add them on the ad group level. Please see this chart 
>  as 
> a reference. You can add these using the AdGroupCriterionService 
> 
> .
>
> Regards,
> Peter
> AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ac674f68-c673-4ab7-91ac-298ab4878eb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Create campaign with topics

2016-05-19 Thread dima
how to create campaign with topics ?

when I am creating campaign like described:

https://developers.google.com/adwords/api/docs/first-request

I want to add topics:

Vertical vertical = new Vertical();
vertical.path = new[] {"Hobbies & Leisure", "Outdoors", "Hiking 
& Camping"};

where I should add vertical to campaign or how I can relate vertical to 
campaign and mutate this operation  ?


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/78a216f7-3e61-4b1f-a3f0-ed8434651a6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to include includeZeroImpressions in header

2016-04-17 Thread dima
According to adwords api new version includeZeroImpressions was removed:

"The includeZeroImpressions field in ReportDefinition is removed. Use the HTTP 
header 

 to 
include zero impressions in your report results instead."
so I can't use ReportDefinition object property "includeZeroImpressions" 
like this:

 ReportDefinition definition = new ReportDefinition();
.
definition.includeZeroImpressions = true;

ReportUtilities utilities = new ReportUtilities(AdwordsUser, "v201603", 
definition); 
 using (ReportResponse response = utilities.GetResponse())
{
read results .
 }
 and should add it to HTTP header 

.
Can any one provide an example how to do it ?

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1d245026-c286-4452-9611-b689fcf95d90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS

2016-04-03 Thread dima
Hi,

I'm getting some strange error when trying to update budgets. Can't find 
this error in the documentation and Google returns 0 search results...

What does it mean?

3 Apr 2016 19:06:39 GMTAxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [CampaignError.CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS @ 
operations[0].operand.budget.budgetId]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201603}ApiExceptionFault:[CampaignError.CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS
 
@ 
operations[0].operand.budget.budgetId]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="CampaignError">operations[0].operand.budget.budgetIdCampaignError.CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALSCampaignErrorUNKNOWN

[CampaignError.CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS @ 
operations[0].operand.budget.budgetId]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201603.cm.ApiException.getDeserializer(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201603.cm.CampaignServiceSoapBindingStub.mutate(CampaignServiceSoapBindingStub.java:1406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:230)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy28.mutate(Unknown Source)
Thanks


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To 

Failed to download batch job mutate response

2016-03-30 Thread dima
Hi,

Hi,

I have some issues with the new BatchJobMutate. Found similar issues, but 
with other reasons (e.g. 503 Service Unavailable).

My stack:
com.google.api.ads.adwords.lib.utils.BatchJobException: Failed to download 
batch job mutate response from URL: 
https://batch-job-download-prod-ebe9b43.storage.googleapis.com/XXX/YYY.results.xml?GoogleAccessId=AAA...
at 
com.google.api.ads.adwords.axis.utils.v201603.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:106)
Caused by: org.xml.sax.SAXParseException; lineNumber: 433; columnNumber: 
19; The element type "result" must be terminated by the matching end-tag 
"".
at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at 
com.google.api.ads.adwords.axis.utils.AxisDeserializer.deserializeBatchJobMutateResults(AxisDeserializer.java:126)
at 
com.google.api.ads.adwords.axis.utils.v201603.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:102)
... 7 more

If you need I will send the complete URL privately (it contains my 
refresh/developer token and other sensitive data).

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99c8dda7-a8ca-4b77-a4df-ff55b264c3c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reaching Time Lag and other Attribution reports

2016-03-21 Thread dima
Hi,

Can I reach Attribution reports (Time Lag, Path Length etc) via API (Java)? 
If not, are there any plans to support it?




Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dbcb8206-0cc9-4933-ad06-04767755aebe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Issues modifying targets bids adjustments for Display campaign

2016-02-22 Thread dima
Hi,

In the AdWords I'm able to set bid adjustments for Placements, Topics, 
Interests and Demographics - http://oi68.tinypic.com/33z2o12.jpg

But I can't figure out how to modify it via API. I didn't find an example, 
so I assumed that since all the targets are Criterions just like Mobile I 
can use the same code as for modifying mobile bid adjustment. But it fails.

For demographics (10 - Gender.Male, 503001 - AgeRange.18to24, 300 - 
ParentalStatus.Parent) it fails with CANNOT_BID_MODIFY_CRITERION_TYPE. For 
the rest (Placements, Topics, Interests) it fails 
with UNEXPECTED_INTERNAL_API_ERROR.

I'm using Java library v201509 (I know you released a new version recently).

Code:
Long adGroupId = ;
Long criterionId = 10;

AdWordsServices services = new AdWordsServices();
AdGroupBidModifierServiceInterface adGroupBidModifierService = 
services.get(adwordsSession, AdGroupBidModifierServiceInterface.class);

Criterion criterion = new  Criterion();
criterion.setId(criterionId);

AdGroupBidModifier modifier = new AdGroupBidModifier();
modifier.setAdGroupId(adGroupId);
modifier.setCriterion(criterion);
modifier.setBidModifier(2);

AdGroupBidModifierOperation operation = new AdGroupBidModifierOperation();
operation.setOperand(modifier);
operation.setOperator(Operator.SET);

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


What am I doing wrong and what is the correct way?

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/789f1773-400c-46c2-82a5-21b5e9a977b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Changing email shown in change history

2016-01-17 Thread dima
Hi,

We perform changes on behalf of other PPC person, who granted us a 
permission via OAuth protocol (using refresh and access tokens instead of 
our token), but in the Change History of the AdWords GUI our email is 
displayed.

Can we somehow force it to register the changes on the email of the person 
who has granted us a permission?

Code flow:

GoogleCredential credential = 
new GoogleCredential.Builder()
.setTransport(HTTP_TRANSPORT)
.setJsonFactory(JSON_FACTORY)
.setClientSecrets(IOauthConfiguration.CLIENT_ID, 
IOauthConfiguration.CLIENT_SECRET).build();
credential.setAccessToken(accessToken);
credential.setRefreshToken(refreshToken);

AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(credential)
.build();

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb161fa7-4b06-45b9-bbd6-0428207e1084%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance issue with ACCOUNT_PERFORMANCE_REPORT

2016-01-09 Thread dima
Just to let you know - since yesterday the original query started to 
perform like before, 3-4 seconds instead of 40-50 seconds during 
Wednesday-Thursday. 

On Wednesday, January 6, 2016 at 9:59:14 AM UTC+2, di...@easyleads.com 
wrote:
>
> Hi,
>
> We encounter a heavy performance issue with ACCOUNT_PERFORMANCE_REPORT on 
> one of our accounts. 
>
> We understand that the query isn't the simplest in terms of complexity, 
> but the response time is reasonable for several hundreds of accounts we 
> tested.
>
> Query 1 (last year): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20150101, 
> 20151231
> Result on the problematic account: 1095 rows retrieved in 21.8 seconds (
> *21.164* seconds spent on the google api call)
> Result on one of other accounts: 1095 rows retrieved in 3.49 seconds (
> *2.79* seconds spent on the google api call)
>
> Query 2 (all time): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
> 20160106
> Result on the problematic account: 5436 rows retrieved in 42.204 seconds (
> *40.967* seconds spent on the google api call)
> Result on one of other accounts: 11013 rows retrieved in 6.543 seconds (
> *4.604* seconds spent on the google api call)
>
> What could be the reason?
>
> Thanks
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/731db1d9-d78b-49b0-b82b-bbd3571e65be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance issue with ACCOUNT_PERFORMANCE_REPORT

2016-01-07 Thread dima
After some investigation we've figured out that the degradation is caused 
by competitive metrics.

Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
ConvertedClicks, AveragePosition FROM ACCOUNT_PERFORMANCE_REPORT DURING 
20001101, 20160106
5333 rows retrieved in 4.56 seconds (3.539 seconds spent on the google api 
call).

Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
ConvertedClicks, AveragePosition, SearchImpressionShare FROM 
ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 20160106
5439 rows retrieved in 36.01 seconds (34.729 seconds spent on the google 
api call).

Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
ConvertedClicks, AveragePosition, SearchImpressionShare, 
ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
20160106 
5439 rows retrieved in 51.798 seconds (50.568 seconds spent on the google 
api call).

Note that the last two queries return more rows, this is because querying 
these fields causes the report to include zero impressions. Adding 
Impressions>0 condition reduces the number of rows, but doesn't improve the 
performance.

Are there any known performance issues with these metrics? If so - are you 
going to fix it?

Thanks.



On Thursday, January 7, 2016 at 12:09:27 AM UTC+2, Nadine Sundquist 
(AdWords API Team) wrote:
>
> Hi Assaf,
>
> I haven't heard of any issues with reporting currently. If you find that 
> this issue is persisting, please click *Reply privately to author* in the 
> forum, and send me one customer ID where your are having problems and one 
> customer ID where you aren't having problems. That way I can try 
> reproducing it from my end. Once I catch it in the act, it'll be a lot 
> easier for me to find the source of the issue.
>
> Thanks,
> Nadine, AdWords API Team 
>
> On Wednesday, January 6, 2016 at 11:21:39 AM UTC-5, Assaf Frank wrote:
>>
>> I would like to add that these reports* ran OK up to a couple of days 
>> ago.*
>> Now the same reports seem to be taking too much time so we get an 
>> exception - com.google.api.ads.adwords.lib.utils.ReportException: 
>> Problem sending data to report download server
>>
>> Is there currently an issue with the reporting on large accounts causing 
>> the report to fail?
>>
>> Thanks.
>>
>> On Wednesday, January 6, 2016 at 9:59:14 AM UTC+2, di...@easyleads.com 
>> wrote:
>>>
>>> Hi,
>>>
>>> We encounter a heavy performance issue with ACCOUNT_PERFORMANCE_REPORT 
>>> on one of our accounts. 
>>>
>>> We understand that the query isn't the simplest in terms of complexity, 
>>> but the response time is reasonable for several hundreds of accounts we 
>>> tested.
>>>
>>> Query 1 (last year): SELECT Device, AdNetworkType1, Date, Impressions, 
>>> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
>>> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20150101, 
>>> 20151231
>>> Result on the problematic account: 1095 rows retrieved in 21.8 seconds (
>>> *21.164* seconds spent on the google api call)
>>> Result on one of other accounts: 1095 rows retrieved in 3.49 seconds (
>>> *2.79* seconds spent on the google api call)
>>>
>>> Query 2 (all time): SELECT Device, AdNetworkType1, Date, Impressions, 
>>> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
>>> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
>>> 20160106
>>> Result on the problematic account: 5436 rows retrieved in 42.204 
>>> seconds (*40.967* seconds spent on the google api call)
>>> Result on one of other accounts: 11013 rows retrieved in 6.543 seconds (
>>> *4.604* seconds spent on the google api call)
>>>
>>> What could be the reason?
>>>
>>> Thanks
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c1c5-8fd2-4201-9945-8c1f4f0ceca7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance issue with ACCOUNT_PERFORMANCE_REPORT

2016-01-07 Thread dima
The during condition is a workaround for all time, since AWQL requires to 
specify a during period (otherwise an error 
QueryError.DATE_COLUMN_REQUIRES_DURING_CLAUSE 
is thrown) we specify there a range since AdWords exists till today.

We are expecting to get "--" in the competitive metrics before 2012 like in 
all the other cases when this data isn't available (SearchIS for account 
with only Display Network campaigns and vice versa, or data for the current 
day and the day before).

We didn't want to split the reports to different periods, e.g. 2000-2011 
and 2012-today from performance considerations, but apparently we will do 
it now.

Thank you

On Thursday, January 7, 2016 at 4:14:06 PM UTC+2, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Assaf,
>
> I think you should fix your query to run it for a shorter date period. You 
> are requesting 16(?!!) years worth of data for SearchImpressionShare and 
> ContentImpressionShare segmented by date. I wonder what meaningful stats 
> you hope to pull from it given that Google only started providing 
> Search/Content ImpressionShare in 2012 
> 
> .
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, January 7, 2016 at 8:51:05 AM UTC-5, di...@easyleads.com 
>  wrote:
>>
>> After some investigation we've figured out that the degradation is caused 
>> by competitive metrics.
>>
>> Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
>> ConvertedClicks, AveragePosition FROM ACCOUNT_PERFORMANCE_REPORT DURING 
>> 20001101, 20160106
>> 5333 rows retrieved in 4.56 seconds (3.539 seconds spent on the google 
>> api call).
>>
>> Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
>> ConvertedClicks, AveragePosition, SearchImpressionShare FROM 
>> ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 20160106
>> 5439 rows retrieved in 36.01 seconds (34.729 seconds spent on the google 
>> api call).
>>
>> Query: SELECT Device, AdNetworkType1, Date, Impressions, Clicks, Cost, 
>> ConvertedClicks, AveragePosition, SearchImpressionShare, 
>> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
>> 20160106 
>> 5439 rows retrieved in 51.798 seconds (50.568 seconds spent on the google 
>> api call).
>>
>> Note that the last two queries return more rows, this is because querying 
>> these fields causes the report to include zero impressions. Adding 
>> Impressions>0 condition reduces the number of rows, but doesn't improve the 
>> performance.
>>
>> Are there any known performance issues with these metrics? If so - are 
>> you going to fix it?
>>
>> Thanks.
>>
>>
>>
>> On Thursday, January 7, 2016 at 12:09:27 AM UTC+2, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hi Assaf,
>>>
>>> I haven't heard of any issues with reporting currently. If you find that 
>>> this issue is persisting, please click *Reply privately to author* in 
>>> the forum, and send me one customer ID where your are having problems and 
>>> one customer ID where you aren't having problems. That way I can try 
>>> reproducing it from my end. Once I catch it in the act, it'll be a lot 
>>> easier for me to find the source of the issue.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team 
>>>
>>> On Wednesday, January 6, 2016 at 11:21:39 AM UTC-5, Assaf Frank wrote:

 I would like to add that these reports* ran OK up to a couple of days 
 ago.*
 Now the same reports seem to be taking too much time so we get an 
 exception - com.google.api.ads.adwords.lib.utils.ReportException: 
 Problem sending data to report download server

 Is there currently an issue with the reporting on large accounts 
 causing the report to fail?

 Thanks.

 On Wednesday, January 6, 2016 at 9:59:14 AM UTC+2, di...@easyleads.com 
 wrote:
>
> Hi,
>
> We encounter a heavy performance issue with ACCOUNT_PERFORMANCE_REPORT 
> on one of our accounts. 
>
> We understand that the query isn't the simplest in terms of 
> complexity, but the response time is reasonable for several hundreds of 
> accounts we tested.
>
> Query 1 (last year): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20150101, 
> 20151231
> Result on the problematic account: 1095 rows retrieved in 21.8 
> seconds (*21.164* seconds spent on the google api call)
> Result on one of other accounts: 1095 rows retrieved in 3.49 seconds (
> *2.79* seconds spent on the google api call)
>
> Query 2 (all time): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
> 20160106
> Result on the problematic 

Performance issue with ACCOUNT_PERFORMANCE_REPORT

2016-01-05 Thread dima
Hi,

We encounter a heavy performance issue with ACCOUNT_PERFORMANCE_REPORT on 
one of our accounts. 

We understand that the query isn't the simplest in terms of complexity, but 
the response time is reasonable for several hundreds of accounts we tested.

Query 1 (last year): SELECT Device, AdNetworkType1, Date, Impressions, 
Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20150101, 
20151231
Result on the problematic account: 1095 rows retrieved in 21.8 seconds (
*21.164* seconds spent on the google api call)
Result on one of other accounts: 1095 rows retrieved in 3.49 seconds (*2.79* 
seconds spent on the google api call)

Query 2 (all time): SELECT Device, AdNetworkType1, Date, Impressions, 
Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
20160106
Result on the problematic account: 5436 rows retrieved in 42.204 seconds (
*40.967* seconds spent on the google api call)
Result on one of other accounts: 11013 rows retrieved in 6.543 seconds (
*4.604* seconds spent on the google api call)

What could be the reason?

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5a3424a7-aba7-4938-8461-94060285dc04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Converted Clicks are missing in Final Url Report

2015-12-10 Thread dima
Great, thank you.

On Wednesday, December 9, 2015 at 9:38:56 PM UTC+2, Anthony Madrigal wrote:
>
> Hi,
>
> Thanks for your concern. Fortunately, this a request that we are working 
> on and it should be available in a future version of AdWords API.
>
> Cheers,
> Anthony
> AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/22bdd699-c039-4db4-bfa8-c2ce63464ef4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Converted Clicks are missing in Final Url Report

2015-12-09 Thread dima
Hi,

We would like to get Converted Clicks in Final Url Report, but it's missing 
there. In general, I think you have some kind of inconsistency here.

Display URL: both in API and Adwords GUI (Dimensions -> Destination URL) 
you can get Conversions and Converted clicks metrics.
Final URL: in API we can get Conversions, while in the Adwords GUI the 
whole Conversions section (left column of Modify columns widget) is missing.

So in general we have two questions:
1. Why can't we get Converted Clicks in Final Url Report?
2. Why Conversion metrics for Final URL are missing completely in the GUI?

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/529ef15b-cf37-457a-b069-7d7b04024edb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API calls fail with 403 error

2015-12-07 Thread dima
Thanks, we "fixed" it. The server location was mistakenly identified as Syria 
(we've seen it in Google Maps), while it's located in Tel-Aviv. We changed the 
ip and now it's working.

Thank you again.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4607e60e-a61f-4697-aefb-dbafa2d0a6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API calls fail with 403 error

2015-12-05 Thread dima
Well, now I see that it's probably not an Adwords issue. I can't log in 
into Gmail as well

Unable to sign in from this country

You appear to be signing in from a country where Google Apps accounts are 
not supported.


The server is located in Israel and it never had any restrictions. We have 
several another servers in the same data center and everything works fine.


Who can help us with this? We're loosing money and customers, any help 
would be really appreciated.


Thanks

On Saturday, December 5, 2015 at 4:52:56 PM UTC+2, di...@easyleads.com 
wrote:
>
> Hi,
>
> All our requests fail with 403 error.
>
> *403.* That’s an error.
>
> Your client does not have permission to get URL / from this server. That’s 
> all we know.
>
>
> We can't even get to adwords.google.com. Is it some kind of block? How 
> can we check it?
>
>
> Thanks
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d7338ed2-1257-426f-9cbf-4ee5b619d031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API calls fail with 403 error

2015-12-05 Thread dima
Hi,

All our requests fail with 403 error.

*403.* That’s an error.

Your client does not have permission to get URL / from this server. That’s 
all we know.


We can't even get to adwords.google.com. Is it some kind of block? How can 
we check it?


Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a9b2118-f6f3-4acd-a3f0-6a9f8684db83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem getting Label name

2015-12-03 Thread dima
Thanks.

Stupid mistake of mine.

On Wednesday, December 2, 2015 at 11:55:54 PM UTC+2, Anthony Madrigal wrote:
>
> Hi,
>
> When using the SelectorBuilder, each time you use *.fields, *it overrides 
> the previous one, so in your case the Id is overriding the Name field. Some 
> fields, such as *Status, *are returned whether you select them or not, 
> which explains why Id and Status get returned.
>
> In order to fix your issue, change your selector to the following:
> Selector selector = new SelectorBuilder()
>  .fields(LabelField.LabelName,LabelField.LabelId,LabelField.LabelStatus)
>  .build();
>
> Cheers,
> Anthony
> AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5db929cf-43d3-47f6-b6d6-10c4476ed1e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem getting Label name

2015-12-02 Thread dima
Hi,

I can't get LabelName, it's returned as null. I'm using java library v201509

LabelServiceInterface labelService = adWordsServices.get(adwordsSession, 
LabelServiceInterface.class);

Selector selector = new SelectorBuilder()
.fields(LabelField.LabelName)
.fields(LabelField.LabelId)
.fields(LabelField.LabelStatus)
.build();

LabelPage page = labelService.get(selector);
if (page.getEntries() != null) {
for (Label label : page.getEntries()) {
System.out.println("Label id " + label.getId() + ", label name " + 
label.getName() + ", label status " + label.getStatus());
}
}

I'm getting id and status, but name is null. If I add 
LabelField.LabelAttribute to the selector then also then status becomes 
null.

Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/490046fc-72fe-44f3-89ad-937fa13608fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UAC (Universal app campaigns) support in the API

2015-10-28 Thread dima
Hi,

Some of our clients started creating UAC campaigns and we can't seem to 
retrieve performance data about those using the ADGROUP_PERFORMANCE_REPORT 
adhoc report.
Is there official support planned for this in the API? could you share any 
ETA?

Thanks!

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/515e70bd-0a1c-4827-81f2-4e2d7943f7e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I update Managed Customer name with api ?

2015-08-25 Thread dima
Ok, Thank You.

On Tuesday, August 25, 2015 at 6:46:27 PM UTC+3, Umesh Dengale wrote:

 Hello,

 Yes, you are correct.The ManagedCustomerService 
 https://developers.google.com/adwords/api/docs/reference/v201506/ManagedCustomerService
  support 
 only Add operator. The AdWords API does not support updating Managed 
 Customer name.

 Thanks,
 Umesh, AdWords API Team.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/af518bc9-385d-4455-a9d6-a4668b8d9782%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I update Managed Customer name with api ?

2015-08-25 Thread dima
According to  ManagedCustomerService 
https://developers.google.com/adwords/api/docs/reference/v201506/ManagedCustomerService
 documentation 
mutate only supports ADD operator,
so how can update exist customer ?
(I tried to mutate this SET operator but got error)

this example of code I run:

ManagedCustomerService _managedCustomerService 
= 
(ManagedCustomerService)_adwordsUser.GetService(AdWordsService.v201502.ManagedCustomerService);
ManagedCustomer customer = new ManagedCustomer();
customer.name = customerNewName;
customer.customerId = customerId;

ManagedCustomerOperation operation = new ManagedCustomerOperation();
operation.operand = customer;
operation.@operator = Operator.SET;

ManagedCustomerOperation[] operations = new ManagedCustomerOperation[] { 
operation };
ManagedCustomerReturnValue result = 
_managedCustomerService.mutate(operations);


On Monday, August 24, 2015 at 10:51:09 PM UTC+3, Umesh Dengale wrote:

 Hello,

 You could use the ManagedCustomerService 
 https://developers.google.com/adwords/api/docs/reference/v201506/ManagedCustomerService
  to 
 update the ManagedCustomer.name 
 https://developers.google.com/adwords/api/docs/reference/v201506/ManagedCustomerService.ManagedCustomer#name
 .

 Thanks,
 Umesh, AdWords API Team.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0407923-f4bc-4240-9d25-b5bdcfc865ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How can I update Managed Customer name with api ?

2015-08-23 Thread dima
How can I  update Managed Customer name with api ?

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3d00b6ee-2036-4489-961b-136bbfb06e77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Some keywords with zero impressions are missing in KEYWORDS_PERFORMANCE_REPORT

2015-07-10 Thread dima
Hi,

We run the following AWQL to get a relevant keywords statistics for 
specific day (May 10th in this example):
SELECT Id, AdNetworkType1, Status, Device, CampaignId, 
CampaignName,CampaignStatus, AdGroupId,AdGroupName,AdGroupStatus, 
KeywordText, Impressions, Ctr, CpcBid, ConversionRateManyPerClick, 
AveragePosition, Clicks, Cost, SearchRankLostImpressionShare, 
SearchImpressionShare, QualityScore, ConversionsManyPerClick FROM 
KEYWORDS_PERFORMANCE_REPORT WHERE AdNetworkType1=SEARCH DURING 
20150510,20150510

We've noticed that some keywords are missing in reports for some days, 
while appear in other days even with impressions=0. Any idea why it's 
happening?

1. As far as we know relevant campaign/adgroup/keyword were active on that 
days.
2. We don't include fields that implicitly filter zero impressions (
ClickType, ConversionCategoryName, ConversionTrackerId, ConversionTypeName). 
And we see another keywords with zero impressions.

This is a critical issue for us since the reports we generate behave 
differently for zero impressions and inactive items.
 
Any help would be greatly appreciated.

Thanks

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9b0804b4-6464-4e60-817f-8d9e6b359529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ad-Words API - ad extention link for mobile

2015-06-08 Thread dima


During adding site links to campaign feed, I would like to set device 
preference for mobile to be checked. How can I do it with ad words API ?


*platformOperand.stringValue = Mobile;//it also can be set for Desktop*


I tried to do it like this:

ConstantOperand platformOperand = new ConstantOperand();
platformOperand.stringValue = Mobile;//it also can be set for Desktop
platformOperand.type = ConstantOperandConstantType.STRING;
Function platformFunction = new Function();platformFunction.lhsOperand 
= new FunctionArgumentOperand[] { platformRequestContextOperand };
platformFunction.@operator = FunctionOperator.EQUALS;
platformFunction.rhsOperand = new FunctionArgumentOperand[] { 
platformOperand };


and then it combined in function with links ids from google service and 
mutated for campaign feed service. No exception and link added but when I 
enter to link edit, Mobile option remain unmarked. 

Please advise.

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0b0d048-ce0a-4911-b765-54b809a7180f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Suggested bid from the Keyword Planner

2015-05-17 Thread Dima Bikov
Hi Raghavendra,

Thank you for response. Unfortunately, as far as I can observe, non of the 
services you mentioned returns a suggested bid for a keyword.
If I'm wrong, could you please point me exactly in the direction of the 
relevant documentation?

I went through the Estimating Traffic guide 
https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service,
 
and this information is nowhere to be seen.

On Tuesday, May 12, 2015 at 12:36:13 AM UTC+3, Raghavendra Soudala (AdWords 
API Team) wrote:

 Hi Bikov,

 You can use any one of the below services to get suggested bid value for a 
 keyword using AdWords API.

- DataService 

 https://developers.google.com/adwords/api/docs/reference/v201502/DataService
- TargetingIdeaService 

 https://developers.google.com/adwords/api/docs/reference/v201502/TargetingIdeaService
  - see 
the Generating Targeting Ideas guide 

 https://developers.google.com/adwords/api/docs/guides/targeting-idea-service
- TrafficEsimatorService 

 https://developers.google.com/adwords/api/docs/reference/v201502/TrafficEstimatorService
 - see the Estimating Traffic guide 

 https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service


 Cheers,
 Raghavendra, AdWords API Team.

 On Saturday, May 9, 2015 at 7:54:34 AM UTC-4, Dima Bikov wrote:

 Hi,

 I see you can use the Keyword Planner UI to get a *suggested bid* for a 
 certain keyword (see here 
 https://support.google.com/adwords/answer/3022575?hl=en).

 Is there a way to get the same information programmatically using the 
 Adwords API? 

 I was thinking about the Traffic Estimator Service, but it doesn't seem 
 to return this information for a keyword estimate request. 



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f37eadc-017b-4dd9-a9b6-b3a3484246fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Suggested bid from the Keyword Planner

2015-05-09 Thread Dima Bikov
Hi,

I see you can use the Keyword Planner UI to get a *suggested bid* for a 
certain keyword (see here 
https://support.google.com/adwords/answer/3022575?hl=en).

Is there a way to get the same information programmatically using the 
Adwords API? 

I was thinking about the Traffic Estimator Service, but it doesn't seem to 
return this information for a keyword estimate request. 

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/791dd8da-a4cb-4fba-894d-ce9d70378d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Segmenting campaign performance by OPERATING_SYSTEM_VERSION

2015-04-16 Thread dima
Thanks Josh!

So if I'm understanding correctly your'e saying there is no API/Report 
which exposes campaign performance segmented by operating system?
Surely you have this info on your side since you have the user-agent (and 
other identifiers) of each impression, is there a plan to expose this 
information via the api? is there another way to get it?
This piece of data would help me greatly for my reports.

Cheers!

On Wednesday, April 15, 2015 at 11:20:42 PM UTC+3, Josh Radcliff (AdWords 
API Team) wrote:

 Hi,

 In both API reports and the AdWords user interface, device segmentation is 
 limited to the *Device* enums DESKTOP, HIGH_END_MOBILE, and TABLET. The 
 OPERATING_SYSTEM_VERSION *CriteriaType* is for the case where you have 
 specifically added OperatingSystemVersion 
 https://developers.google.com/adwords/api/docs/reference/v201502/CampaignCriterionService.OperatingSystemVersion
  criteria 
 to your campaign.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, April 15, 2015 at 10:20:37 AM UTC-4, di...@singular.net 
 wrote:

 Hi,

 I'm using the CAMPAIGN_PERFORMANCE_REPORT adhoc report and I'd like to 
 get campaign stats segmented by the OS (eg. Android or iOS), I can segment 
 by Device but that I need more granularity. Is there a way to achieve that?
 I've tried querying the CRITERIA_PERFORMANCE_REPORT report and looking 
 for the OPERATING_SYSTEM_VERSION but the accounts I'm looking at don't seem 
 to have any such criteria...

 Thanks!



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eb1e1e01-947f-4888-839a-b14f520f2965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Segmenting campaign performance by OPERATING_SYSTEM_VERSION

2015-04-15 Thread dima
Hi,

I'm using the CAMPAIGN_PERFORMANCE_REPORT adhoc report and I'd like to get 
campaign stats segmented by the OS (eg. Android or iOS), I can segment by 
Device but that I need more granularity. Is there a way to achieve that?
I've tried querying the CRITERIA_PERFORMANCE_REPORT report and looking for 
the OPERATING_SYSTEM_VERSION but the accounts I'm looking at don't seem to 
have any such criteria...

Thanks!

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/438f993f-7c78-40ab-8abf-c9e9dd220f54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Traffic Estimator question

2015-04-14 Thread Dima Bikov
I'm trying to use the traffic estimator in order to get estimations for 
various keywords' average CPC.

I've noticed that I get different results in the following cases:


   1. If I create a keyword estimate request with a single keyword, say 
   keyword a, and then an ad group estimate request, campaign estimate 
   request, and send the request, I get some result for the average CPC of 
   a, say x average CPC.
   
   2. On the other hand, if I create a keyword estimate request with more 
   than one keyword, say with a and b, and complete the process, I get a 
   different result for the average CPC of a that is not x.
   
   
Why Is that happening? Could it be because I'm currently sending requests 
to a test account using a developer token that is in pending status?

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3390a53-e550-486b-a847-5665271d8159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenicationError.NOT_ADS_USER - but only for single report type.

2015-03-09 Thread dima
Hi,

We also started experiencing this issue a few days ago for all of our 
clients, please fix this.
Meanwhile, is there an alternative geo report that can be pulled that can 
be used to breakdown campaign performance per country?

On Saturday, March 7, 2015 at 7:24:03 PM UTC+2, Alex Jones wrote:

 We are experiencing issues with requesting a Geography Report from the 
 API. Strangely, we use the same code to process all of our other reports, 
 which completed successfully both before and after the failing Geography 
 Report. We've waited several hours and then requested the report again, to 
 no avail. I'm hoping you have some insight into this issue. This is the 
 same production code we've been executing for some time now with no issues, 
 and configurations have not been altered recently either. We rely on this 
 data, and not having it available is very inconvenient for us. We'd 
 appreciate any help you can provide. 


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a0cd5668-413f-43a3-be89-768de7d800ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


get Campaign Total Cost (PHP)

2014-12-09 Thread Dima Taras
Hi!
I have just putted the API to my server and it returns nothing. Like just a 
blank page although I think I should fill some auth info (but I didn't)

I need  to get just total cost of a campaign by id (or anything I could get 
from adwords dashboard)

Is there any simple way to do this like run some http request and get it. 
It seems not wise to have installed big library for getting one number


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b183937-1f3b-4366-8cfd-3025947b086b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.