Re: AdNetworkType1 and AdNetworkType2 returning empty results in CAMPAIGN_PERFORMANCE_REPORT

2016-10-26 Thread 'Joyce Lava' via AdWords API Forum
Hello Carl,

To better check the issue, could you send to me (*reply privately to author*) 
the report definition 

 and request headers 

 that 
returned the data successfully and that of which returned empty results?

Thanks,
Joyce, 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/bddcb7c1-d68e-4cab-bda0-f4d62caac007%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdNetworkType1 and AdNetworkType2 returning empty results in CAMPAIGN_PERFORMANCE_REPORT

2016-10-26 Thread carl . adermann
Hi,

I was using the CAMPAIGN_PERFORMANCE_REPORT to pull campaign ids and their 
names. 

I added the fields AdNetworkType1 and AdNetworkType2 to my select statement.

For one Adwords account it successfully returns correct data, but for 
another it's returning empty results. If I remove the AdNetworkType fields, 
both accounts will successfully return data.

I'm just wondering if there was a reason for this. I can't see why both 
accounts wouldn't return data.

api version: v201607

Warm regards,

Carl Adermann

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1bd3502c-7118-4318-8277-9d6b078e72c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need clarification about account timezones and DST in report data

2016-10-26 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Florian,

AccountTimeZoneId in various reports returns the time zone that was 
specified when the account was created. This does not take into account any 
daylight savings related adjustments. Any such adjustments would need to be 
done manually in your code.

Also, reporting metrics are not real-time. There is a certain lag between 
the occurrence of an event and the event data being available via the 
AdWords web interface / API. For more details, please refer to this guide 
.

Hope this helps. Please revert in case you have additional questions.

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/14fedce7-130f-4544-88c8-b8318c36de32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка поулчения access token

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

I'm afraid I can only respond in English. Refresh tokens can sometimes 
become invalid as well. There is a maximum of 50 refresh tokens that can be 
valid at a time. If you generate a refresh token for the 51st time, the 1st 
refresh token becomes invalid. Refresh tokens can also be manually revoked. 
I would suggest that you generate a new refresh token and use this to get 
an access token by following the instructions provided here 

. 

Let me know if this works.

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/568af0a8-992d-4f79-9f00-14580e0ba04d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Targeting Idea Service - Is there an option to hide keywords in my account (similar to Keyword Planner)

2016-10-26 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Tom,

URL seed input would return you a list of all keywords that match the 
specified URL. To exclude keywords that already exist in your account, the 
only thing that I can think of is IdeaTextFilterSearchParameter 
,
 
which can be used to specify the keywords that you would want to exclude 
from your suggested ideas list (up to a maximum of 200 keywords). However, 
you would have to manually extract the keywords from your account and add 
the keywords to your request. 

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/aa40a5d5-60da-4082-a6b4-c4e3936fa8c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Customer Id using Access token for Non-MCC account

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Alfie,

If you have the OAuth2 credentials associated with a client account 
(non-MCC account), you can use CustomerService.getCustomers() 

 method 
to retrieve the details of the Customer. You need to use the same method to 
first get the clientCustomerId of the manager account using the manager 
account's OAuth2 credentials and then use this in the request to 
ManagedCustomerService 

 to 
get a list of the client accounts under this manager account. The 
get_account_hierarchy.rb 

 example 
demonstrates how to use ManagedCustomerService to retrieve the account 
hierarchy under a manager account. 

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/01f71fb4-e98b-448c-b9cc-f84f0ba3b6d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Targeting Idea Service - Is there an option to hide keywords in my account (similar to Keyword Planner)

2016-10-26 Thread Tom Bulis
Hi Vishal,

Thanks. Yes, we are using the TargetingIdeaService to retrieve ideas.  Our 
seed input is a target website (URL).  

I'm guessing a URL seed input wont hide keywords already in the account 
either (similar to a random phrase).  Is this correct? 


