Re: Offline Call Conversions Upload Error - Getting "InternalApiError.UNEXPECTED_INTERNAL_API_ERROR"

2018-11-07 Thread joel
Hello Dannison,

The issue was in fact related to the large size of the request you 
mentioned. Everything is working fine now.

Thank you for your response!


On Monday, 5 November 2018 19:04:46 UTC+1, Dannison Yao (AdWords API Team) 
wrote:
>
> Hi Joel,
>
> The UNPARSEABLE_CALLERS_PHONE_NUMBER 
> 
>  error 
> message may occur if the caller’s phone number cannot be parsed due to 
> incorrect format. It should be formatted either as E.164 "+16502531234", 
> International "+64 3-331 6005" or as a US national number “6502531234”.
>
> While the UNEXPECTED_INTERNAL_API_ERROR 
> 
>  error 
> message may occur if the service request is too big. This may cause a 
> temporary resource related issues in the AdWords API server.
>
> If after correcting the phone number format and the error is still 
> persisting, could you provide the complete SOAP request and response logs 
> generated when the error was encountered so I could investigate on this 
> further? You may use the *Reply privately to author* option.
>
> Regards,
> Dannison
> Adwords API Team
>
> On Monday, November 5, 2018 at 7:14:25 PM UTC+8, jo...@elabogado.com 
>  wrote:
>>
>> Hello,
>>
>> We're currently trying to upload offline call conversions to a custom 
>> call conversion goal we created in our MCC account. We have successfully 
>> performed this process with normal conversions (conversions from clicks - 
>> with Gclid). However, we can't seem to succeed doing so with Call 
>> Conversions.
>>
>> *Background information:*
>>
>> *-* We're using Java to communicate with the AdWords API
>> *-* We're working with the following library version: v201809
>> *-* We're specifically working with these libraries: 
>>
>>- UploadCallConversionFeedService
>>- OfflineCallConversionFeedOperation
>>
>>
>> *The problem goes as follows:*
>>
>> *1.* We have followed all the instructions as explained in the API 
>> documentation: https://support.google.com/google-ads/answer/6275629
>> *2.* We created the new conversion goal last friday, so it has been 
>> enabled for more than 48 hrs.
>> *3.* We have prepared the data in accordance to the documentation 
>> mentioned above. Specifically, we have used the right formats to enter the 
>> time zone, call start time and conversion time.
>> *4.* When we try to upload the conversions without the country prefix 
>> (+34) we get the following error: 
>> OfflineCallConversionError.UNPARSEABLE_CALLERS_PHONE_NUMBER
>> *5.* When we add the country prefix (In this case +34) we get the 
>> following error: ApiException{applicationExceptionType=ApiException, 
>> errors=[InternalApiError{apiErrorType=InternalApiError, 
>> errorString=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, 
>> reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]}
>>
>> I haven't been able to find the right answer to this question in other 
>> posts. Calling AdWords Support hasn't been useful either as most support 
>> representatives are not technical enough to help us with this problem.
>>
>> Thank you 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/28a0a381-c86b-4991-b9f0-44fa6eb042c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Both in-market categories csv file and ConstantDataService don’t contain inmarket audience 91100

2018-11-07 Thread Hayley Ye
Hi,

Is there an in-market audience's id is 91100? I can't find it in the csv 
file(https://developers.google.com/adwords/api/docs/appendix/codes-formats#in-market-categories)
 
and ConstantDataService.

Could you provide me more details about this audience and why I can't find 
it in ConstantDataService and csv file?

Thanks,
Hayley

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62f65f72-55bb-4f01-9862-11cb26062a59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cancel account in api

2018-11-07 Thread fedorinovaaori
Hi.
I have mcc and I want to cancel the linked customer
The adwords interface has a button "Cancel my account".
How to do the same in api (AdWords API or Google Ads API)?
Is there a method "Cancel account" in api (AdWords API or Google Ads API)?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bb0c74b2-212c-4f2d-ad23-ab841a5b0151%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I set target setting to Observation when I add audience or topic to ad group via api?

2018-11-07 Thread Ken Hsu
Hi everyone
Is there any way to set target setting to Observation when I add audience 
or topic to ad group via api?
Just like attachment
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/abdf932e-91c8-486b-b4b1-1e19c0c64cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


LocationCriterionService, location name is not fully translated in RU locale, why?

2018-11-07 Thread Олег Голованов
Hi.

Let's take as example location with id = 9057027.
Its canonical name is "Petersburg Borough,Alaska,United States".

Problem: if i request that region with locale=RU, its name will be 
"Petersburg Borough,Аляска,Соединенные Штаты Америки".
At the same time thats region is correctly translated in google ads keyword 
planner web service: "Питерсберг,Аляска,Соединенные Штаты Америки".

Question: is it somehow possible to get correctly translated location name 
with API?
Why API could not translate "Petersburg Borough" to "Питерсберг"?

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/ada433e0-0b50-45a6-9d99-dd00ee2b70a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Both in-market categories csv file and ConstantDataService don’t contain inmarket audience 91100

2018-11-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Hayley,

I also checked the CSV file and tried checking the list being returned by 
the getUserInterestCriterion() 

 method 
of the ConstantDataService 

 but 
can't find any category that has 91100 ID. Could you clarify where did you 
get this in-market audience with ID 91100? Kindly provide screenshots as 
well if you can via *Reply privately to author* option.

Best regards,
Vincent
AdWords API Team


On Wednesday, November 7, 2018 at 5:25:21 PM UTC+8, Hayley Ye wrote:
>
> Hi,
>
> Is there an in-market audience's id is 91100? I can't find it in the csv 
> file(
> https://developers.google.com/adwords/api/docs/appendix/codes-formats#in-market-categories)
>  
> and ConstantDataService.
>
> Could you provide me more details about this audience and why I can't find 
> it in ConstantDataService and csv file?
>
> Thanks,
> Hayley
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9a1077f5-77ab-472d-8f04-3fea129046d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Average CPC Feedback

2018-11-07 Thread dsole . transperfect
I have done a comparison between keyword planner and google adwords API.

When you search the keyword "hola" (filtered by spain location) you get a 
CPC suggested bid of €0.46.

But when you get the results of Google Adwords API you get an average CPC 
of 309151 ~= 0.31 $.

Why it differs too much? And with how many time is this average done?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/135c60c0-ec3a-4e63-aa01-0447085409e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SearchRankLostImpressionShare mismatch between API and UI

2018-11-07 Thread Xiaoyun Yang
Trying to get the search rank lost impression share via google adwords API 
using *ADGROUP_PERFORMANCE_REPORT*, but most of my ad groups show undefined 
search lost is (rank):

   Campaign ID  Ad group ID   Device Day  Avg. 
> position  Impressions Search Lost IS (rank)
> 11469868211030  42984184479  Mobile devices w...  2018-10-18  
>   2.1   46   -- 
> 13057868211030  42984184479  Mobile devices w...  2018-10-27  
>   2.3   46   -- 
> 5682 868211030  42984184479  Mobile devices w...  2018-09-17  
>   1.6   46   -- 
> 11603868211030  42984184479  Mobile devices w...  2018-10-20  
>   1.9   45   -- 
> 16711868211030  42984184479  Mobile devices w...  2018-10-30  
>   1.6   44   -- 


while in the UI the values are not undefined, here is an example for the ad 
group in the first row, i.e. on 2018-10-18:

[image: Screenshot 2018-11-06 14.27.06.png]

And the AWQL Query I use is as follows:

SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions, 
SearchRankLostImpressionShare 
FROM ADGROUP_PERFORMANCE_REPORT 
WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
DURING 20180907, 20181105

What did I do wrong? Why is there such a big difference between API and UI?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2232a317-1c27-4360-94af-93936112c47e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Data difference between API and UI

2018-11-07 Thread Xiaoyun Yang
When I download adgroup performance that includes search lost is rank data, 
most of the ad groups show undefined while the UI shows actual numbers. 
What could be the problem? Here is the query I used:

SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions, 
SearchRankLostImpressionShare 
FROM ADGROUP_PERFORMANCE_REPORT 
WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
DURING 20180907, 20181105

returned data:

   Campaign ID  Ad group ID   Device Day  Avg. 
> position  Impressions Search Lost IS (rank)
> 11211868211030  42984184479  Mobile devices w...  2018-10-18  
>   2.1   46   -- 
> 14951868211030  42984184479  Mobile devices w...  2018-10-27  
>   2.3   46   -- 
> 4036 868211030  42984184479  Mobile devices w...  2018-09-17  
>   1.6   46   -- 
> 11343868211030  42984184479  Mobile devices w...  2018-10-20  
>   1.9   45   -- 
> 16476868211030  42984184479  Mobile devices w...  2018-10-30  
>   1.6   44   -- 


what shows in the UI:

[image: Screenshot 2018-11-06 14.27.06.png]
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d6e4f18-cbc1-4b36-b270-1acb0920be9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP pass credentials dynamically (not through adsapi_php.ini)

2018-11-07 Thread robert
Hello
Im about to start using the php-library after 10 years of Adwords Api the 
native style.
But I am not able to find out how to share my credentials (including access 
token).
When I read this thread I get the feeling that it is not a common use case, but 
when I read Google Ads-docs its strongly recommended doin this if there is many 
processes running at the same time.

”In multiprocess or distributed apps, sharing the credential requires you to 
persist it. To ensure multiple processes or servers don't attempt to refresh 
the credential at the same time (resulting in excessive refresh requests), we 
advise proactively refreshing the credential in a central place and sharing it 
across processes/servers.”

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

I am storing the credentials in the db and refresh the access token every 15 
minutes from a central cronjob. So I just want to fetch it and inject it into 
the library in every thread.
Is there a way to accomplish this with the googleads/googleads-php-lib-library?

Or do we still have to extend it like Jean did?

Best regard Robert

On Monday, February 5, 2018 at 12:27:50 PM UTC+1, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
> Hello Jean,
> 
> 
> From your narrated use case, I agree that what you've done is probably the 
> best right now.
> Thanks for your time describing your use case so it can benefit other people 
> too.
> 
> 
> Best,
> Thanet, AdWords API Team
> 
> On Saturday, February 3, 2018 at 5:48:06 AM UTC+9, Jean-Fabrice Rabaute wrote:
> From what I understand this wouldn't work.
> 
> 
> I see the following problem with getOrFetchAccessToken in a distributed 
> environment:
> 
> 
> Let's say I have two servers with the php code answering requests from 
> clients, server A and server B.
> 
> 
> Those two servers can receive a request at the same time. As they are 
> isolated if getOrFetchAccessToken needs to refresh the token, each server 
> will refresh the token and get an access_token.
> This should not happen and the "refresh token" task should be synced (with a 
> distributed lock system like redis/zk/etcd) between servers so only one is 
> actually refreshing the token, updating the db or cache and the other ones 
> are getting the new value from the updated cache.
> This is all app dependent (well, more client infra-dependent stuff) so the 
> googleads-php-lib cannot/shouldn't deal with this and it should just provide 
> the necessary hooks so the app can take care of this.
> This is what I'm doing with the custom FetchAuthTokenInterface implementation 
> I have.
> 
> 
> Note about "shouldFetchAccessToken". Calling "shouldFetchAccessToken" does 
> not help even within the same request.
> I can call "shouldFetchAccessToken" and it will return false and the next 
> call will return "true".
> It means that when calling getOrFetchAccessToken I don't know if the value 
> returned is the "cached" one (whatever that means as cache should be done by 
> the app anyways) or a refreshed one, so I wouldn't know when to save it 
> (well, I could compare with the one I had previously that would work). But 
> then, getOrFetchAccessToken has the problem described initially.
> 
> I hope it makes sense.
> 
> 
> Thanks.
> 
> Le vendredi 2 février 2018 10:06:33 UTC-8, Thanet Knack Praneenararat 
> (AdWords API Team) a écrit :
> Hello,
> 
> 
> Looking into this again, isn't the getOrFetchAccessToken method in 
> OAuth2TokenRefresher similar to what you need?
> It can fetch a new access token when needed but will just return the existing 
> one if it's not expired yet.
> 
> 
> Best,
> Thanet, AdWords API Team
> 
> On Thursday, February 1, 2018 at 9:05:45 PM UTC-8, Jean-Fabrice Rabaute wrote:
> Hi,
> 
> 
> Sorry for the delay.
> 
> 
> I solved my problem by implementing "FetchAuthTokenInterface" interface and 
> passing my implementation to "AdWordsSessionBuilder::withOAuth2Credential".
> The token refresh is now handled by my object and I can synchronize and use 
> my custom caching as well the way I want.
> 
> 
> I don't know if this is the correct way to do it or if there is a more 
> "official" way to do so.
> 
> 
> Thanks.
> 
> Le mardi 9 janvier 2018 07:53:29 UTC-8, Thanet Knack Praneenararat (AdWords 
> API Team) a écrit :
> Hello Jean,
> 
> 
> Nice to meet you. I'm an owner of the googleads-php-lib.
> I'm still following up all your conversation with my colleagues but from what 
> you said in this thread,
> 
> 
> The google/google-auth-library-php (which is used by the adwords library) 
> seem to have the same problem (The app is unable to get/cache/manage the 
> access_token in an easy way).
> 
> 
> Have you confirmed with the owner of that library already?
> And as you clearly see through this, as the googleads-php-lib depends on the 
> google-auth-library-php library, if that library really doesn't support what 
> you want, I'm afraid our library doesn't support it as well.
> 
> 
> I'll come back when I finish fol

AVERAGE_CPC feedback

2018-11-07 Thread dsole . transperfect
I have done a comparison between the keyword planner and the adwords api 
results. 

When you search the keyword "hola" (filtered with spain location) in 
keyword planner, you get the suggested bid: €0.46

But when you use the google adwords api (filtered with spain location), you 
get an average CPC of 309151 ~= 0.31$. With how many time is computed and 
why varies too much from the suggested bid?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/132097c1-ca0b-4c5e-b0f8-9be9c3688bee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


discrepancy between API and UI

2018-11-07 Thread Xiaoyun Yang
Trying to get the search lost is (rank) from adgroup performance report;
But most of my ad groups, even high performance groups get undefined search
lost is while the UI shows actual numbers.

The query I am using is:

SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions,
> SearchRankLostImpressionShare
> FROM ADGROUP_PERFORMANCE_REPORT
> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED]
> DURING 20180907, 20181105


but it returns:

   Campaign ID  Ad group ID   Device Day  Avg.
> position  Impressions Search Lost IS (rank)
> 11211868211030  42984184479  Mobile devices w...  2018-10-18
>   2.1   46   --
> 14951868211030  42984184479  Mobile devices w...  2018-10-27
>   2.3   46   --
> 4036 868211030  42984184479  Mobile devices w...  2018-09-17
>   1.6   46   --
> 11343868211030  42984184479  Mobile devices w...  2018-10-20
>   1.9   45   --
> 16476868211030  42984184479  Mobile devices w...  2018-10-30
>   1.6   44   --


while in the UI:

[image: Screenshot 2018-11-06 14.27.06.png]

What could be the problem? Thanks!
-- 
[image: PureCars] 

Think Beyond the Click

Win the Customer with PureCars

www.PureCars.com 


Google Premier Partner

Bing Elite SMB Partner
*Xiaoyun Yang*

Data Science Analyst

*Direct*
404-951-8991


*Email*
xiaoy...@purecars.com 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAK1oraLvN6-f%3DoKdLXdGezUHxPYyqjrW7JZ4y29jfvJbK4oBcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


USER_PERMISSION_DENIED to a new MCC account

2018-11-07 Thread omrigal
Hi,

We are a third party that manages our new customer MCC account.
When calling *ManagedCustomerService *we receive  - 
AuthorizationError.USER_PERMISSION_DENIED.
I would like to add the full logs once I can replay privately,

Thanks in advance,
Omri Gal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69766c32-2739-4c26-89c5-57a86fa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Check if telephone number was clicked in Google Ads

2018-11-07 Thread Eryk Schubert
Hey,

thanks for you answer. I have a few more questions. You said that this is 
not being made in real-time. So you mean that the information about call is 
usually inserted to report with some delay, right? What is the delay then?
Is there any way to use some other reports (with having that campaing and 
adGroup data from the Call Metrics Call Details Report) more or less like 
JOINING tables in SQL? :) 

Best regards,
Eryk

On Tuesday, November 6, 2018 at 9:02:49 PM UTC+1, Dannison Yao (AdWords API 
Team) wrote:
>
> Hi Eryk,
>
> You could download the Call Metrics Call Details Report 
> 
>  to 
> get data for call tracking of call-only ads or call extensions. You may 
> use the CallTrackingDisplayLocation 
> 
>  field to determine if the phone number was shown in the ad or in the 
> landing page, however this is only available in reports and is not 
> available in real-time.
>
> Additionally, there is no field in this report type that returns the 
> keywords that triggered the ad, only campaign and adGroup data is available 
> on this report type.
>
> Let me know if this helps or if I misunderstood your concern.
>
> Regards,
> Adrian Mayoralgo, AdWords API Team
>
> On Tuesday, November 6, 2018 at 7:20:36 PM UTC+8, Eryk Schubert wrote:
>>
>> Hey,
>>
>> I am currently creating a contact center system which handles telephone 
>> conversations. I would like to be able to check if the incoming telephone 
>> call was invoked by clicking the telephone number displayed in google ad by 
>> potential client. Moreover it would be great to find out what keywords the 
>> client used to find my telephone number. All this information would be 
>> displayed in my system during the conversation.
>>
>> Do you have any ideas if it would be possible to get such an information? 
>> And where I should start?
>>
>> Best regards,
>> Eryk
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a92ea04f-e103-43cc-8077-f0b6987aabb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: Data discrepancy between API and UI

2018-11-07 Thread Xiaoyun Yang
-- Forwarded message -
From: Xiaoyun Yang 
Date: Tue, Nov 6, 2018 at 2:58 PM
Subject: Data discrepancy between API and UI
To: 


Trying to get the search lost is (rank) from adgroup performance report;
But most of my ad groups, even high performance groups get undefined search
lost is while the UI shows actual numbers.

The query I am using is:

SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions,
> SearchRankLostImpressionShare
> FROM ADGROUP_PERFORMANCE_REPORT
> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED]
> DURING 20180907, 20181105


