Re: Difference in the data between API and Dashboard Interface

2018-01-12 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello James, 

Please find my response below: 

1. The AdWords API Conversion Value depends on the current Attribution 
model type in the AdWords UI. Please refer to this guide 

 for 
more information.

2. AdWords API stats will be returned based on the account time zone. This 
said, it takes up to 3 hours for the imported conversion statistics to 
appear in your account for Last-click attribution. For other search 
attribution models, it can take longer than 3 hours as mentioned in this 
guide 
.
 
Please refer to the data freshness article 
 on when these 
conversions will be updated every day.

Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team

On Wednesday, January 10, 2018 at 5:25:23 AM UTC-5, Pierre C wrote:
>
> Hello,
>
> I retrieve a set of statistics through CAMPAIGN_PERFORMANCE_REPORT.
>
> Here's what I do via c #:
>
> SELECT CampaignName, CampaignId, Cost, Impressions, Clicks
>>  FROM CAMPAIGN_PERFORMANCE_REPORT WHERE CampaignName = [CampaignName];
>
>
>  
> I noticed that I had differences between statistics that I retrieve via 
> this query and the classic dashboards that are displayed when we click on 
> the campaign or ad group (AdWords Interface). 
> I have the problem in the dashboards of the new and old interface of 
> Adwords.
>
> Regarding the API to retrieve my data, I use the latest version of the 
> AdWords API.
>
> Does anyone have an answer to that? In some cases, there are substantial 
> differences.
>  
>
> Thank you in advance for your answer.
>
> Pierre.
>

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

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


API performance lags behind dashboard

2018-01-12 Thread Johnny Brown
I am currently running a campaign and in the dashboard I can see that there 
are some impressions and clicks. The problem is, when I call the Adgroup 
Performance Report, all the adgroups show 0 clicks, impressions, etc.

I'm aware that the performance reports aren't real-time, but I'm wondering 
if there is some way to access the data that the dashboard is using. Is 
there a way to get more up-to-date performance information (conversions, 
clicks, cost) about a campaign/ad group from some service or report or 
endpoint?

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

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


Re: Is AND supported in AWQL

2018-01-12 Thread Johnny Brown
If you are using a QueryBuilder, you can chain .Where call together, e.g. 

.Where('CampaignId').EqualTo(campaign_id).Where('AdGroupStatus').EqualTo('ENABLED')

On Friday, January 12, 2018 at 2:55:17 PM UTC-6, Mercedes Belandria Garcia 
wrote:
>
> Can I use AND in the WHERE conditions?
>

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

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


Re: Difference in the data between API and Dashboard Interface

2018-01-12 Thread MarTec360 LLC
I'm looking for similar answers.  Our main issue is conversion value data 
discrepancies.  Couple of thoughts or leads:

1) Is Adwords API Conversion Value based only on Last Click attribution or 
are Adwords UI attribution changes accounted for in the data (ie, 
Position-based, Decay, etc.)?
2) Our Adwords account is set to UTC-5, is Adwords API providing UTC-0 
data?  (5 hours per day of differing data could help explain the 
discrepancies)

Thanks,
James Holt
BI Director
MARTEC360.com

On Wednesday, January 10, 2018 at 5:25:23 AM UTC-5, Pierre C wrote:
>
> Hello,
>
> I retrieve a set of statistics through CAMPAIGN_PERFORMANCE_REPORT.
>
> Here's what I do via c #:
>
> SELECT CampaignName, CampaignId, Cost, Impressions, Clicks
>>  FROM CAMPAIGN_PERFORMANCE_REPORT WHERE CampaignName = [CampaignName];
>
>
>  
> I noticed that I had differences between statistics that I retrieve via 
> this query and the classic dashboards that are displayed when we click on 
> the campaign or ad group (AdWords Interface). 
> I have the problem in the dashboards of the new and old interface of 
> Adwords.
>
> Regarding the API to retrieve my data, I use the latest version of the 
> AdWords API.
>
> Does anyone have an answer to that? In some cases, there are substantial 
> differences.
>  
>
> Thank you in advance for your answer.
>
> Pierre.
>

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

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


Is AND supported in AWQL

2018-01-12 Thread Mercedes Belandria Garcia
Can I use AND in the WHERE conditions?

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

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


Re: Error when trying to generate refresh token using GetRefreshToken.java .(java.net.UnknownHostException: accounts.google.com)

2018-01-12 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi,


This may be a problem with your local environment or proxy settings in your 
network. I found a post on the Stackoverflow 

 about 
the same issue. Could you also confirm if you have set any properties for 
proxy settings in your ads.properties file? If you continue to get this 
error, my suggestion is to create an issue on the libraries issue tracker 
. The library owner 
is better equipped to point you in the right direction. 


Regards,

Dhanya, AdWords API Team   

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

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