On Tuesday, October 25, 2016 at 4:05:35 PM UTC-5, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Tom,
>
> Could you please let me know if you are using the TargetingIdeaService to 
> retrieve ideas? Also, what seed input did you use (ad group, keyword etc.)? 
> If you happen to have the SOAP XML request and response logs for the API 
> call, that can help me understand the issue better. 
>
> Ideally, if you use an ad group as the seed input, you should not see the 
> keywords that are already available in your ad group. However, if you use a 
> random phrase as the seed, you may see some keywords in the response that 
> may already exist in one of your campaigns/ad groups. 
>
> Regards,
> Vishal Vinayak, 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/8fd1f874-3813-466e-8344-29e49c01839d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка поулчения access token

2016-10-26 Thread Kio Mat
Все работало еще пару недель назад. Все настроено. Просто в один момент 
перестало работать.

среда, 26 октября 2016 г., 19:41:34 UTC+3 пользователь Shwetha Vastrad 
(AdWords API Team) написал:
>
> Hi,
>
> This error normally happens if you missed something in the configuration 
> of OAuth2 credentials or refresh token. Could you please confirm if you 
> followed this guide 
>  to 
> generate your credentials and which app type have you configured? Also, 
> please make sure that when generating the refresh token for a test account, 
> you're logged in as a user of the test account and not the production 
> account. 
>
> 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/f9c2a0c6-a3b5-4749-84ff-d04ae5add291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need clarification about account timezones and DST in report data

2016-10-26 Thread Florian Lherbette
Hi,

I've read documentation and other forums thread about how daylight savings 
time is handled for the account timezones, but I am still a bit confused. 
Can you please provide some clarification on that?

I do know that the AccountTimeZoneId report field does not take DST into 
account (and that the UTC offset remains the same throughout the year), and 
that the SOAP API returns a standard timezone name (without UTC offset 
specified)

I would like to know if the timezone handling in report does actually work 
like that:

   - Reporting metrics are always correct for the UTC offset returned in 
   the AccountTimeZoneId field
   - And report data and AdWords web UI show a 1-hour discrepancy with the 
   actual *local* time of the user when DST is in effect

Or is it the other way around? (e.g. report data use local time with DST 
applied and during summer there is a 1-hour offset between the report 
metrics and the report timezone offset)

-- 
Florian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/59690c3b-f4a2-4d57-90d7-61972bac5dc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ошибка поулчения access token

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

This error normally happens if you missed something in the configuration of 
OAuth2 credentials or refresh token. Could you please confirm if you 
followed this guide 
 to 
generate your credentials and which app type have you configured? Also, 
please make sure that when generating the refresh token for a test account, 
you're logged in as a user of the test account and not the production 
account. 

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/2a023d6c-c87a-4c4d-acc2-d9d72b345a00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to deal with "--" values

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Zweitze,

We are working on making the reporting of null values for String fields 
more consistent. The reference document for each object state if a field 
can be null or not (AdGroup.name 

 for 
example). The Path1 and Path2 fields for an Expanded Text ads are optional 
at the moment. So, null values for these fields would be returned as "--" 
in reports which would be difficult to distinguish from Path fields with 
"--" as the text. There is another thread 
 on 
the forum where a similar discussion is going on. You could provide your 
inputs on that thread as well. I'll pass this along to the team and keep 
you updated. 

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/0b998d51-ac25-4533-9254-7ce12dff50f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign Report is giving lower clicks/Cost over time

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Jacek,

This is most likely because some clicks were considered invalid 
 for this campaign. 
You could download the Click Performance Report 

 
to validate this as it includes stats aggregated at each click level, and 
includes both valid and invalid clicks. You could also query for 
InvalidClicks 

 
form Campaign Performance Report, which provides the number of clicks which 
weren't charged as they were considered illegitimate. 

Let me know if this helps. 

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/86a695c5-fef8-4af6-b32f-74587057ae4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Oauth2.0 'approval_prompt' => 'force' is not working as expected