but it returns:

   Campaign ID  Ad group ID   Device Day  Avg.
> position  Impressions Search Lost IS (rank)
> 11211868211030  42984184479  Mobile devices w...  2018-10-18
>   2.1   46   --
> 14951868211030  42984184479  Mobile devices w...  2018-10-27
>   2.3   46   --
> 4036 868211030  42984184479  Mobile devices w...  2018-09-17
>   1.6   46   --
> 11343868211030  42984184479  Mobile devices w...  2018-10-20
>   1.9   45   --
> 16476868211030  42984184479  Mobile devices w...  2018-10-30
>   1.6   44   --


while in the UI:

[image: Screenshot 2018-11-06 14.27.06.png]

What could be the problem? Thanks!
-- 
[image: PureCars] 

Think Beyond the Click

Win the Customer with PureCars

www.PureCars.com 


Google Premier Partner

Bing Elite SMB Partner
*Xiaoyun Yang*

Data Science Analyst

*Direct*
404-951-8991


*Email*
xiaoy...@purecars.com 



-- 
[image: PureCars] 

Think Beyond the Click

Win the Customer with PureCars

www.PureCars.com 


Google Premier Partner

Bing Elite SMB Partner
*Xiaoyun Yang*

Data Science Analyst

*Direct*
404-951-8991


*Email*
xiaoy...@purecars.com 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAK1oraK_%2BTRyWwFhBiHa7ebbiZtV1P%2B%3DEdB-na-sTxO8uuUYmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Difference between API and UI

2018-11-07 Thread Xiaoyun Yang
Trying to get the search lost is (rank) from adgroup performance report; 
But most of my ad groups, even high performance groups get undefined search 
lost is while the UI shows actual numbers.

The query I am using is:

SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions, 
> SearchRankLostImpressionShare 
> FROM ADGROUP_PERFORMANCE_REPORT 
> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
> DURING 20180907, 20181105


but it returns:

   Campaign ID  Ad group ID   Device Day  Avg. 
> position  Impressions Search Lost IS (rank)
> 11211868211030  42984184479  Mobile devices w...  2018-10-18  
>   2.1   46   -- 
> 14951868211030  42984184479  Mobile devices w...  2018-10-27  
>   2.3   46   -- 
> 4036 868211030  42984184479  Mobile devices w...  2018-09-17  
>   1.6   46   -- 
> 11343868211030  42984184479  Mobile devices w...  2018-10-20  
>   1.9   45   -- 
> 16476868211030  42984184479  Mobile devices w...  2018-10-30  
>   1.6   44   -- 


while in the UI:

[image: Screenshot 2018-11-06 14.27.06.png]

What could be 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/65c881d8-8d38-4ca7-8eaa-2a3f95768500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why I got empty content in CRITERIA_PERFORMANCE_REPORT in python