Re: Adwords Api returns different values for search volumens than Keyword Planner?

2018-01-12 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello Steffen, 

Thank you for sharing the details. Could you share us the SOAP request and 
response logs along with the clientCustomerId, so I can take a look at the 
specific location and language parameters, these are targeted to? It is 
possible that there is no STATS available for these search criteria. You 
may also refer to our code sample here 
,
 
as a reference. Additionally, if you're using test accounts, the 
TargetingIdeaService will return dummy data. Please use *Reply privately to 
author* to provide the details.

Regards,
Bharani, AdWords API Team

On Friday, January 12, 2018 at 4:09:24 AM UTC-5, Steffen Hansen wrote:
>
> Hi, i know this question have been raised in the past, but i could not 
> find a suitable answer.
>
> I've been working with a python script that should get, the search volumes 
> for a list of keywords. 
>
>
> 
>
>
> This is the output from the script. And i have used the "SEARCH_VOLUME" 
> from the api reference to get the volume. If i upload my my list to the 
> keyword planner the picture is a bit different.
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Since i am using python, here is the code of my selector:
>
> offset = 0
>
> selector = {
> 'searchParameters': [
>
> {
> 'xsi_type': 'RelatedToQuerySearchParameter',
> 'queries': keyword_list
> },
> {
> # Language setting (optional).
> # The ID can be found in the documentation:
> #  
> https://developers.google.com/adwords/api/docs/appendix/languagecodes
> 'xsi_type': 'LanguageSearchParameter',
> 'languages': [{'id': langID}]
> },
> {
> # Location setting (optional).
> # The ID can be found in the documenation:
> #  
> https://developers.google.com/adwords/api/docs/appendix/geotargeting
> # Country codes found by searching country name in name filter
> 'xsi_type': 'LocationSearchParameter',
> 'locations': [{'id': locID}]
> },
> {
> # Network search parameter (optional)
> 'xsi_type': 'NetworkSearchParameter',
> 'networkSetting': {
> 'targetGoogleSearch': True,
> 'targetSearchNetwork': False,
> 'targetContentNetwork': False,
> 'targetPartnerSearchNetwork': False
>
> }
> }
>
> ],
> 'ideaType': 'KEYWORD',
> 'requestType': 'STATS',
> 'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME', 
> 'COMPETITION'],
> 'paging': {
> 'startIndex': str(offset),
> 'numberResults': count
> }
> }
>
>
> I simply can't see what i am doing wrong. Any suggestions?
>
>
> Best Regards
>
> Steffen
>
>

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

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


Re: Account access management in API (grant other user access to my account)

2018-01-12 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, 

Since the question is different from the initial discussion on this thread, 
could you please create a new forum thread? This will help us keep better 
track of the issues discussed on this forum. 

Thanks,
Sreelakshmi, AdWords API Team

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

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


Error when trying to generate refresh token using GetRefreshToken.java .(java.net.UnknownHostException: accounts.google.com)

2018-01-12 Thread varshavarghese0407


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

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


.classpath
Description: Binary data


.project
Description: Binary data


Re: Account access management in API (grant other user access to my account)

2018-01-12 Thread smarketingads
HI Sreelakshmi,
Seems some third parties can send invitation to OAuth users at once done 
authentication, then view cmpaign campaigns before they accept the 
invitation. May think is there any paid or adveanced services from them to 
do this. Please correct me if i am wrong. Currently i am also in this 
situation development activity. I need to send invitation through API call 
itself. Thanks in advance.

On Monday, August 14, 2017 at 9:43:10 PM UTC+5:30, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Alexey, 
>
> As Vishal mentioned in his post, adding/managing users to an account is 
> not supported via the API. You may have to do that from the user interface. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

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

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


Re: How to generate csv with awql report?

2018-01-12 Thread Ken Dan Tinio
I got it. The correct answer is,

$reportDownloadResult->saveToFile('docs/test.csv')

Thank you!

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

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


Re: How to generate csv with awql report?

2018-01-12 Thread Ken Dan Tinio
Where can I set the path?