2016-10-26 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Sorry for the delay. I recommend changing your app to use *prompt* instead 
of *approval_prompt*, based on the response on this stack overflow thread 

 and 
the fact that *prompt* adheres to the OpenID Connect spec 
.

Thanks,
Josh, AdWords API Team

On Wednesday, October 26, 2016 at 5:25:24 AM UTC-4, cv wrote:
>
> Hello Josh,
>
> Any info found?
> Should I go ahead with this change across my application?
>
> Thanks,
>
>
> On Friday, 21 October 2016 02:12:21 UTC+5:30, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Sorry, I could have sworn that this worked for me when I did it 
>> yesterday, but when I tried again today I saw the behavior you described.
>>
>> I searched a bit and found that the Google OAuth2 documentation now 
>> *only* lists the *prompt* parameter 
>>  
>> -- *approval_prompt* no longer appears. I'm still digging to find out 
>> why and when this change occurred, but in the meantime it seems that 
>> switching to *prompt=consent* in place of *approval_prompt=force* should 
>> fix this for you.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Thursday, October 20, 2016 at 1:24:57 AM UTC-4, cv wrote:
>>>
>>> Hello Josh,
>>>
>>> Yes you are right, approval_prompt = force is working fine when you are 
>>> allowing app for the first time and not logged out from your login before 
>>> expires_in time.
>>>
>>> It was not worked in following case
>>>
>>> Step 1 : Allow user to authorised your app which may have url
>>>
>>>
>>> https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground_prompt=force_type=code_id=X.apps.googleusercontent.com=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>>
>>> Allow This will redirect to consent screen, 
>>>
>>>
>>> Step 2: Now user has approved your app from consent screen from step 1
>>>
>>> The response is access token and refreshtoken
>>>
>>> {
>>>
>>>   "access_token": "yX_A", 
>>>
>>>   "token_type": "Bearer", 
>>>
>>>   "expires_in": 3600, 
>>>
>>>   "refresh_token": "1XFw"
>>>
>>> }
>>>
>>>
>>> Step 3 : User tries to link his another adwords account to same app but 
>>> he has not logged out from his adwords account which was approved from step 
>>> 2, Now url will be same as step 1 as it is same app and user click on 
>>> *Authorize 
>>> API *button
>>>
>>>
>>> https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground_prompt=force_type=code_id=X.apps.googleusercontent.com=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>>
>>> In this case user will not be see consent screen and simply response 
>>> without refreshtoken 
>>>
>>> {
>>>
>>>   "access_token": "yaXUg", 
>>>
>>>   "token_type": "Bearer", 
>>>
>>>   "expires_in": 3593
>>>
>>> }
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> On Thursday, 20 October 2016 02:41:11 UTC+5:30, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi,

 That's true, but you can still use *approval_prompt=force* and it will 
 behave as expected, even with the OAuth playground.

 To see this, select *Force prompt: Consent screen *in the playground, 
 then click the *Authorize APIs *button. The URL in the resulting 
 consent screen will look something like this:


 https://accounts.google.com/o/oauth2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground;
 *prompt=consent*_type=code_id=*XX.apps.googleusercontent.com
  
 *=https%3A%2F%
 2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline

 If you change that URL to use *approval_prompt=force*, you'll see that 
 you will always get the consent screen.


 https://accounts.google.com/o/oauth2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground;
 *approval_prompt=force*_type=code_id=*XX.apps.googleusercontent.com
  
 *=https%3A%2F%
 2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline

 Thanks,
 Josh, AdWords API Team

 On Wednesday, October 19, 2016 at 2:52:26 PM UTC-4, cv wrote:
>
> Hello Josh,
>
> I just noticed that there is no approval_prompt under in the OAuth 
> Playground ,
> Instead it is *prompt=consent* or *prompt=select_account* or it can 
> be *prompt=none*
>
> So I guess Now *approval_prompt = Auto / Force* is deprecated..
>
> Please provide your input on this.
>
> *prompt=consent is working as a **approval_prompt = Force*
>
> Thanks,
>  
>
> On Wednesday, 19 October 2016 23:18:33 UTC+5:30, cv wrote:
>>