2018-11-07 Thread swu45 via AdWords API and Google Ads API Forum
Here's code I most copy from the 
sample(https://developers.google.com/adwords/api/docs/samples/python/reporting#download-a-criteria-performance-report-with-awql)

import sys
from googleads import adwords


def main(client):
  # Initialize appropriate service.
  report_downloader = client.GetReportDownloader(version='v201809')

  # Create report query.
  report_query = (adwords.ReportQueryBuilder()
  .Select('CampaignId', 'AdGroupId', 'Id', 'Criteria',
  'CriteriaType', 'FinalUrls', 'Impressions', 'Clicks',
  'Cost')
  .From('CRITERIA_PERFORMANCE_REPORT')
  .Where('Status').In('ENABLED', 'PAUSED')
  .During('LAST_30_DAYS')
  .Build())

  # You can provide a file object to write the output to. For this
  # demonstration we use sys.stdout to write the report to the screen.
  report_downloader.DownloadReportWithAwql(
  report_query, 'CSV', sys.stdout, skip_report_header=False,
  skip_column_header=False, skip_report_summary=False,
  include_zero_impressions=True)

if __name__ == '__main__':
  # Initialize client object.
  adwords_client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
  main(adwords_client)



After I ran the script, I got these info below:

"CRITERIA_PERFORMANCE_REPORT (Oct 8, 2018-Nov 6, 2018)"
Campaign ID,Ad group ID,Keyword ID,Keyword / Placement,Criteria Type,Final 
URL,Impressions,Clicks,Cost
Total, --, --, --, --, --,0,0,0


Is that something I missed or type wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9362302e-3b4a-4613-a662-201803d93cc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cancel account in api

2018-11-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Could you clarify if you are referring to cancellation of link invitation 
to client account? If so, then you can use the ManagedCustomerService 
.
 
This is done by setting the link status to CANCELLED in a SET operation 
(refer to code example provided in here 
).
 
However, if you are otherwise referring to cancellation of the client 
account itself, then it is not currently possible in the AdWords API, and 
you can only do this in the UI as you can see in this guide 
.

*Note*: We are running an annual developer feedback survey. Please take 
opportunity to leave feedback 

 on 
how we can make managing campaigns at scale even easier

Best regards,
Vincent
AdWords API Team

On Wednesday, November 7, 2018 at 6:03:24 PM UTC+8, 
fedorinovaa...@gmail.com wrote:
>
> Hi.
> I have mcc and I want to cancel the linked customer
> The adwords interface has a button "Cancel my account".
> How to do the same in api (AdWords API or Google Ads API)?
> Is there a method "Cancel account" in api (AdWords API or Google Ads API)?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d8505671-dbe7-4304-920a-094d0cd5c780%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I set target setting to Observation when I add audience or topic to ad group via api?

2018-11-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ken,

Setting the targeting setting of an audience to Observation is not yet 
supported in the API. You can only do this currently in the UI as you can 
see in this guide . 
Kindly follow our blog 
 to receive 
any future updates on if and when this feature will be supported.

*Note*: We are running an annual developer feedback survey. Please take 
opportunity to leave feedback 

 on 
how we can make managing campaigns at scale even easier.

Best regards,
Vincent
AdWords API Team

On Wednesday, November 7, 2018 at 6:33:29 PM UTC+8, Ken Hsu wrote:
>
> Hi everyone
> Is there any way to set target setting to Observation when I add audience 
> or topic to ad group via api?
> Just like attachment
> 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/87859456-8f2c-40e9-bc28-c8f568b95052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: LocationCriterionService, location name is not fully translated in RU locale, why?

2018-11-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

We were able to replicate the scenario. With this, I have created a request 
to update that particular location to its Russian equivalent. However, it 
is not a guarantee that this will be updated. You may follow our blog 
 for 
updates in AdWords API.

Best regards,
Vincent
AdWords API Team

On Wednesday, November 7, 2018 at 6:37:05 PM UTC+8, Олег Голованов wrote:
>
> Hi.
>
> Let's take as example location with id = 9057027.
> Its canonical name is "Petersburg Borough,Alaska,United States".
>
> Problem: if i request that region with locale=RU, its name will be 
> "Petersburg Borough,Аляска,Соединенные Штаты Америки".
> At the same time thats region is correctly translated in google ads 
> keyword planner web service: "Питерсберг,Аляска,Соединенные Штаты Америки".
>
> Question: is it somehow possible to get correctly translated location name 
> with API?
> Why API could not translate "Petersburg Borough" to "Питерсберг"?
>
> 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/0cc01dc8-9d95-4074-86b3-2239cfab43d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdService throws UNEXPECTED_INTERNAL_API_ERROR when filtering by AdType

2018-11-07 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Dorian,

Thanks again for raising this issue. The fix for this is live, so you can 
now filter by *AdType* in your *AdService* get requests. Please give it 
another try and post back here if you encounter any issues.

Cheers,
Josh, AdWords API Team

On Monday, October 22, 2018 at 12:20:26 PM UTC-4, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Dorian,
>
> Thanks for sending over the logs. I'm following up on the internal error 
> and will provide an update as soon as I hear back.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, October 22, 2018 at 7:19:30 AM UTC-4, Dorian Kind wrote:
>>
>> Hi Peter,
>>
>> thanks for your response. I've sent the SOAP logs in a private message.
>>
>> Best regards,
>> Dorian
>>
>> On Monday, 22 October 2018 12:42:48 UTC+2, Peter Oliquino (AdWords API 
>> Team) wrote:
>>>
>>> Hi Dorian,
>>>
>>> Could you send your SOAP logs as well? Our team will investigate this 
>>> and will get back to you as soon as we identify the root cause. You may 
>>> send them privately using the *reply privately to author* option.
>>>
>>> Thanks and regards,
>>> Peter
>>> AdWords API Team
>>>
>>> On Monday, October 22, 2018 at 5:54:39 PM UTC+8, Dorian Kind wrote:

 Hi,

 As the title says, AdService reproducibly errors out 
 with InternalApiError.UNEXPECTED_INTERNAL_API_ERROR when using a selector 
 with a predicate that filters by AdType. For example, use the following 
 AdService selector:

 {
 'predicates': [{
 'field': 'AdType',
 'operator': 'NOT_EQUALS',
 'values': ['IMAGE_AD']
 }],
 'fields': [
 'Id'
 ],
 'paging': {
 'numberResults': 10
 }
 }

 The result has been always UNEXPECTED_INTERNAL_API_ERROR for the ~10 
 accounts that I tested. The operator in the predicate does not seem to 
 matter, as soon as you filter on AdType, the error occurs. Happy to 
 provide 
 SOAP conversations.

 Best regards,
 Dorian




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/39af297c-1577-475d-bf7e-89861b07d76e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ADGROUP_PERFORMANCE_REPORT returns 400 error

2018-11-07 Thread saidar
Hi everyone!

I faced with another one issue, and cannot understand what can be a 
problem...

ReportQuery query = new ReportQuery.Builder()
.fields(
"Id")
.from(ReportDefinitionReportType.ADGROUP_PERFORMANCE_REPORT)
.where("Status").equalTo(ENABLED_STATUS)
.build();

ReportingConfiguration reportingConfiguration =
new ReportingConfiguration.Builder()
.skipColumnHeader(true)
.skipReportHeader(true)
.skipReportSummary(false)
.includeZeroImpressions(true)
.build();
session.setReportingConfiguration(reportingConfiguration);
ReportDownloaderInterface reportDownloader =
adWordsServices.getUtility(session, ReportDownloaderInterface.class);
BufferedReader reader = null;
AdGroupStoreIterator adGroupStoreIterator = new AdGroupStoreIterator(new 
ArrayList<>());
try {
// Set the property api.adwords.reportDownloadTimeout or call
// ReportDownloader.setReportDownloadTimeout to set a timeout (in 
milliseconds)
// for CONNECT and READ in report downloads.
final ReportDownloadResponse response =
reportDownloader.downloadReport(query.toString(), DownloadFormat.CSV);
// Read the response as a BufferedReader.
reader = new BufferedReader(new 
InputStreamReader(response.getInputStream(), UTF_8));


on the line "ReportDownloaderInterface reportDownloader = 
adWordsServices.getUtility(session, 
ReportDownloaderInterface.class);" the programm go to the catch block an 
shows me these output:

[07 Nov. 2018 16:38:46,500-report_download:INFO:main] HTTP request:
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [unknown (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, 
Axis/1.4, Java/10.0.2, jars, ReportDownloader, ReportQueryBuilder)]
developertoken: REDACTED
clientcustomerid: 8-4495
skipreportheader: false
skipcolumnheader: false
skipreportsummary: false
includezeroimpressions: true


Could you please explain what I am doing wrong?

Thanks!!
Saidar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/db974f50-7df0-4621-b807-6f221770c874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why I got empty content in CRITERIA_PERFORMANCE_REPORT in python

2018-11-07 Thread saidar
Hi!

As I understood that kind of reply means that you do not have data ion your 
account. There are can be different things:
1) Check that you are sending request to the right account: (not Managment 
account (Test/Prod) it should be exact Testing or Prod customer account)
2) Check that you  have data. I havent work with Criteria Perfomance 
Report, but at least: Campaing, AdGroup, Ads, Keywords.

Goog luck!!

среда, 7 ноября 2018 г., 12:23:22 UTC+1 пользователь sw...@aliyun.com 
написал:
>
> Here's code I most copy from the sample(
> https://developers.google.com/adwords/api/docs/samples/python/reporting#download-a-criteria-performance-report-with-awql
> )
>
> import sys
> from googleads import adwords
>
>
> def main(client):
>   # Initialize appropriate service.
>   report_downloader = client.GetReportDownloader(version='v201809')
>
>   # Create report query.
>   report_query = (adwords.ReportQueryBuilder()
>   .Select('CampaignId', 'AdGroupId', 'Id', 'Criteria',
>   'CriteriaType', 'FinalUrls', 'Impressions', 
> 'Clicks',
>   'Cost')
>   .From('CRITERIA_PERFORMANCE_REPORT')
>   .Where('Status').In('ENABLED', 'PAUSED')
>   .During('LAST_30_DAYS')
>   .Build())
>
>   # You can provide a file object to write the output to. For this
>   # demonstration we use sys.stdout to write the report to the screen.
>   report_downloader.DownloadReportWithAwql(
>   report_query, 'CSV', sys.stdout, skip_report_header=False,
>   skip_column_header=False, skip_report_summary=False,
>   include_zero_impressions=True)
>
> if __name__ == '__main__':
>   # Initialize client object.
>   adwords_client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
>   main(adwords_client)
>
>
>
> After I ran the script, I got these info below:
>
> "CRITERIA_PERFORMANCE_REPORT (Oct 8, 2018-Nov 6, 2018)"
> Campaign ID,Ad group ID,Keyword ID,Keyword / Placement,Criteria Type,Final 
> URL,Impressions,Clicks,Cost
> Total, --, --, --, --, --,0,0,0
>
>
> Is that something I missed or type wrong?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/60bfde7e-8afe-4dfc-9895-1a7ebcbf11d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdService throws UNEXPECTED_INTERNAL_API_ERROR when filtering by AdType

2018-11-07 Thread Dorian Kind
Hi Josh,

works great now! Thanks for the quick fix.

Best regards,
Dorian

On Wednesday, 7 November 2018 15:56:03 UTC+1, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Dorian,
>
> Thanks again for raising this issue. The fix for this is live, so you can 
> now filter by *AdType* in your *AdService* get requests. Please give it 
> another try and post back here if you encounter any issues.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, October 22, 2018 at 12:20:26 PM UTC-4, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Dorian,
>>
>> Thanks for sending over the logs. I'm following up on the internal error 
>> and will provide an update as soon as I hear back.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, October 22, 2018 at 7:19:30 AM UTC-4, Dorian Kind wrote:
>>>
>>> Hi Peter,
>>>
>>> thanks for your response. I've sent the SOAP logs in a private message.
>>>
>>> Best regards,
>>> Dorian
>>>
>>> On Monday, 22 October 2018 12:42:48 UTC+2, Peter Oliquino (AdWords API 
>>> Team) wrote:

 Hi Dorian,

 Could you send your SOAP logs as well? Our team will investigate this 
 and will get back to you as soon as we identify the root cause. You may 
 send them privately using the *reply privately to author* option.

 Thanks and regards,
 Peter
 AdWords API Team

 On Monday, October 22, 2018 at 5:54:39 PM UTC+8, Dorian Kind wrote:
>
> Hi,
>
> As the title says, AdService reproducibly errors out 
> with InternalApiError.UNEXPECTED_INTERNAL_API_ERROR when using a selector 
> with a predicate that filters by AdType. For example, use the following 
> AdService selector:
>
> {
> 'predicates': [{
> 'field': 'AdType',
> 'operator': 'NOT_EQUALS',
> 'values': ['IMAGE_AD']
> }],
> 'fields': [
> 'Id'
> ],
> 'paging': {
> 'numberResults': 10
> }
> }
>
> The result has been always UNEXPECTED_INTERNAL_API_ERROR for the ~10 
> accounts that I tested. The operator in the predicate does not seem to 
> matter, as soon as you filter on AdType, the error occurs. Happy to 
> provide 
> SOAP conversations.
>
> Best regards,
> Dorian
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/faa2170c-d051-4327-b794-bb3e172940da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Product Performance Reporting not showing products that were deleted only on Merchant

2018-11-07 Thread Rafael Botas
Hello,

we built a system that automatically detected when a user deleted a product 
from Merchant and then checks on Google Ads if it exists to delete it from 
there too.
To do that we are using the Product Partition Report to get all the Google 
Ads products in not removed Campaings/AdGroups.

The thing is this was working but now when I delete a product from Merchant 
the same product doesn't show on the report. However this removed product 
is showing in the AdGroup on the Google Ads UI.


We are using this fields on the report:
[
  'Id',
  'ParentCriterionId',
  'IsNegative',
  'ProductGroup',
  'AdGroupId',
  'AdGroupName',
  'Clicks',
  'Cost',
  'Impressions',
  'Ctr',
  'PartitionType',
  'CpcBid',
  'CampaignId',
  'CampaignName',
  'ConversionValue'
]


Are we doing something wrong? What has changed when we delete a product on 
Merchant?
Important to say that this system was built and tested a month ago and the 
Reporting was retrieving every active/paused Campaign's AdGroups products. 
And it was tested last week too.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5a51adfc-ac5d-4739-a2b8-f5a22afb8fc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why I got empty content in CRITERIA_PERFORMANCE_REPORT in python

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi there,

Upon reviewing this thread, Saidar is correct in his conclusion that you 
might not have any data on your account. Make sure that the 
clientCustomerId you're using is correct when downloading the report.

However, if you validate that there is indeed some data in your account and 
the API isn't returning anything, please provide your clientCustomerId via 
*reply 
privately to author* so I may look into this.

Sincerely,
Dannison
AdWords API Team

On Wednesday, November 7, 2018 at 7:23:22 PM UTC+8, sw...@aliyun.com wrote:
>
> Here's code I most copy from the sample(
> https://developers.google.com/adwords/api/docs/samples/python/reporting#download-a-criteria-performance-report-with-awql
> )
>
> import sys
> from googleads import adwords
>
>
> def main(client):
>   # Initialize appropriate service.
>   report_downloader = client.GetReportDownloader(version='v201809')
>
>   # Create report query.
>   report_query = (adwords.ReportQueryBuilder()
>   .Select('CampaignId', 'AdGroupId', 'Id', 'Criteria',
>   'CriteriaType', 'FinalUrls', 'Impressions', 
> 'Clicks',
>   'Cost')
>   .From('CRITERIA_PERFORMANCE_REPORT')
>   .Where('Status').In('ENABLED', 'PAUSED')
>   .During('LAST_30_DAYS')
>   .Build())
>
>   # You can provide a file object to write the output to. For this
>   # demonstration we use sys.stdout to write the report to the screen.
>   report_downloader.DownloadReportWithAwql(
>   report_query, 'CSV', sys.stdout, skip_report_header=False,
>   skip_column_header=False, skip_report_summary=False,
>   include_zero_impressions=True)
>
> if __name__ == '__main__':
>   # Initialize client object.
>   adwords_client = adwords.AdWordsClient.LoadFromStorage('googleads.yaml')
>   main(adwords_client)
>
>
>
> After I ran the script, I got these info below:
>
> "CRITERIA_PERFORMANCE_REPORT (Oct 8, 2018-Nov 6, 2018)"
> Campaign ID,Ad group ID,Keyword ID,Keyword / Placement,Criteria Type,Final 
> URL,Impressions,Clicks,Cost
> Total, --, --, --, --, --,0,0,0
>
>
> Is that something I missed or type wrong?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7ae35815-c007-44fe-bbeb-be7f420c1f40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP pass credentials dynamically (not through adsapi_php.ini)

2018-11-07 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Robert,

The solution described by Jean seems to be the best option for you based on 
your requirement.

Regards,
Sai Teja, AdWords API Team.

On Friday, August 25, 2017 at 2:42:38 PM UTC-4, Tim Johnson wrote:
>
> Hi Support,
>
> As my application will be supporting users from multiple MCC accounts, I 
> would prefer to not have to hardcode authentication credentials in the 
> adsapi_php.ini to authenticate requests (as suggested in the 
> documentation). Instead, I would like to pass the token/other credentials 
> as an argument to into a function.  I know you don't support REST, but is 
> there an easier way to authenticate requests than having to write to a .ini 
> file and then pass that through?
>
> Thanks,
> Tim
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/895413c1-96bc-4ae1-b702-c455661d6262%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AVERAGE_CPC feedback

2018-11-07 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

Could you confirm if you were trying to get the RequestType.STATS 

 using 
the TargetingIdeaService 

 for 
"hola"? If so, in my testing, I see that the API is returning a average CPC 
521866 which is $0.52. When testing this in the old view of the keyword 
planner, I am getting the suggested bid of $0.52 . Please see the SOAP logs 
and the screenshot for reference. The mapping of TargetingIdeaService to 
the keyword planner UI can be found here 
.
 
Please note that the values from the UI and API would be comparable in most 
cases but it is not guaranteed to result in the same values. These results 
should be treated as an approximation. If this is not what you were looking 
for, could you share your SOAP logs and the screenshot of the UI? Please 
note that TargetingIdeaService returns dummy data if the request is made 
against a test account. 

Thanks,
Sreelakshmi, 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/521f1274-c6c5-4c62-929c-ffbbdc1c1849%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TargetingIdeaService_Logs
Description: Binary data


Re: Product Performance Reporting not showing products that were deleted only on Merchant

2018-11-07 Thread Rafael Botas
Could anyone please help?

quarta-feira, 7 de Novembro de 2018 às 16:33:47 UTC, Rafael Botas escreveu:
>
> Hello,
>
> we built a system that automatically detected when a user deleted a 
> product from Merchant and then checks on Google Ads if it exists to delete 
> it from there too.
> To do that we are using the Product Partition Report to get all the Google 
> Ads products in not removed Campaings/AdGroups.
>
> The thing is this was working but now when I delete a product from 
> Merchant the same product doesn't show on the report. However this removed 
> product is showing in the AdGroup on the Google Ads UI.
>
>
> We are using this fields on the report:
> [
>   'Id',
>   'ParentCriterionId',
>   'IsNegative',
>   'ProductGroup',
>   'AdGroupId',
>   'AdGroupName',
>   'Clicks',
>   'Cost',
>   'Impressions',
>   'Ctr',
>   'PartitionType',
>   'CpcBid',
>   'CampaignId',
>   'CampaignName',
>   'ConversionValue'
> ]
>
>
> Are we doing something wrong? What has changed when we delete a product on 
> Merchant?
> Important to say that this system was built and tested a month ago and the 
> Reporting was retrieving every active/paused Campaign's AdGroups products. 
> And it was tested last week too.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/95c7f225-d132-4641-aab1-e658019598d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error accepting MCC invitation with PHP

2018-11-07 Thread Facundo Fasciolo
Hello Teja!

I could solve this issue, I'll share the problem in case it can help 
another person.

The problem was that I had an error in code:

When trying to accept the invitation, instead of doing:
 $linkOp->setOperator(Operator::ADD);

I had to do:
 $linkOp->setOperator(Operator::SET);


That was my error.

Thank you!