On Friday, January 12, 2018 at 4:24:33 AM UTC+8, Ken Dan Tinio wrote:
>
> Download a criteria performance report with AWQL
> Reference: 
> https://developers.google.com/adwords/api/docs/samples/php/reporting#download-a-criteria-performance-report-with-awql
>
> This is my code:
>
> *public static function runExample(AdWordsSession $session, 
> $reportFormat) *
> *{*
> *// Create report query to get the data for last 7 days.*
> *$reportQuery = 'SELECT CampaignId, AdGroupId, Id, Criteria, 
> CriteriaType, '*
> *. 'Impressions, Clicks, Cost FROM CRITERIA_PERFORMANCE_REPORT 
> '*
> *. 'WHERE Status IN [ENABLED, PAUSED] DURING LAST_7_DAYS';*
>
> *// Download report as a string.*
> *$reportDownloader = new ReportDownloader($session);*
> *// Optional: If you need to adjust report settings just for this 
> one*
> *// request, you can create and supply the settings override here. 
> Otherwise,*
> *// default values from the configuration file (adsapi_php.ini) 
> are used.*
> *$reportSettingsOverride = (new ReportSettingsBuilder())*
> *->includeZeroImpressions(false)*
> *->build();*
> *$reportDownloadResult = 
> $reportDownloader->downloadReportWithAwql($reportQuery, $reportFormat, 
> $reportSettingsOverride);*
> 
> *self::$report = $reportDownloadResult->getAsString();*
> *self::$status  = "success";*
> *self::$message = "";*
> *}*
>
> *public static function main() *
> *{*
> *// Generate a refreshable OAuth2 credential for authentication.*
> *$oAuth2Credential = (new OAuth2TokenBuilder())*
> *->fromFile()*
> *->build();*
>
> *// See: AdWordsSessionBuilder for setting a client customer ID 
> that is*
> *// different from that specified in your adsapi_php.ini file.*
> *// Construct an API session configured from a properties file and 
> the OAuth2*
> *// credentials above.*
> *$session = (new AdWordsSessionBuilder())*
> *->fromFile()*
> *->withOAuth2Credential($oAuth2Credential)*
> *->build();*
>
> *try {*
> *self::runExample($session, DownloadFormat::CSV);*
> *} catch (\Exception $e) {*
> *return array(*
> *"status" => "fail",*
> *"message" => $e->getMessage()*
> *);*
> *}*
> 
> *return array(*
> *"status" => self::$status,*
> *"report" => self::$report,*
> *);*
> *}*
>
>
> How do I generate the csv?
>
>
>

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

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


Re: Where to find the documentations for setFields for setReportType?

2018-01-12 Thread Ken Dan Tinio
I got it. The correct answer is this:
https://developers.google.com/adwords/api/docs/samples/php/reporting#get-report-fields

By getting all report fields in a specific report.

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

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


Adwords API and Keyword Planner disagrees on search volumes.

2018-01-12 Thread Steffen Hansen
Hi,

I know that this question have been raised before, but i have found no 
suitable answer that helps.

I pull data from the api on a list of keywords and get this: 





















But when i do a similar search (upload the list in keyword planner the 
result looks like this:



My selector looks like (using python):


selector = {
'searchParameters': [

{
'xsi_type': 'RelatedToQuerySearchParameter',
'queries': keyword_list
},
{
# Language setting (optional).
# The ID can be found in the documentation:
#  
https://developers.google.com/adwords/api/docs/appendix/languagecodes
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': langID}]
},
{
# Location setting (optional).
# The ID can be found in the documenation:
#  
https://developers.google.com/adwords/api/docs/appendix/geotargeting
# Country codes found by searching country name in name filter
'xsi_type': 'LocationSearchParameter',
'locations': [{'id': locID}]
},
{
# Network search parameter (optional)
'xsi_type': 'NetworkSearchParameter',
'networkSetting': {
'targetGoogleSearch': True,
'targetSearchNetwork': False,
'targetContentNetwork': False,
'targetPartnerSearchNetwork': False

}
}

],
'ideaType': 'KEYWORD',
'requestType': 'STATS',
'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME', 'COMPETITION'],
'paging': {
'startIndex': str(offset),
'numberResults': count
}
}


What am i doing wrong? I suppose it is my selector that gets to much, but can't 
find an answer in the documentation. Hope you guys have som input.


Thanks

Steffen

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

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


Re: Error "dev_token_invalid" when using test account to send to new Google Adword Conversion Tracking API

2018-01-12 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

My apologies, however, this issue is more related to the Mobile Apps 
Conversion Tracking and Remarketing API rather than the AdWords API. This 
said, you may reach out to the AdWords support team for further assistance 
and you may contact them by logging in to your AdWords account and going to 
the *Gear Icon* > *Help*.

Best regards,
Peter
AdWords API Team

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

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


Re: CustomerService getCustomers

2018-01-12 Thread Dmitrii Matrosov
FINAL CODE:

https://gist.github.com/kidker/ed5c4bc5da20614ee09ed0b96cd741c8

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

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


Re: CustomerService getCustomers

2018-01-12 Thread Dmitrii Matrosov
MY FINAL CODE 


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

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


Adwords Api returns different values for search volumens than Keyword Planner?

2018-01-12 Thread Steffen Hansen


Hi, i know this question have been raised in the past, but i could not find 
a suitable answer.

I've been working with a python script that should get, the search volumes 
for a list of keywords. 




This is the output from the script. And i have used the "SEARCH_VOLUME" 
from the api reference to get the volume. If i upload my my list to the 
keyword planner the picture is a bit different.





















































