Re: How to get Customer Id using Access token for Non-MCC account

2016-10-26 Thread Alfie Max
Hi,

I'm using the ruby client library 
 . 
How do i make the CustomerService Request so that i get the Customer info 
for a non MCC account.

And for a MCC account i believe i have to use the ManagedCustomerService 
but for that i need to get the Customer ID of the MCC account. How do i get 
that as i don't get that in the OAuth response.

On Friday, August 5, 2016 at 8:06:39 PM UTC+5:30, Michael Cloonan (AdWords 
API Team) wrote:
>
> Hello,
>
> Use the CustomerService 
> 
>  
> for this. The CustomerService does not require a CustomerID header to be 
> specified, and will return the currently authenticated customer. The 
> Customer 
> 
>  
> that is returned includes the ID, which you can then specify in other 
> requests, as well as other information about the customer.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, August 5, 2016 at 2:42:04 AM UTC-4, Shibu Alist wrote:
>>
>> Hi Anthony,
>>
>> Thanks for your reply
>>
>> But i am still confused as i get the same answer from everywhere.
>>
>> Let me clear our application flow.
>>
>> Actually we are building an application, where normal users will connect 
>> their adword account by going through OAuth Authentication process.
>> After Authentication, they should be able to create campaign from our 
>> website. But we have to pass customerid for every request.How to get that 
>> customerID? as Authentication process doesn't return it. 
>>
>> ManagedCustomerService 
>> 
>>   
>> will be used if client account is added in MCC account. But what if any 
>> random user, who is not under any MCC account wants to use our application 
>> . How he can achieve this ? I have seen many websites doing this But i 
>> didn't get any solution yet .
>>
>> Please do the needful.
>>
>> On Friday, August 5, 2016 at 5:09:58 AM UTC+5:30, Anthony Madrigal wrote:
>>>
>>> Hi Shibu,
>>>
>>> You can use the ManagedCustomerService 
>>> 
>>>  from 
>>> your MCC level in order to get the client accounts under it. This will give 
>>> you the customer Ids of these accounts as well if you select the field 
>>> customerId 
>>> 
>>> .
>>>
>>> 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6bae722a-37ea-43ff-9569-92b8489c20b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to deal with "--" values

2016-10-26 Thread Zweitze


Hi,

In v201603 we got a change in reporting, string fields with NULL values are 
consistently reported as "--". I always wondered how to work with this, 
since "--" is a perfectly valid string value. Yes, you can create a 
campaign named "--", and a group too. (Google: just check campaign 
688822988, and group 386353)

But maybe those fields can never be NULL, so my first question is: which 
fields are nullable and which fields are not? Ideally I would like to see 
the reporting documentation extended, telling for every field whether it is 
nullable or not.

Recently certain fields are reported as NULL which didn't happen before - 
especially Path1 and Path2 of extended text ads. And now it gets tricky, 
because "--" is actually a valid value for these fields... Check out the 
attached screenshot! (Google: you can find this ad in the group mentioned 
earlier).

But this particular ad gives me a problem, when I request an ad performance 
report, it both Path1 and Path2 report value "--". One of them should be 
interpreted as "--", the other as NULL. How can I do that?

So I have two questions:
1. Can the reporting documentation be updated, stating which fields can be 
NULL?
2. How does one distinguish NULL from the text "--"

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/50f01195-7fde-4ff5-9c77-99a40f3e5cdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ошибка поулчения access token

2016-10-26 Thread treto1ctest
Добрый день! Получаю ошибку при получении access token из refresh token:
{
 "error": "invalid_grant",
 "error_description": "Bad Request",
 "error_uri": ""
}
Код ошибки - 400 

Отправляю запрос: 
https://www.googleapis.com/oauth2/v3/token_type=refresh_token_id=х_secret=хх_token=ххх