El martes, 6 de noviembre de 2018, 8:15:51 (UTC-3), Facundo Fasciolo 
escribió:
>
> Hello.
>
> I'm having some trouble accepting a sent MCC link invitation with PHP.
>
> The MCC account is not the top-level account, it is a sub MCC.
>
> I can send the invitation correctly (from account 9547216945 to client 
> 1096054675) usign the API, the problem is when I use Oauth2 to access on 
> behalf of that client and try to accept the invitation.
>
> Supose I have sent the invitation with no problem.
>
> I'm doing test using an Adwords account of my own, so that is my test 
> client.
>
> Then I follow next steps to accept:
>
>
>
> #
> #File: test.php
>
> #
> $clientId = "834249844
> ak68sd6t.apps.googleusercontent.com";
> $clientSecret = "uJdPPC..CN";
> $callbackUrl  = "http://mysite.com/test.php";;
>  
>
> $oauth2 = new OAuth2([
> 'authorizationUri'  => '
> https://accounts.google.com/o/oauth2/v2/auth',
> 'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
> 'redirectUri'  => $callbackUrl,
> 'clientId'=> $clientId,
> 'clientSecret'=> $clientSecret,
> 'scope' => '
> https://www.googleapis.com/auth/adwords', 
> ]);
>
>
> if (!isset($_GET['code'])) {
> $oauth2->setState(sha1(openssl_random_pseudo_bytes(1024)));
> $_SESSION['oauth2state'] = $oauth2->getState();
>
> // Redirect the user to the authorization URL.
> $config = [ 'access_type' => 'offline', 'prompt' => 'consent'];
>
> header('Location: ' . $oauth2->buildFullAuthorizationUri($config));
> exit;
> }
> elseif (empty($_GET['state']) || ($_GET['state'] !== 
> $_SESSION['oauth2state'])) {
> unset($_SESSION['oauth2state']);
> exit('Invalid state.');
> } 
> else {
> $oauth2->setCode($_GET['code']);
> $authToken = $oauth2->fetchAuthToken();
>
> $oAuth2Credential = (new OAuth2TokenBuilder())
>   ->withClientId($clientId)
>   ->withClientSecret($clientSecret)
>   ->withRefreshToken($authToken['refresh_token'])
>   ->build()
> ;
>
> // Construct an API session configured from the OAuth2 credentials 
> above.
> $session = (new AdWordsSessionBuilder())
> ->withDeveloperToken("m2l..Vq3g")
> ->withOAuth2Credential($oAuth2Credential)
> ->withClientCustomerId("1096054675") 
> ->build()
> ;
>
> $adWordsServices = new AdWordsServices();
> $linkOp = new LinkOperation();
> $link  = new ManagedCustomerLink();
> $link->setClientCustomerId('1096054675');
> $link->setManagerCustomerId('9547216945');
> $link->setLinkStatus(LinkStatus::ACTIVE);
> $linkOp->setOperand($link);
> $linkOp->setOperator(Operator::ADD);
> 
> $managedCustomerService = $adWordsServices->get($session, 
> ManagedCustomerService::class);
> $result = $managedCustomerService->mutateLink([$linkOp]);
> }
>
> #
>
>
> That script makes me login into the client account (the one that I'm using 
> for testing purpose), then I use that client refresh token with Oauth2, and 
> when I want to accept the previous sent invitation, I get this error: 
>
>  [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
>
> I tried to make it work multiple times with no success, anyone know what 
> I'm doing wrong here?
>
> 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/b5fd81e3-23e7-4793-89fa-9f9c17dc46ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: discrepancy between API and UI

2018-11-07 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

Can you include a screenshot that has more context, including column names 
and filters, to help us investigate? You can reply privately to me rather 
than post publicly by using the drop-down arrow at the top-right of my post.

Regards,
Mike, AdWords API Team

On Wednesday, November 7, 2018 at 6:22:57 AM UTC-5, Xiaoyun Yang wrote:
>
>
> Trying to get the search lost is (rank) from adgroup performance report; 
> But most of my ad groups, even high performance groups get undefined search 
> lost is while the UI shows actual numbers.
>
> The query I am using is:
>
> SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions, 
>> SearchRankLostImpressionShare 
>> FROM ADGROUP_PERFORMANCE_REPORT 
>> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
>> DURING 20180907, 20181105
>
>
> but it returns:
>
>Campaign ID  Ad group ID   Device Day  Avg. 
>> position  Impressions Search Lost IS (rank)
>> 11211868211030  42984184479  Mobile devices w...  2018-10-18  
>>   2.1   46   -- 
>> 14951868211030  42984184479  Mobile devices w...  2018-10-27  
>>   2.3   46   -- 
>> 4036 868211030  42984184479  Mobile devices w...  2018-09-17  
>>   1.6   46   -- 
>> 11343868211030  42984184479  Mobile devices w...  2018-10-20  
>>   1.9   45   -- 
>> 16476868211030  42984184479  Mobile devices w...  2018-10-30  
>>   1.6   44   -- 
>
>
> while in the UI:
>
> [image: Screenshot 2018-11-06 14.27.06.png]
>
> What could be the problem? Thanks!
> -- 
> [image: PureCars] 
>
> Think Beyond the Click
>
> Win the Customer with PureCars
>
> www.PureCars.com 
>
>
> Google Premier Partner
>
> Bing Elite SMB Partner
> *Xiaoyun Yang*
>
> Data Science Analyst
>
> *Direct*
> 404-951-8991
>
>
> *Email*
> xiaoy...@purecars.com 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d81e3534-1445-46a4-9dd7-4fae75189715%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Check if telephone number was clicked in Google Ads

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Eryk,

Account statistics in reports(such as clicks, conversions and impressions) 
are are usually computed within a day.  You may refer to this guide 

 about 
data freshness for further details.

As per your second question, Unfortunately, JOINING is not possible because 
JOIN and GROUP BY clauses are omitted from the AdWords Query Language as 
you can read from this guide 
.

Regards,
Dannison, AdWords API Team

On Wednesday, November 7, 2018 at 7:23:05 PM UTC+8, Eryk Schubert wrote:
>
> Hey,
>
> thanks for you answer. I have a few more questions. You said that this is 
> not being made in real-time. So you mean that the information about call is 
> usually inserted to report with some delay, right? What is the delay then?
> Is there any way to use some other reports (with having that campaing and 
> adGroup data from the Call Metrics Call Details Report) more or less like 
> JOINING tables in SQL? :) 
>
> Best regards,
> Eryk
>
> On Tuesday, November 6, 2018 at 9:02:49 PM UTC+1, Dannison Yao (AdWords 
> API Team) wrote:
>>
>> Hi Eryk,
>>
>> You could download the Call Metrics Call Details Report 
>> 
>>  to 
>> get data for call tracking of call-only ads or call extensions. You may 
>> use the CallTrackingDisplayLocation 
>> 
>>  field to determine if the phone number was shown in the ad or in the 
>> landing page, however this is only available in reports and is not 
>> available in real-time.
>>
>> Additionally, there is no field in this report type that returns the 
>> keywords that triggered the ad, only campaign and adGroup data is available 
>> on this report type.
>>
>> Let me know if this helps or if I misunderstood your concern.
>>
>> Regards,
>> Adrian Mayoralgo, AdWords API Team
>>
>> On Tuesday, November 6, 2018 at 7:20:36 PM UTC+8, Eryk Schubert wrote:
>>>
>>> Hey,
>>>
>>> I am currently creating a contact center system which handles telephone 
>>> conversations. I would like to be able to check if the incoming telephone 
>>> call was invoked by clicking the telephone number displayed in google ad by 
>>> potential client. Moreover it would be great to find out what keywords the 
>>> client used to find my telephone number. All this information would be 
>>> displayed in my system during the conversation.
>>>
>>> Do you have any ideas if it would be possible to get such an 
>>> information? And where I should start?
>>>
>>> Best regards,
>>> Eryk
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/34554823-1fa2-4c84-b3d5-75f6e1e9777e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: discrepancy between API and UI

2018-11-07 Thread Xiaoyun Yang
I just sent a screenshot to you. Thanks very much for taking a look!

On Wednesday, November 7, 2018 at 12:40:50 PM UTC-5, Michael Cloonan 
(AdWords API Team) wrote:
>
> Hello,
>
> Can you include a screenshot that has more context, including column names 
> and filters, to help us investigate? You can reply privately to me rather 
> than post publicly by using the drop-down arrow at the top-right of my post.
>
> Regards,
> Mike, AdWords API Team
>
> On Wednesday, November 7, 2018 at 6:22:57 AM UTC-5, Xiaoyun Yang wrote:
>>
>>
>> Trying to get the search lost is (rank) from adgroup performance report; 
>> But most of my ad groups, even high performance groups get undefined search 
>> lost is while the UI shows actual numbers.
>>
>> The query I am using is:
>>
>> SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, Impressions, 
>>> SearchRankLostImpressionShare 
>>> FROM ADGROUP_PERFORMANCE_REPORT 
>>> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
>>> DURING 20180907, 20181105
>>
>>
>> but it returns:
>>
>>Campaign ID  Ad group ID   Device Day  Avg. 
>>> position  Impressions Search Lost IS (rank)
>>> 11211868211030  42984184479  Mobile devices w...  2018-10-18
>>> 2.1   46   -- 
>>> 14951868211030  42984184479  Mobile devices w...  2018-10-27
>>> 2.3   46   -- 
>>> 4036 868211030  42984184479  Mobile devices w...  2018-09-17
>>> 1.6   46   -- 
>>> 11343868211030  42984184479  Mobile devices w...  2018-10-20
>>> 1.9   45   -- 
>>> 16476868211030  42984184479  Mobile devices w...  2018-10-30
>>> 1.6   44   -- 
>>
>>
>> while in the UI:
>>
>> [image: Screenshot 2018-11-06 14.27.06.png]
>>
>> What could be the problem? Thanks!
>> -- 
>> [image: PureCars] 
>>
>> Think Beyond the Click
>>
>> Win the Customer with PureCars
>>
>> www.PureCars.com 
>>
>>
>> Google Premier Partner
>>
>> Bing Elite SMB Partner
>> *Xiaoyun Yang*
>>
>> Data Science Analyst
>>
>> *Direct*
>> 404-951-8991
>>
>>
>> *Email*
>> xiao...@purecars.com 
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e1d4f2fb-9030-4807-8947-040a016cb00d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: discrepancy between API and UI

2018-11-07 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

Thanks for the screenshot! I am going to investigate and get in touch with 
the team in charge of this column to try to figure out why it's showing in 
the web interface but not in the API. I will let you know when I have any 
information to share.

Regards,
Mike, AdWords API Team

On Wednesday, November 7, 2018 at 1:22:33 PM UTC-5, Xiaoyun Yang wrote:
>
> I just sent a screenshot to you. Thanks very much for taking a look!
>
> On Wednesday, November 7, 2018 at 12:40:50 PM UTC-5, Michael Cloonan 
> (AdWords API Team) wrote:
>>
>> Hello,
>>
>> Can you include a screenshot that has more context, including column 
>> names and filters, to help us investigate? You can reply privately to me 
>> rather than post publicly by using the drop-down arrow at the top-right of 
>> my post.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Wednesday, November 7, 2018 at 6:22:57 AM UTC-5, Xiaoyun Yang wrote:
>>>
>>>
>>> Trying to get the search lost is (rank) from adgroup performance report; 
>>> But most of my ad groups, even high performance groups get undefined search 
>>> lost is while the UI shows actual numbers.
>>>
>>> The query I am using is:
>>>
>>> SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, 
 Impressions, SearchRankLostImpressionShare 
 FROM ADGROUP_PERFORMANCE_REPORT 
 WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
 DURING 20180907, 20181105
>>>
>>>
>>> but it returns:
>>>
>>>Campaign ID  Ad group ID   Device Day  Avg. 
 position  Impressions Search Lost IS (rank)
 11211868211030  42984184479  Mobile devices w...  2018-10-18
 2.1   46   -- 
 14951868211030  42984184479  Mobile devices w...  2018-10-27
 2.3   46   -- 
 4036 868211030  42984184479  Mobile devices w...  2018-09-17
 1.6   46   -- 
 11343868211030  42984184479  Mobile devices w...  2018-10-20
 1.9   45   -- 
 16476868211030  42984184479  Mobile devices w...  2018-10-30
 1.6   44   -- 
>>>
>>>
>>> while in the UI:
>>>
>>> [image: Screenshot 2018-11-06 14.27.06.png]
>>>
>>> What could be the problem? Thanks!
>>> -- 
>>> [image: PureCars] 
>>>
>>> Think Beyond the Click
>>>
>>> Win the Customer with PureCars
>>>
>>> www.PureCars.com 
>>>
>>>
>>> Google Premier Partner
>>>
>>> Bing Elite SMB Partner
>>> *Xiaoyun Yang*
>>>
>>> Data Science Analyst
>>>
>>> *Direct*
>>> 404-951-8991
>>>
>>>
>>> *Email*
>>> xiao...@purecars.com
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b8d7ebe-b59e-4d03-aa06-df71f6c6ced0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: discrepancy between API and UI

2018-11-07 Thread Xiaoyun Yang
That would be greatly appreciated. Thank you!

On Wednesday, November 7, 2018 at 2:01:11 PM UTC-5, Michael Cloonan 
(AdWords API Team) wrote:
>
> Hello,
>
> Thanks for the screenshot! I am going to investigate and get in touch with 
> the team in charge of this column to try to figure out why it's showing in 
> the web interface but not in the API. I will let you know when I have any 
> information to share.
>
> Regards,
> Mike, AdWords API Team
>
> On Wednesday, November 7, 2018 at 1:22:33 PM UTC-5, Xiaoyun Yang wrote:
>>
>> I just sent a screenshot to you. Thanks very much for taking a look!
>>
>> On Wednesday, November 7, 2018 at 12:40:50 PM UTC-5, Michael Cloonan 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> Can you include a screenshot that has more context, including column 
>>> names and filters, to help us investigate? You can reply privately to me 
>>> rather than post publicly by using the drop-down arrow at the top-right of 
>>> my post.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Wednesday, November 7, 2018 at 6:22:57 AM UTC-5, Xiaoyun Yang wrote:


 Trying to get the search lost is (rank) from adgroup performance 
 report; But most of my ad groups, even high performance groups get 
 undefined search lost is while the UI shows actual numbers.

 The query I am using is:

 SELECT CampaignId, AdGroupId, Device, Date, AveragePosition, 
> Impressions, SearchRankLostImpressionShare 
> FROM ADGROUP_PERFORMANCE_REPORT 
> WHERE CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] 
> DURING 20180907, 20181105


 but it returns:

Campaign ID  Ad group ID   Device Day  Avg. 
> position  Impressions Search Lost IS (rank)
> 11211868211030  42984184479  Mobile devices w...  2018-10-18  
>   2.1   46   -- 
> 14951868211030  42984184479  Mobile devices w...  2018-10-27  
>   2.3   46   -- 
> 4036 868211030  42984184479  Mobile devices w...  2018-09-17  
>   1.6   46   -- 
> 11343868211030  42984184479  Mobile devices w...  2018-10-20  
>   1.9   45   -- 
> 16476868211030  42984184479  Mobile devices w...  2018-10-30  
>   1.6   44   -- 


 while in the UI:

 [image: Screenshot 2018-11-06 14.27.06.png]

 What could be the problem? Thanks!
 -- 
 [image: PureCars] 

 Think Beyond the Click

 Win the Customer with PureCars

 www.PureCars.com 


 Google Premier Partner

 Bing Elite SMB Partner
 *Xiaoyun Yang*

 Data Science Analyst

 *Direct*
 404-951-8991


 *Email*
 xiao...@purecars.com



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/347dd01b-be5b-4fe5-acd4-92e70a7968cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error accepting MCC invitation with PHP

2018-11-07 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Facundo,

Glad the problem is resolved. Thanks for sharing your solution, it might be 
helpful for others.

Regards,
Sai Teja, AdWords API Team.

On Tuesday, November 6, 2018 at 6:15:51 AM UTC-5, Facundo Fasciolo wrote:
>
> Hello.
>
> I'm having some trouble accepting a sent MCC link invitation with PHP.
>
> The MCC account is not the top-level account, it is a sub MCC.
>
> I can send the invitation correctly (from account 9547216945 to client 
> 1096054675) usign the API, the problem is when I use Oauth2 to access on 
> behalf of that client and try to accept the invitation.
>
> Supose I have sent the invitation with no problem.
>
> I'm doing test using an Adwords account of my own, so that is my test 
> client.
>
> Then I follow next steps to accept:
>
>
>
> #
> #File: test.php
>
> #
> $clientId = "834249844
> ak68sd6t.apps.googleusercontent.com";
> $clientSecret = "uJdPPC..CN";
> $callbackUrl  = "http://mysite.com/test.php";;
>  
>
> $oauth2 = new OAuth2([
> 'authorizationUri'  => '
> https://accounts.google.com/o/oauth2/v2/auth',
> 'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
> 'redirectUri'  => $callbackUrl,
> 'clientId'=> $clientId,
> 'clientSecret'=> $clientSecret,
> 'scope' => '
> https://www.googleapis.com/auth/adwords', 
> ]);
>
>
> if (!isset($_GET['code'])) {
> $oauth2->setState(sha1(openssl_random_pseudo_bytes(1024)));
> $_SESSION['oauth2state'] = $oauth2->getState();
>
> // Redirect the user to the authorization URL.
> $config = [ 'access_type' => 'offline', 'prompt' => 'consent'];
>
> header('Location: ' . $oauth2->buildFullAuthorizationUri($config));
> exit;
> }
> elseif (empty($_GET['state']) || ($_GET['state'] !== 
> $_SESSION['oauth2state'])) {
> unset($_SESSION['oauth2state']);
> exit('Invalid state.');
> } 
> else {
> $oauth2->setCode($_GET['code']);
> $authToken = $oauth2->fetchAuthToken();
>
> $oAuth2Credential = (new OAuth2TokenBuilder())
>   ->withClientId($clientId)
>   ->withClientSecret($clientSecret)
>   ->withRefreshToken($authToken['refresh_token'])
>   ->build()
> ;
>
> // Construct an API session configured from the OAuth2 credentials 
> above.
> $session = (new AdWordsSessionBuilder())
> ->withDeveloperToken("m2l..Vq3g")
> ->withOAuth2Credential($oAuth2Credential)
> ->withClientCustomerId("1096054675") 
> ->build()
> ;
>
> $adWordsServices = new AdWordsServices();
> $linkOp = new LinkOperation();
> $link  = new ManagedCustomerLink();
> $link->setClientCustomerId('1096054675');
> $link->setManagerCustomerId('9547216945');
> $link->setLinkStatus(LinkStatus::ACTIVE);
> $linkOp->setOperand($link);
> $linkOp->setOperator(Operator::ADD);
> 
> $managedCustomerService = $adWordsServices->get($session, 
> ManagedCustomerService::class);
> $result = $managedCustomerService->mutateLink([$linkOp]);
> }
>
> #
>
>
> That script makes me login into the client account (the one that I'm using 
> for testing purpose), then I use that client refresh token with Oauth2, and 
> when I want to accept the previous sent invitation, I get this error: 
>
>  [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
>
> I tried to make it work multiple times with no success, anyone know what 
> I'm doing wrong here?
>
> 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/69772570-3d62-4b7b-a863-07a4a2c83dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED to a new MCC account

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Omri,

The AuthorizationError.USER_PERMISSION_DENIED 

 error 
occurs when user does not have permission to access the customer. 

It could be that there is no link between the manager account authenticated 
in the request with the client account specified in the headers or your 
OAuth2 credentials are from a user who does not have access to the client 
customer ID specified or any of its manager accounts. 

This said, you should make sure that the OAuth2 credentials you are using 
were generated using an email address that has access to the account you 
are making the API request to. Also, you could use 
ManagedCustomerService.get() 

  to determine which client accounts are linked to your manager account 
(see sample code  
for
 
reference).

If error persists, could you provide the complete SOAP request and response 
logs that were generated when the error was encountered so I could 
investigate further? You may use the *Reply privately to author* option.

Regards,
Dannison
AdWords API Team

On Wednesday, November 7, 2018 at 7:23:25 PM UTC+8, omri...@singular.net 
wrote:
>
> Hi,
>
> We are a third party that manages our new customer MCC account.
> When calling *ManagedCustomerService *we receive  - 
> AuthorizationError.USER_PERMISSION_DENIED.
> I would like to add the full logs once I can replay privately,
>
> Thanks in advance,
> Omri Gal
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c32ba423-8677-41d4-bc57-cf221d98be5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: LocationCriterionService, location name is not fully translated in RU locale, why?

2018-11-07 Thread Олег Голованов
Hi.

Example shown above is just one of many-many others.

The main question is: why keyword planner 
( https://ads.google.com/aw/keywordplanner/home ) shows correctly 
translated region, but API not?
Keyword planner uses another "database", or?

Thanks.

On Wednesday, November 7, 2018 at 2:55:04 PM UTC+3, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi,
>
> We were able to replicate the scenario. With this, I have created a 
> request to update that particular location to its Russian equivalent. 
> However, it is not a guarantee that this will be updated. You may follow 
> our blog  for 
> updates in AdWords API.
>
> Best regards,
> Vincent
> AdWords API Team
>
> On Wednesday, November 7, 2018 at 6:37:05 PM UTC+8, Олег Голованов wrote:
>>
>> Hi.
>>
>> Let's take as example location with id = 9057027.
>> Its canonical name is "Petersburg Borough,Alaska,United States".
>>
>> Problem: if i request that region with locale=RU, its name will be 
>> "Petersburg Borough,Аляска,Соединенные Штаты Америки".
>> At the same time thats region is correctly translated in google ads 
>> keyword planner web service: "Питерсберг,Аляска,Соединенные Штаты Америки".
>>
>> Question: is it somehow possible to get correctly translated location 
>> name with API?
>> Why API could not translate "Petersburg Borough" to "Питерсберг"?
>>
>> 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/33271c12-410b-41e2-bea4-618917260e07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2018-11-07 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

This is quite an old thread. Can you do me a HUGE favor? Could you please 
start a new thread with this question as I believe this may be a new issue?

Thanks,
Nadine, AdWords API Team

On Tuesday, November 6, 2018 at 7:23:21 PM UTC-5, Inessa M wrote:
>
> Hi all,
>
> I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
> without BatchJobs; API version is 201802) and I get the same error. 
> Can anyone help me please? Thanks in advance.
>
> суббота, 4 марта 2017 г., 4:19:36 UTC+10 пользователь Nadine Sundquist 
> (AdWords API Team) написал:
>>
>> Hello AdWordsians,
>>
>> I just got the all clear that code has been pushed to our servers that 
>> should make this issue disappear. Please get in contact with me if you see 
>> this error happening with HTML5 ads. Based on my analysis, it looks like 
>> the issue first started late Wednesday night and continued into today. At 
>> this point, you should no longer see this error.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Hello Everyone!
>>>
>>> I no longer need the request IDs. I found the root cause by surfing our 
>>> logging servers. I've made this the top priority around here. I'll post an 
>>> update here when I have more news.
>>>
>>> Best,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
>>> API Team) wrote:

 Hello Adam,

 Would you happen to have request IDs for some of the failures on 
 AdGroupAdService? The *requestId* would be in your SOAP XML response. 
 That would help me narrow this down a little faster.

 Thanks,
 Nadine, AdWords API Team

 On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords 
 API Team) wrote:
>
> Greetings AdWordsians!
>
> Thank you to everyone who spoke up here. I'm looking into it. When 
> something like this happens, it doesn't tend to be a coincidence. I'll 
> get 
> back to you as soon as I finish investigating.
>
> Best,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>
>> Hi there,
>>
>> the same seems to happen when using BatchJobs. Any job that contains 
>> creation operations for HTML5 template ads reproducibly fails 
>> with BatchJobProcessingError.INTERNAL_ERROR.
>> Any workarounds would be greatly appreciated.
>>
>> Best regards,
>> Dorian
>>
>> On Friday, March 3, 2017 at 7:36:57 AM UTC+1, Justin Masters wrote:
>>>
>>> We're also getting this error in code that was working recently. 
>>> Keen to know what's happened
>>>
>>> Justin
>>>
>>> On Friday, March 3, 2017 at 11:44:05 AM UTC+11, Adam Marshall wrote:

 I have now downloaded the .Net adwords_dotnet_lib_src_v19.1.0 
 solution and ran the AddHtml5ad.cs, and this example also crashes.



 So it is reproducible in the examples.

 Can someone help me please?

 Thanks,

 Adam



 On Friday, 3 March 2017 11:26:11 UTC+13, Adam Marshall wrote:

> Hello, I have been receiving the following error when attempting 
> to create an html5 template for the last 36 hours:
>
> This is the only error information received:
> (Error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, FieldPath: 
> , Trigger: )
>
>
> This has been working unchanged for over 8 months, yesterday it 
> started throwing these errors.
>
> I am using v201609 ( I also tested on 201702, but same issue)
>
> The campaign and adgroup are created successfully, just uploading 
> the html5 ads is failing.
>
> Here is my c# code:
>
>  AdWordsApiVersion.AdGroupAdService adGroupAdService = 
> (AdWordsApiVersion.AdGroupAdService)User.GetService(AdWordsServiceVersion.AdGroupAdService);
> AdWordsApiVersion.TemplateAd html5Ad = new 
> AdWordsApiVersion.TemplateAd()
> {
> name = adName,
> templateId = 419,
> finalUrls = new string[] { finalUrl },
> displayUrl = displayUrl,
> dimensions = new AdWordsApiVersion.Dimensions()
> {
> width = width,
> height = height
> }
> };
> AdWordsApiVersion.MediaBundle mediaBundle = new 
> AdWordsApiVersion.MediaBundle()
> {
> data = html5ZipBytes,
> entryPoint = 
> GaTemplateManage

Error when set advertisingChannelSubType value

2018-11-07 Thread Tuan Nguyen Minh


Hi,


When i create new campaign with advertisingChannelSubType value, i receive 
an error: 


*OperationAccessDeniedReason.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE. 
(Error: OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE, 
FieldPath: operations[0].operand.advertisingChannelSubType, Trigger: 
SHOPPING(SHOPPING_GOAL_OPTIMIZED_ADS))*



[image: code.png]

How can i set advertisingChannelSubType value?


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/ef29048a-cc02-45cf-82eb-7701598dca10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How links (map)product from Product Partition Report and Shopping Performance Report

2018-11-07 Thread Александр Михайленко
Hello. How I can links products from Product Partition report and products 
from Shopping Performance report ?
I recieve data from shopping campaign report, doing some calculations, and 
need to update product bid (max.CPC) in my account. But i can't find a 
criteria ID in shopping campaign report( And I request a product partition 
report (it has a criterion ID, but dont have a Offer ID) and i can't to 
match this 2 report in one. Please help me with this question. 
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/ad3222c5-7a52-44ec-8d4d-66b157590963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Newbie In Need Of Direction

2018-11-07 Thread Daniel Starns
Hi All,

I have been studying programming & computer science for a year now. HTML & 
CSS for more than 2 years. I am very confident using javascript & have been 
producing app scripts on ads for months.

I have started learning python due to the fact there is a demand for using 
the ads api at my workplace. I have completely devoted 100% of my time to 
learning new programming languages, techniques and technologies. No task is 
too big! - 14 hour a day study :O 

Within my workplace, I have been given the task of creating a web based 
dashboard that uses the API. I literally have no clue where to start or 
what to do, but I said yes anyway, just like any young aspiring developer 
would...

I have got a reasonable understanding of programming and the thought 
processes around it, but I need some direction from you guys who are more 
experienced than me. 

Has anyone got a list of technologies and tools I would need to know? 
Has anyone got any ideas of simple tasks I could do to start building my 
knowledge? 
Could someone provide a simple roadmap of the steps i would need to achive 
this goal? 

I'd really appreciate any help, i have looked through the documentation but 
still finding it difficult on where to start.

Thanks,
Dan


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d1209e6b-e5cf-47bb-ba91-261967a4f8aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


InternalApiError.UNEXPECTED_INTERNAL_API_ERROR while adding HTML5 ads

2018-11-07 Thread Inessa M

Hi all,

I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
without BatchJobs; API version is 201802) and get  
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. 
Can anyone help me please? Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0d186a7e-4619-4964-99e2-1f05754e22bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2018-11-07 Thread Inessa M
Hello Nadine,

Sure, here is the new 
thread https://groups.google.com/forum/#!topic/adwords-api/GT4j1vigFC8 .

Regards,
Inessa M.

четверг, 8 ноября 2018 г., 7:08:21 UTC+10 пользователь Nadine Sundquist 
(AdWords API Team) написал:
>
> Hello,
>
> This is quite an old thread. Can you do me a HUGE favor? Could you please 
> start a new thread with this question as I believe this may be a new issue?
>
> Thanks,
> Nadine, AdWords API Team
>
> On Tuesday, November 6, 2018 at 7:23:21 PM UTC-5, Inessa M wrote:
>>
>> Hi all,
>>
>> I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
>> without BatchJobs; API version is 201802) and I get the same error. 
>> Can anyone help me please? Thanks in advance.
>>
>> суббота, 4 марта 2017 г., 4:19:36 UTC+10 пользователь Nadine Sundquist 
>> (AdWords API Team) написал:
>>>
>>> Hello AdWordsians,
>>>
>>> I just got the all clear that code has been pushed to our servers that 
>>> should make this issue disappear. Please get in contact with me if you see 
>>> this error happening with HTML5 ads. Based on my analysis, it looks like 
>>> the issue first started late Wednesday night and continued into today. At 
>>> this point, you should no longer see this error.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
>>> API Team) wrote:

 Hello Everyone!

 I no longer need the request IDs. I found the root cause by surfing our 
 logging servers. I've made this the top priority around here. I'll post an 
 update here when I have more news.

 Best,
 Nadine, AdWords API Team

 On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
 API Team) wrote:
>
> Hello Adam,
>
> Would you happen to have request IDs for some of the failures on 
> AdGroupAdService? The *requestId* would be in your SOAP XML response. 
> That would help me narrow this down a little faster.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Greetings AdWordsians!
>>
>> Thank you to everyone who spoke up here. I'm looking into it. When 
>> something like this happens, it doesn't tend to be a coincidence. I'll 
>> get 
>> back to you as soon as I finish investigating.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>>
>>> Hi there,
>>>
>>> the same seems to happen when using BatchJobs. Any job that contains 
>>> creation operations for HTML5 template ads reproducibly fails 
>>> with BatchJobProcessingError.INTERNAL_ERROR.
>>> Any workarounds would be greatly appreciated.
>>>
>>> Best regards,
>>> Dorian
>>>
>>> On Friday, March 3, 2017 at 7:36:57 AM UTC+1, Justin Masters wrote:

 We're also getting this error in code that was working recently. 
 Keen to know what's happened

 Justin

 On Friday, March 3, 2017 at 11:44:05 AM UTC+11, Adam Marshall wrote:
>
> I have now downloaded the .Net adwords_dotnet_lib_src_v19.1.0 
> solution and ran the AddHtml5ad.cs, and this example also crashes.
>
>
>
> So it is reproducible in the examples.
>
> Can someone help me please?
>
> Thanks,
>
> Adam
>
>
>
> On Friday, 3 March 2017 11:26:11 UTC+13, Adam Marshall wrote:
>
>> Hello, I have been receiving the following error when attempting 
>> to create an html5 template for the last 36 hours:
>>
>> This is the only error information received:
>> (Error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, 
>> FieldPath: , Trigger: )
>>
>>
>> This has been working unchanged for over 8 months, yesterday it 
>> started throwing these errors.
>>
>> I am using v201609 ( I also tested on 201702, but same issue)
>>
>> The campaign and adgroup are created successfully, just uploading 
>> the html5 ads is failing.
>>
>> Here is my c# code:
>>
>>  AdWordsApiVersion.AdGroupAdService adGroupAdService = 
>> (AdWordsApiVersion.AdGroupAdService)User.GetService(AdWordsServiceVersion.AdGroupAdService);
>> AdWordsApiVersion.TemplateAd html5Ad = new 
>> AdWordsApiVersion.TemplateAd()
>> {
>> name = adName,
>> templateId = 419,
>> finalUrls = new string[] { finalUrl },
>> displayUrl = displayUrl,
>> dimensions = new AdWordsApiVersion.Dimensions()
>> {
>>  

Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR while adding HTML5 ads

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi there,

The UNEXPECTED_INTERNAL_API_ERROR 

 indicates 
that there might be a temporary issue in the servers or could be due to a 
bug. Could you confirm if you are able to encounter this multiple times? If 
yes, you may send to me your clientCustomerId and the SOAP request and 
response logs so I can further investigate.

You may reply to me using the *Reply privately to author* option.

Sincerely,
Dannison
AdWords API Team

On Thursday, November 8, 2018 at 6:06:19 AM UTC+8, Inessa M wrote:
>
>
> Hi all,
>
> I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
> without BatchJobs; API version is 201802) and get  
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. 
> Can anyone help me please? Thanks in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ba924ce1-9f48-40ba-90c2-3b51f775a15f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when set advertisingChannelSubType value

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tuan,

The error OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE 

 is 
encountered when you are invoking an operation that is not supported for 
that specific campaign type.

Upon checking your code, seems that you are setting the 
advertisingChannelSubType 

 correctly. 
To further investigate this, could you provide the complete SOAP request 
and response logs generated when the error was encountered via *Reply 
privately to author*? 

Regards,
Dannison
AdWords API Team

On Thursday, November 8, 2018 at 5:24:19 AM UTC+8, Tuan Nguyen Minh wrote:
>
> Hi,
>
>
> When i create new campaign with advertisingChannelSubType value, i receive 
> an error: 
>
>
> *OperationAccessDeniedReason.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE. 
> (Error: OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE, 
> FieldPath: operations[0].operand.advertisingChannelSubType, Trigger: 
> SHOPPING(SHOPPING_GOAL_OPTIMIZED_ADS))*
>
>
>
> [image: code.png]
>
> How can i set advertisingChannelSubType value?
>
>
> 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/5dfef12d-50f3-4596-a234-79ae4f73ee63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Product Performance Reporting not showing products that were deleted only on Merchant

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Rafael,

To investigate this further, could you provide the clientCustomerId used in 
downloading the report and screenshot that shows the product in the Google 
Ads UI? You may send them to me using the *reply privately to author*
 option.

Regards,
Dannison, AdWords API Team

On Thursday, November 8, 2018 at 1:36:57 AM UTC+8, Rafael Botas wrote:
>
> Could anyone please help?
>
> quarta-feira, 7 de Novembro de 2018 às 16:33:47 UTC, Rafael Botas escreveu:
>>
>> Hello,
>>
>> we built a system that automatically detected when a user deleted a 
>> product from Merchant and then checks on Google Ads if it exists to delete 
>> it from there too.
>> To do that we are using the Product Partition Report to get all the 
>> Google Ads products in not removed Campaings/AdGroups.
>>
>> The thing is this was working but now when I delete a product from 
>> Merchant the same product doesn't show on the report. However this removed 
>> product is showing in the AdGroup on the Google Ads UI.
>>
>>
>> We are using this fields on the report:
>> [
>>   'Id',
>>   'ParentCriterionId',
>>   'IsNegative',
>>   'ProductGroup',
>>   'AdGroupId',
>>   'AdGroupName',
>>   'Clicks',
>>   'Cost',
>>   'Impressions',
>>   'Ctr',
>>   'PartitionType',
>>   'CpcBid',
>>   'CampaignId',
>>   'CampaignName',
>>   'ConversionValue'
>> ]
>>
>>
>> Are we doing something wrong? What has changed when we delete a product 
>> on Merchant?
>> Important to say that this system was built and tested a month ago and 
>> the Reporting was retrieving every active/paused Campaign's AdGroups 
>> products. And it was tested last week too.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2fbe49ac-412b-4735-98e8-787e28d48587%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Product Performance Reporting not showing products that were deleted sakahjlblhbibfkshr.coonly on Merchant

2018-11-07 Thread الشيخ الروحاني الحاج رشيد الكندي
Re: Product Performance Reporting not showing products that were deleted 
sakahjlblhbibfkshr.coonly on Merchant

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d786b67c-0eb2-4765-abc5-3b1966d09a2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Newbie In Need Of Direction

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Dan,

Unfortunately, I can only point you to our documented guide. To help you 
get started you can follow this guide 
 about the 
AdWords API and for the sample Python code basic operations you may refer 
to this guide 
.
 
If you encountered any issues, feel free to write back so I could assist 
you with your concern.

I hope this helps.

Regards,
Dannison
AdWords API Team 

On Thursday, November 8, 2018 at 5:24:28 AM UTC+8, Daniel Starns wrote:
>
> Hi All,
>
> I have been studying programming & computer science for a year now. HTML & 
> CSS for more than 2 years. I am very confident using javascript & have been 
> producing app scripts on ads for months.
>
> I have started learning python due to the fact there is a demand for using 
> the ads api at my workplace. I have completely devoted 100% of my time to 
> learning new programming languages, techniques and technologies. No task is 
> too big! - 14 hour a day study :O 
>
> Within my workplace, I have been given the task of creating a web based 
> dashboard that uses the API. I literally have no clue where to start or 
> what to do, but I said yes anyway, just like any young aspiring developer 
> would...
>
> I have got a reasonable understanding of programming and the thought 
> processes around it, but I need some direction from you guys who are more 
> experienced than me. 
>
> Has anyone got a list of technologies and tools I would need to know? 
> Has anyone got any ideas of simple tasks I could do to start building my 
> knowledge? 
> Could someone provide a simple roadmap of the steps i would need to achive 
> this goal? 
>
> I'd really appreciate any help, i have looked through the documentation 
> but still finding it difficult on where to start.
>
> Thanks,
> Dan
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/459bf8e7-1355-4c65-8920-06c341022ca8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ADGROUP_PERFORMANCE_REPORT returns 400 error

2018-11-07 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Saidar,

Unfortunately, I cannot provide a comment on why it is redirecting to your 
catch function. However, you could refer to the sample codes for reporting 
provided in this guide 
 and 
our reporting guidelines 
 on how to 
download your report.

If you encounter any API related issues after following the guide, feel 
free to write us back and we will be happy to assist you.

Regards,
Dannison
AdWords API Team

On Wednesday, November 7, 2018 at 11:56:21 PM UTC+8, 
sai...@digitaltigers.de wrote:
>
> Hi everyone!
>
> I faced with another one issue, and cannot understand what can be a 
> problem...
>
> ReportQuery query = new ReportQuery.Builder()
> .fields(
> "Id")
> .from(ReportDefinitionReportType.ADGROUP_PERFORMANCE_REPORT)
> .where("Status").equalTo(ENABLED_STATUS)
> .build();
>
> ReportingConfiguration reportingConfiguration =
> new ReportingConfiguration.Builder()
> .skipColumnHeader(true)
> .skipReportHeader(true)
> .skipReportSummary(false)
> .includeZeroImpressions(true)
> .build();
> session.setReportingConfiguration(reportingConfiguration);
> ReportDownloaderInterface reportDownloader =
> adWordsServices.getUtility(session, ReportDownloaderInterface.class);
> BufferedReader reader = null;
> AdGroupStoreIterator adGroupStoreIterator = new AdGroupStoreIterator(new 
> ArrayList<>());
> try {
> // Set the property api.adwords.reportDownloadTimeout or call
> // ReportDownloader.setReportDownloadTimeout to set a timeout (in 
> milliseconds)
> // for CONNECT and READ in report downloads.
> final ReportDownloadResponse response =
> reportDownloader.downloadReport(query.toString(), DownloadFormat.CSV);
> // Read the response as a BufferedReader.
> reader = new BufferedReader(new 
> InputStreamReader(response.getInputStream(), UTF_8));
>
>
> on the line "ReportDownloaderInterface reportDownloader = 
> adWordsServices.getUtility(session, 
> ReportDownloaderInterface.class);" the programm go to the catch block an 
> shows me these output:
>
> [07 Nov. 2018 16:38:46,500-report_download:INFO:main] HTTP request:
> accept-encoding: [gzip]
> authorization: REDACTED
> user-agent: [unknown (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, 
> Axis/1.4, Java/10.0.2, jars, ReportDownloader, ReportQueryBuilder)]
> developertoken: REDACTED
> clientcustomerid: 8-4495
> skipreportheader: false
> skipcolumnheader: false
> skipreportsummary: false
> includezeroimpressions: true
>
>
> Could you please explain what I am doing wrong?
>
> Thanks!!
> Saidar
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1797eeea-a22f-4942-a7f3-83e96e4678f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How links (map)product from Product Partition Report and Shopping Performance Report

2018-11-07 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

The ProductGroup 

 field 
of Product Partition Report returns the full product partition path. If 
your product partition tree is only one level deep, it will return 
something like ' * / *item id = "123" '. *You may then do a post-processing 
on your end to parse the value of the item id from the string. As the value 
of item id matches with the OfferId 

 available 
in Shopping Performance Report, you may use it as a filter in the Shopping 
Performance Report.

Let me know if this doesn't suit your use-case or if you have further 
clarifications.

Thanks,
Luis
AdWords API Team

On Thursday, November 8, 2018 at 5:24:09 AM UTC+8, Александр Михайленко 
wrote:
>
> Hello. How I can links products from Product Partition report and products 
> from Shopping Performance report ?
> I recieve data from shopping campaign report, doing some calculations, and 
> need to update product bid (max.CPC) in my account. But i can't find a 
> criteria ID in shopping campaign report( And I request a product partition 
> report (it has a criterion ID, but dont have a Offer ID) and i can't to 
> match this 2 report in one. Please help me with this question. 
> 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/e8d31b15-b290-4f37-bad9-6bbb0812be9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA while uploading the customers to Google Ads

2018-11-07 Thread Srinivas Giduthuri
Thanks, Sreelakshmi for the update. We are using a test account, what can 
we do in this case? Do we need to wait for the fix?

Thanks,
Srinivas

On Wednesday, November 7, 2018 at 3:50:01 AM UTC+5:30, Sreelakshmi 
Sasidharan (AdWords API Team) wrote:
>
> Hi Srinivas 
>
> To share an update with you, due to a recent update 
>  
> of policy of Customer Match, your request for mutating CrmBasedUserList 
> will fail if the advertiser account hasn't been whitelisted for using the 
> feature. If you own the account, you can contact your Google account 
> representative to get your account whitelisted. If the account belongs to 
> your customers, they need to contact their Google representative for 
> whitelisting. Please let me know if you have any additional questions. 
>
> Thanks,
> Sreelakshmi, 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/49967048-096b-40a2-8df9-379b6c52ccc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Linking Adwords Account to MCC Account Not Authorized

2018-11-07 Thread Anouar Kacem


I am trying to link an Adwords Account to MCC Account

   1. Adwords Account : User1 (Our Client)
   2. MCC Account: User2 (Our Company)
   3. 
   4. I created a project/application on google console developer to get 
   *Client_ID* and *Client_Secret* using User2 email.
   5. I recovered Access Token/Refresh Token for User1 using client_id + 
   client_secret
   6. Now using a production developer token with Standard Access (User2 is 
   a manager in the related MCC Account), *Client_ID*, *Client_Secret*, 
   *Refresh_Token*, *Access_Token* and *ClientCustomerID (User1)*

*SOAP Request :*

 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:cm=
"https://adwords.google.com/api/adwords/cm/v201802"; xmlns:jaxb=
"http://java.sun.com/xml/ns/jaxb"; xmlns:tns=
"https://adwords.google.com/api/adwords/mcm/v201802"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>  <
ns1:RequestHeader xmlns:ns1=
"https://adwords.google.com/api/adwords/mcm/v201802"; xmlns=
"https://adwords.google.com/api/adwords/mcm/v201802";> 
ProductionDeveloperToken ApplicationName
 false <
ns1:clientCustomerId>User1 clientCustomerIDhttps://adwords.google.com/api/adwords/mcm/v201802";>  <
ns1:operator xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201802";>
ADD https://adwords.google.com/api/adwords/cm/v201802";> User 
MCCCustomerID User1 clientCustomerID PENDING   
  

*SOAP Response :*

 http://schemas.xmlsoap.org/soap/envelope/";>  <
ns2:ResponseHeader xmlns:ns2=
"https://adwords.google.com/api/adwords/mcm/v201802"; xmlns=
"https://adwords.google.com/api/adwords/cm/v201802";> 
00057a151e9ad2300a858c890f022f8f 
ManagedCustomerService mutateLink <
operations>1 291 
soap:Server 
[ManagedCustomerServiceError.NOT_AUTHORIZED 
@ operations[0]]  https://adwords.google.com/api/adwords/mcm/v201802"; xmlns=
"https://adwords.google.com/api/adwords/cm/v201802";> 
[ManagedCustomerServiceError.NOT_AUTHORIZED 
@ operations[0]] ApiException http://www.w3.org/2001/XMLSchema-instance"; xsi:type=
"ns2:ManagedCustomerServiceError"> operations[0] <
fieldPathElements> operations 0   
ManagedCustomerServiceError.NOT_AUTHORIZED 
ManagedCustomerServiceError NOT_AUTHORIZED  


What am I missing here ? 

Thank you in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/99260648-e908-4436-b0a6-ec001cde097d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


KEYWORDS_PERFORMANCE_REPORT does not returns Negative Keywords and returns more keywords as there is at the accouunt

2018-11-07 Thread Saidar Ramazanov


Hi Everyone!

I faced with a problem of getting Report from AdWords using API ad JAVA.

The problem is:
 1) KEYWORDS_PERFORMANCE_REPORT - does not returns any negative keywords on 
the  AdGroup level.

 It is my queary for Negative keywords:

query = new ReportQuery.Builder()
.fields(
"AdGroupId",
"Criteria",
"Id",
"LabelIds")
.from(ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT)
.where("IsNegative").equalTo("TRUE")
.where("AdGroupStatus").equalTo("ENABLED")
.where("Status").equalTo("ENABLED")
.build();


 2) KEYWORDS_PERFORMANCE_REPORT - return a lot of keywords, which I can can 
not see at my account.

This code shows query for NotNegative keywords. Unfortunately, I have only 
two active keywords in my account, but this query returns m for about 100+ 
KWs

query = new ReportQuery.Builder()
.fields(
"AdGroupId",
"Criteria",
"Id",
"LabelIds")
.from(ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT)
.where("AdGroupStatus").equalTo("ENABLED")
.where("Status").equalTo("ENABLED")
.build();


Could someone explain me what can be a problem?


Looking Forward,
Saidar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b6012781-59d0-4980-b279-4f7fbfba54f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: LocationCriterionService, location name is not fully translated in RU locale, why?

2018-11-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

My apologies as I can not comment on if they utilize different databases or 
back-end configurations. However, I have already created a feature request 
for this to further check this behavior. I will inform you once there are 
updates.

Best regards,
Vincent 
AdWords API Team

On Thursday, November 8, 2018 at 4:52:52 AM UTC+8, Олег Голованов wrote:
>
> Hi.
>
> Example shown above is just one of many-many others.
>
> The main question is: why keyword planner ( 
> https://ads.google.com/aw/keywordplanner/home ) shows correctly 
> translated region, but API not?
> Keyword planner uses another "database", or?
>
> Thanks.
>
> On Wednesday, November 7, 2018 at 2:55:04 PM UTC+3, Vincent Racaza 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> We were able to replicate the scenario. With this, I have created a 
>> request to update that particular location to its Russian equivalent. 
>> However, it is not a guarantee that this will be updated. You may follow 
>> our blog  
>> for 
>> updates in AdWords API.
>>
>> Best regards,
>> Vincent
>> AdWords API Team
>>
>> On Wednesday, November 7, 2018 at 6:37:05 PM UTC+8, Олег Голованов wrote:
>>>
>>> Hi.
>>>
>>> Let's take as example location with id = 9057027.
>>> Its canonical name is "Petersburg Borough,Alaska,United States".
>>>
>>> Problem: if i request that region with locale=RU, its name will be 
>>> "Petersburg Borough,Аляска,Соединенные Штаты Америки".
>>> At the same time thats region is correctly translated in google ads 
>>> keyword planner web service: "Питерсберг,Аляска,Соединенные Штаты Америки".
>>>
>>> Question: is it somehow possible to get correctly translated location 
>>> name with API?
>>> Why API could not translate "Petersburg Borough" to "Питерсберг"?
>>>
>>> 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/55367b51-e59d-41d0-a09d-3a8b748714c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.