Since i am using python, here is the code of my selector:

offset = 0

selector = {
'searchParameters': [

{
'xsi_type': 'RelatedToQuerySearchParameter',
'queries': keyword_list
},
{
# Language setting (optional).
# The ID can be found in the documentation:
#  
https://developers.google.com/adwords/api/docs/appendix/languagecodes
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': langID}]
},
{
# Location setting (optional).
# The ID can be found in the documenation:
#  
https://developers.google.com/adwords/api/docs/appendix/geotargeting
# Country codes found by searching country name in name filter
'xsi_type': 'LocationSearchParameter',
'locations': [{'id': locID}]
},
{
# Network search parameter (optional)
'xsi_type': 'NetworkSearchParameter',
'networkSetting': {
'targetGoogleSearch': True,
'targetSearchNetwork': False,
'targetContentNetwork': False,
'targetPartnerSearchNetwork': False

}
}

],
'ideaType': 'KEYWORD',
'requestType': 'STATS',
'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME', 'COMPETITION'],
'paging': {
'startIndex': str(offset),
'numberResults': count
}
}


I simply can't see what i am doing wrong. Any suggestions?


Best Regards

Steffen

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

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


Re: Error "dev_token_invalid" when using test account to send to new Google Adword Conversion Tracking API

2018-01-12 Thread kienvn . gsn
Same problem,
Did you resolve this?

On Wednesday, August 30, 2017 at 12:39:08 PM UTC+7, wha...@mparticle.com 
wrote:
>
> Hi all,
>
> I'm trying to test out the new Google Adwords API (the one that relies on 
> dev_token and Link ID). I've just setup a test account with Google Adwords. 
> Now the one strange thing is, in order to create a test developer token I 
> had to create a manager account (which for whatever reason uses the old 
> UI). However, to create the Link ID I had to use the main account (by going 
> to Linked Accounts -> Third Party Analytics).
>
> I sent a sample request basically identical to the one here: 
> https://developers.google.com/app-conversion-tracking/api/request-response-specs#sample_request
>  
>  with of course my dev_token and link id but I get this:
>
> {
> "ad_events": [],
> "errors": [
> "dev_token_invalid"
> ],
> "attributed": false
> }
>
> My thinking is that somehow the main account and the manager account are 
> separate systems. The fact that manager account is on the old UI and the 
> main account is the new UI doesn't help. I've tried going to the gear icon 
> to see if there was a "Try the New UI" feature but nothing. A pretty 
> confusing/frustrating experience from a developer standpoint.
>
> Any guidance is appreciated on how to solve this.
>
> Thanks
>

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

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


Re: AdGroupAdService mutate return NULL

2018-01-12 Thread desk
I found the cause of the problem.

It was - $session->setValidateOnly(true);

SOAP response was NULL ! Nothing! 

But when I change to $session->setValidateOnly(false);

I take correctly SOAP response - 
object(Google\AdsApi\AdWords\v201710\cm\AdGroupAdReturnValue)#1309 
(4) { ...

Although a few months ago everything worked.

Thanks

четверг, 11 января 2018 г., 20:22:43 UTC+2 пользователь Bharani Cherukuri 
(AdWords API Team) написал:
>
> Hello, 
>
> You code snippet looks fine. However, to investigate the issue further, 
> could you enable logging and share us the complete SOAP request and 
> response logs along with the clientCustomerId, so I can take a look? Please 
> use *Reply privately to author* option to provide the details. You may 
> also refer to this PHP code sample 
> 
>  as 
> a reference. 
>
> Regards,
> Bharani, AdWords API Team
>
> On Thursday, January 11, 2018 at 10:10:27 AM UTC-5, de...@ubc-corp.com 
>  wrote:
>>
>> Hi,
>>
>> Please, check out my code:
>>
>> $operations = [];
>> $expandedTextAd = new ExpandedTextAd();
>> $expandedTextAd->setHeadlinePart1($HeadlinePart1); 
>> $expandedTextAd->setHeadlinePart2($HeadlinePart2); 
>> $expandedTextAd->setDescription($Description); 
>> $expandedTextAd->setFinalUrls([$FinalUrl]);
>> $adGroupAd = new AdGroupAd();
>> $adGroupAd->setAdGroupId($AdGroupId);
>> $adGroupAd->setAd($expandedTextAd);
>> $adGroupAd->setStatus(AdGroupAdStatus::PAUSED);
>> $operation = new AdGroupAdOperation();
>> $operation->setOperand($adGroupAd);
>> $operation->setOperator(Operator::ADD);
>> $operations[] = $operation;
>> $result = $adGroupAdService->mutate($operations);
>>
>>
>>
>> But $result is NULL
>>
>>
>> Why?
>>
>>
>> Thanks
>>
>>
>>   
>>

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

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