Раньше работало все замечательно, пару недель назад перестало.
Причет ошибка только на тестовом аккаунте.
На рабочым аккаунте все работает.
Подскажите в чем может быть причина ошибки?
Может refresh_token устарел? 
Может нужно перегенерировать refresh_token?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/78bf52d2-1823-4d98-aab2-dce870ae3cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Search-query and item level report for Shopping Campaign

2016-10-26 Thread kresimir . slugan
Unfortunately, this doesn't work for me. This would give me results 
aggregated on *ad*, *search query* and *day* level...in our case Ad level 
is above item level. 

I need to connect somehow *OfferId* from *Shopping Performance Report* with 
*Query* from *Search Query Performance Report*


On Monday, 17 October 2016 08:28:48 UTC+2, Peter Oliquino wrote:
>
> Hi Kresimir,
>
> There is currently no way that I know of that you can relate product level 
> information to the search query statistics. You may, however, try 
> generating the Ad Performance Report 
> 
>  and 
> try filtering using the *PRODUCT_AD* as value of the AdType 
> 
>  field. 
> Then using the Id 
> 
>  field 
> of the Ad Performance Report, you may then match it with the CreativeId 
> 
>  field 
> of the Search Query Performance Report 
> .
>  
> The results that will be returned by this will be the search terms that 
> triggered the product ad.
>
> Let me know if this helps.
>
> Best regards,
> Peter Laurence N. Oliquino
> 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/ae2be2e0-9ad2-44ed-91f2-ec0ecc456bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Перестал получаться access token

2016-10-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

I deleted your last post because it included your clientId and 
clientSecret. Per our forum posting guidelines 
, 
please do not include sensitive information such as your OAuth2 credentials 
in your posts.

I'll look into why you are not able to retrieve an access token and get 
back to you.

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/51fdab82-2c4f-45a4-80b4-4e961a3a849e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Перестал получаться access token

2016-10-26 Thread treto1ctest
Добрый день!
У меня проблема, при попытке получить access token.
Посылаю запрос:
https://www.googleapis.com/oauth2/v3/token_type=refresh_token_id=511638208817-1qo5ntvk4of9hos4vhkivp3nkmince46.apps.googleusercontent.com_secret=-oZQZE9VECkK60-GaWqbXnIk_token=1/GUUFfdPJ7iX2HnIMG6xDfwV9lC0CAyWOoZ9Owz_R2W4

в ответ стал получать:
{
 "error": "invalid_grant",
 "error_description": "Bad Request",
 "error_uri": ""
}
и 400 ошибку.

Хотя пару недель назад все работало, ничего не менялось. Этапроблема 
наблюдается в тестовом аккаунте.
В живом, рабочем аккаунте все хорошо, работает без проблем.
В чем может быть проблема?
refresh_token был сгенерирован уже давно, больше года назад.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/116679b6-60f6-4ae0-ab0e-c3b2a5ce599a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Campaign Performance Report

2016-10-26 Thread Jacek Raczkiewicz
Hi, 

I hace a problem when dowloading Campaign Performance Report. This happened 
second time (most of the times it works as expected). I downloaded two 
reports using same API version v201609, exactly same code (using PHP SDK). 
As a timeframe I used in both cases '*ALL_TIME*'. Campaign was created at 
October 15th.

$reportDefinition->dateRangeType = 'ALL_TIME';
$reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';

campaignid: *681638065*
accountid: *673-030-4804*

The first report downloaded on October 20th looked like this:

cat reports/report_673-030-4804_1476921604.csv

Campaign ID,Impressions,Clicks,Cost,Avg. CPC 
*681638065,202,10,8612,8612000*


Then we downloaded it again on October 25th


cat report_673-030-4804_1477353602.csv

Campaign ID,Impressions,Clicks,Cost,Avg. CPC 
*681638065,353,7,5116,7308571*


*The clicks dropped from 10 to 7, cost also dropped, Impressions increased.*


The last report was consistent with what I could see on adWords web 
interface on October 25th.

I wonder why the clicks disappeared?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/511871a8-b21b-4ea1-9e97-85b4221a756a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Campaign Report is giving lower clicks/Cost over time

2016-10-26 Thread Jacek Raczkiewicz
Hi, 

This is my first post here, I hope you will be able to help me out. 
This issue have happened second time, it occurs not very often but seems 
there is something not right in our reports.
We download thru API (using PHP SDK) CAMPAIGN_PERFORMANCE_REPORT, we 
request quite general information: Impressions, Clicks, Cost, AverageCpc, 
as a time frame we always use '*ALL_TIME*'.

Both reports were downloaded with API v201609

$reportDefinition->dateRangeType = 'ALL_TIME';
$reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';

On October 20th we downloaded this file:

cat reports/report_673-030-4804_1476921604.csv

Campaign ID,Impressions,Clicks,Cost,Avg. CPC 

*681638065,202,10,8612,8612000*


Then on October 25th we downloaded the report for same campaign and got 
this:


cat report_673-030-4804_1477353602.csv

Campaign ID,Impressions,Clicks,Cost,Avg. CPC 
*681638065,353,7,5116,7308571*


Over 5 days the clicks dropped from 10 to 7 and also cost is lower.

On October 25th all the values from the report were consistent with adWords 
web interface.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e5ee2604-748f-492b-8d57-030f2ef5eb1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Oauth2.0 'approval_prompt' => 'force' is not working as expected

2016-10-26 Thread cv
Hello Josh,

Any info found?
Should I go ahead with this change across my application?

Thanks,


On Friday, 21 October 2016 02:12:21 UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Sorry, I could have sworn that this worked for me when I did it yesterday, 
> but when I tried again today I saw the behavior you described.
>
> I searched a bit and found that the Google OAuth2 documentation now *only* 
> lists 
> the *prompt* parameter 
>  
> -- *approval_prompt* no longer appears. I'm still digging to find out why 
> and when this change occurred, but in the meantime it seems that switching 
> to *prompt=consent* in place of *approval_prompt=force* should fix this 
> for you.
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, October 20, 2016 at 1:24:57 AM UTC-4, cv wrote:
>>
>> Hello Josh,
>>
>> Yes you are right, approval_prompt = force is working fine when you are 
>> allowing app for the first time and not logged out from your login before 
>> expires_in time.
>>
>> It was not worked in following case
>>
>> Step 1 : Allow user to authorised your app which may have url
>>
>>
>> https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground_prompt=force_type=code_id=X.apps.googleusercontent.com=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>
>> Allow This will redirect to consent screen, 
>>
>>
>> Step 2: Now user has approved your app from consent screen from step 1
>>
>> The response is access token and refreshtoken
>>
>> {
>>
>>   "access_token": "yX_A", 
>>
>>   "token_type": "Bearer", 
>>
>>   "expires_in": 3600, 
>>
>>   "refresh_token": "1XFw"
>>
>> }
>>
>>
>> Step 3 : User tries to link his another adwords account to same app but 
>> he has not logged out from his adwords account which was approved from step 
>> 2, Now url will be same as step 1 as it is same app and user click on 
>> *Authorize 
>> API *button
>>
>>
>> https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground_prompt=force_type=code_id=X.apps.googleusercontent.com=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>
>> In this case user will not be see consent screen and simply response 
>> without refreshtoken 
>>
>> {
>>
>>   "access_token": "yaXUg", 
>>
>>   "token_type": "Bearer", 
>>
>>   "expires_in": 3593
>>
>> }
>>
>>
>> Thanks,
>>
>>
>>
>> On Thursday, 20 October 2016 02:41:11 UTC+5:30, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> That's true, but you can still use *approval_prompt=force* and it will 
>>> behave as expected, even with the OAuth playground.
>>>
>>> To see this, select *Force prompt: Consent screen *in the playground, 
>>> then click the *Authorize APIs *button. The URL in the resulting 
>>> consent screen will look something like this:
>>>
>>>
>>> https://accounts.google.com/o/oauth2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground;
>>> *prompt=consent*_type=code_id=*XX.apps.googleusercontent.com
>>>  
>>> *=https%3A%2F%
>>> 2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>>
>>> If you change that URL to use *approval_prompt=force*, you'll see that 
>>> you will always get the consent screen.
>>>
>>>
>>> https://accounts.google.com/o/oauth2/auth?redirect_uri=https%3A%2F%2Fdevelopers.google.com%2Foauthplayground;
>>> *approval_prompt=force*_type=code_id=*XX.apps.googleusercontent.com
>>>  
>>> *=https%3A%2F%
>>> 2Fwww.googleapis.com%2Fauth%2Fadwords_type=offline
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, October 19, 2016 at 2:52:26 PM UTC-4, cv wrote:

 Hello Josh,

 I just noticed that there is no approval_prompt under in the OAuth 
 Playground ,
 Instead it is *prompt=consent* or *prompt=select_account* or it can be 
 *prompt=none*

 So I guess Now *approval_prompt = Auto / Force* is deprecated..

 Please provide your input on this.

 *prompt=consent is working as a **approval_prompt = Force*

 Thanks,
  

 On Wednesday, 19 October 2016 23:18:33 UTC+5:30, cv wrote:
>
> Hello Josh,
>
> I will try with older version again and inform owner with library to 
> look into it.
>
> Thanks,
>
>
> On Wednesday, 19 October 2016 19:02:42 UTC+5:30, Josh Radcliff 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> Thanks for confirming you're passing the correct *offline* value.
>>
>> This is looking like a client library issue. I just experimented with 
>> the *approval_prompt* in the OAuth Playground 
>> , and it seems to be 
>> behaving properly.
>>
>> Have you recently tried it 

Re: ERROR_GETTING_RESPONSE_FROM_BACKEND when downloading Product Partition Report for some Campaigns

2016-10-26 Thread abweg
Hi,
same problem, but only one account fails.
Response Code: 500, Trigger: Unable to read report data, Type: 
ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND. 
Any idea?
Thanks A. Boldt 


Am Dienstag, 25. Oktober 2016 12:19:30 UTC+2 schrieb Stefan Kleine 
Stegemann:
>
> Hi,
>
>
> we are experiencing problems when downloading product partition reports 
> for some campaigns. We're loading these reports for large number of 
> campaigns without problems but three campaigns started to fail consistently 
> this morning (german  time). We've successfully downloaded reports for the 
> "problematic" campaigns in the past days.
>
> We're using the ReportDownloader from the Java API (v201607) and noticed 
> that the call almost immediately fails with a 
> DetailedReportDownloadResponseException:
>
> com.google.api.ads.adwords.lib.utils.v201607.
> DetailedReportDownloadResponseException: 500
> at com.google.api.ads.adwords.lib.utils.v201607.
> 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.GeneratedMethodAccessor279.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> 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.$Proxy118.downloadReport(Unknown Source)
> at com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.
> downloadReport(AdHocReportDownloadHelper.java:49)
> at com.google.api.ads.adwords.lib.utils.v201607.ReportDownloader.
> downloadReport(ReportDownloader.java:72)
>
>
> According to the exception details, the problem is not triggered by the 
> report definition but some internal error:
>
> 2016-10-25 11:15:59,243 121808 [qtp1454127753-13] ERROR 
> AdWordsReportDownloadImpl  httpStatus: 500
> 2016-10-25 11:15:59,243 121808 [qtp1454127753-13] ERROR 
> AdWordsReportDownloadImpl  message: 500
> 2016-10-25 11:15:59,244 121809 [qtp1454127753-13] ERROR 
> AdWordsReportDownloadImpl  fieldPath: --
> 2016-10-25 11:15:59,245 121810 [qtp1454127753-13] ERROR 
> AdWordsReportDownloadImpl  trigger: Unable to read report data
> 2016-10-25 11:15:59,246 121811 [qtp1454127753-13] ERROR 
> AdWordsReportDownloadImpl  type: ReportDownloadError.
> ERROR_GETTING_RESPONSE_FROM_BACKEND
>
>
> The report definition looks as follows:
>
> 
> https://adwords.google.com/api/adwords/cm/v201607;>
>   
> AdGroupId
> AverageCpc
> CampaignId
> Id
> Clicks
> Cost
> Impressions
> CpcBid
> ParentCriterionId
> PartitionType
> ProductGroup
> SearchImpressionShare
> BenchmarkAverageMaxCpc
> 
>   CampaignId
>   EQUALS
>   
> 
> 
>   AdGroupStatus
>   EQUALS
>   ENABLED
> 
> 
>   IsNegative
>   EQUALS
>   false
> 
> 
>   20160924
>   20161023
> 
>   
>   BMOS Report
>   PRODUCT_PARTITION_REPORT
>   CUSTOM_DATE
>   GZIPPED_XML
> 
>
> I cannot write the client customer id or campaign ids here, but I'll be 
> happy to share it with you privately if that's necessary for investigation.
>
> Best,
> Stefan
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/83a5fa60-5aaa-4fe3-8fe9-6f4df47c4877%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService only return single MCC when multiple are present

2016-10-26 Thread 'Peter Oliquino' via AdWords API Forum
Hi Tiana,

The CustomerService.getCustomers 

 method 
returns only the details of the specified account in the *clientCustomerId* 
field 
of the request header. Additionally, the client library has the 
GetAccountHierarchy 

 (other 
languages also available in the link) example wherein it uses the 
ManagedCustomerService 

 to 
fetch the full list of accounts under an MCC account by specifying the MCC 
account ID in the clientCustomerId field. It cannot, however, fetch 
information vice-versa wherein you will fetch all the connected MCCs of a 
given customer account.

Best 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/a2107adc-41d4-4437-941c-d73992d78d7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CustomerService only return single MCC when multiple are present

2016-10-26 Thread Tiana S.
Hi guys!

I have someone here who has multiple MCCs connected to a single user. 
The issue is that when authorising this user and fetching the available 
details for it through the CustomerService only one of the MCCs is returned.
Is there any way to fetch all MCCs connected to the user?

Thanks,

Tiana

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c53eb2ad-dd24-46ca-a9b3-6542b18fc499%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: 'ReportDownloadError.INVALID_REPORT_DEFINITION_XML' when downloading reports

2016-10-26 Thread 'Peter Oliquino' via AdWords API Forum
Hi Pankaj,

The error suggests that you might be including the "includeZeroImpressions" 
in the XML report definition schema. The "includeZeroImpressions" have been 
removed 
from the schema since version 201603 
. 
You'll be able to include the "includeZeroImpressions" in your report 
definition If you use one of the report download examples 
 (other 
languages are also available in the link) from our updated client library 

.

Best 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/72d8c689-7575-4fd6-9290-4b2229b65f01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-26 Thread akshat agrawal


On Monday, October 24, 2016 at 10:22:24 AM UTC+5:30, akshat agrawal wrote:
>
> Hi Joyce,
>

Thanks it worked. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fd85187c-5001-49d3-9c8f-8cfd6c991629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


'ReportDownloadError.INVALID_REPORT_DEFINITION_XML' when downloading reports

2016-10-26 Thread Pankaj Tiwari
Hi,
I am getting this error when downloading keyword and campaign report. Can 
anyone please help me.
An error has occurred: Report download failed. Underlying errors are Type = 
'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', Trigger = 'Invalid 
ReportDefinition Xml: cvc-complex-type.2.4.d: Invalid content was found 
starting with element 'includeZeroImpressions'. No child element is 
expected at this point.', FieldPath = ''.

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/615b15c3-97fc-4436-b813-2e773e9b5365%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.