Re: Upgrading to a newer version

2022-03-02 Thread Stephen Barrett
So I would need to update these files in my files to version 10, correct? 
Thanks!

Stephen Barrett / Sr. Web Lead
step...@veloxmedia.com / 208-830-6398
VELOX Media
866-324-8899 / 208-338-1400
518 S 9th St
Boise ID 83702
www.veloxmedia.com
On Mar 2, 2022, 10:12 AM -0700, Google Ads API Forum Advisor 
, wrote:
> Hi Stephen,
>
> Yes, you would need to update the imports as they are referencing old 
> versions of the API. If you are using the PHP keyword planning example, you 
> can compare v10 example with your v8 code.
>
> Regards,
> Matt
> Google Ads API Team
>
> Matt
> Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q2Wymyn:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/09d6c3fa-a2f6-4a29-83b8-366a5b131edf%40Spark.


Re: Upgrading to a newer version

2022-03-01 Thread Stephen Barrett
So I wouldn’t need to update any of the files - like the following in my 
getkeyword.php file?

use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Google\Ads\GoogleAds\Lib\V8\GoogleAdsClient;
use Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\Util\V8\ResourceNames;
use Google\Ads\GoogleAds\V8\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork;
use Google\Ads\GoogleAds\V8\Services\GenerateKeywordIdeaResult;
use Google\Ads\GoogleAds\V8\Services\KeywordAndUrlSeed;
use Google\Ads\GoogleAds\V8\Services\KeywordSeed;
use Google\Ads\GoogleAds\V8\Services\UrlSeed;
use Google\Ads\GoogleAds\Lib\V8\GoogleAdsException;
use Google\ApiCore\ApiException;

Stephen Barrett / Sr. Web Lead
step...@veloxmedia.com / 208-830-6398
VELOX Media
866-324-8899 / 208-338-1400
518 S 9th St
Boise ID 83702
www.veloxmedia.com
On Mar 1, 2022, 2:03 PM -0700, Google Ads API Forum Advisor 
, wrote:
> Hi Stephen,
>
> Going from v8 to v10 of the Ads API should not require any changes to your 
> implementation. For versions that contain changes to Keyword Planning, the 
> release notes for that version will have a Planning section.
>
> Regards,
> Matt
> Google Ads API Team
>
> Matt
> Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q2Wymyn:ref

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

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


Re: Upgrading to a newer version

2022-02-25 Thread Stephen Barrett
Thank you. I'm migrating from version 8 to 9 and then 9 to 10. I'm only 
using the library for keywordideas and I just wanted to know if I had to 
overwrite my library multiple times to get to the latest version.

On Friday, February 25, 2022 at 2:17:07 PM UTC-7 adsapi wrote:

> Hi Stephen,
>
> Thanks for reaching out. There may be reusable parts of your custom 
> implementation, but the new Ads API is different from the old SOAP AdWords 
> API. I'd recommend looking through the migration guide 
>  for more 
> details on this. Like the AdWords API, the Ads API client libraries support 
> code 
> samples  for 
> almost all operations supported in the API. 
>
> Please let us know if you have any specific questions on the new API.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
>  
>
> ref:_00D1U1174p._5004Q2Wymyn:ref
>

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

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


Upgrading to a newer version

2022-02-24 Thread Stephen Barrett
When upgrading to a newer version, do I need to overwrite the entire client 
library or just sections of it? What are the best practices? 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dc1116b4-b020-4795-939c-9c8ba6408c5dn%40googlegroups.com.


Re: GenerateKeywordIdeas parameter constants issue?

2021-05-04 Thread Stephen Barrett
thank you. I will do just that.

On Tuesday, May 4, 2021 at 12:29:05 PM UTC-6 adsapiforumadvisor wrote:

> Hi Stephen,
>
> Thanks for providing us with more information on your issue. I would 
> recommend reaching out to the PHP client library owners regarding your 
> logging issue, as it pertains to that specific client library. You can post 
> your issue on this forum 
> .
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GJcUD:ref
>

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

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


Re: GenerateKeywordIdeas parameter constants issue?

2021-05-04 Thread Stephen Barrett
I got the error log:

[04-May-2021 17:31:13 UTC] PHP Fatal error:  Uncaught 
Google\Protobuf\Internal\GPBDecodeException: Error occurred during parsing: 
Fail to push limit. in 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php:340
Stack trace:
#0 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php(363):
 
Google\Protobuf\Internal\CodedInputStream->pushLimit(235)
#1 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php(286):
 
Google\Protobuf\Internal\CodedInputStream->incrementRecursionDepthAndPushLimit(235,
 
0, 0)
#2 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php(431):
 
Google\Protobuf\Internal\GPBWire::readMessage(Object(Google\Protobuf\Internal\CodedInputStream),
 
Object(Google\Protobuf\Internal\FileDescriptorProto))
#3 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.p
 
in 
/home/[USER]/public_html/luck/google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php
 
on line 340

Locally, on my computer, I didn't get this error. When I uploaded it to a 
shared server, I am getting this error. I checked the PHP versions of when 
I extracted from git and the php version on my server and both are 7.3. So 
I'm not sure what's going on. 

On Tuesday, May 4, 2021 at 8:35:39 AM UTC-6 Stephen Barrett wrote:

> I'm not able to reply privately to the author. It says I do not have 
> permission. 
>
> The complete request is the GenerateKeywordIdeas.php example, but I 
> changed the private const to the follow:
> CUSTOMER_ID  (our customer id with not dashes)
> LOCATION_ID_1 2840
> LANGUAGE_ID 1000
> KEYWORD_TEXT_1 cake (just to see if it would work)
>
> I'm trying to enable the logs, but each log level I try, doesn't trigger 
> the creation of the log. All I'm getting on the front facing side of things 
> is the following: 
> Usage: /luck/google-ads-php/examples/Planning/GenerateKeywordIdeas.php 
> [options] [operands] Options: -h, --help Show this help and quit 
> --customerId The customer ID without dashes --locationIds The list of 
> location IDs --languageId The language ID --keywordTexts The list of 
> keyword texts --pageUrl [] The page URL
>
> I also want to point out that I did successfully try the command line with 
> the parameters added to the command line and it works. I transferred all 
> these files to a web host server and ensured I had the correct PHP version. 
>
> On Monday, May 3, 2021 at 9:19:54 PM UTC-6 adsapiforumadvisor wrote:
>
>> Hi Stephen,
>>
>> Thank you for reaching out to our API support team.
>>
>> So our team can further investigate the issue you are encountering, could 
>> you share the complete request 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>  
>> and response 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>  
>> logs, with the request-id 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>?
>>  
>> If you haven't yet, you may enable logging by referring to this guide 
>> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> 
>> for PHP.
>>
>> Once enabled, you may retry your request and send to me the generated 
>> logs. You may send the requested details using the *Reply privately to 
>> author* option.
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2GJcUD:ref
>>
>

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

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


Re: GenerateKeywordIdeas parameter constants issue?

2021-05-04 Thread Stephen Barrett
I'm not able to reply privately to the author. It says I do not have 
permission. 

The complete request is the GenerateKeywordIdeas.php example, but I changed 
the private const to the follow:
CUSTOMER_ID  (our customer id with not dashes)
LOCATION_ID_1 2840
LANGUAGE_ID 1000
KEYWORD_TEXT_1 cake (just to see if it would work)

I'm trying to enable the logs, but each log level I try, doesn't trigger 
the creation of the log. All I'm getting on the front facing side of things 
is the following: 
Usage: /luck/google-ads-php/examples/Planning/GenerateKeywordIdeas.php 
[options] [operands] Options: -h, --help Show this help and quit 
--customerId The customer ID without dashes --locationIds The list of 
location IDs --languageId The language ID --keywordTexts The list of 
keyword texts --pageUrl [] The page URL

I also want to point out that I did successfully try the command line with 
the parameters added to the command line and it works. I transferred all 
these files to a web host server and ensured I had the correct PHP version. 

On Monday, May 3, 2021 at 9:19:54 PM UTC-6 adsapiforumadvisor wrote:

> Hi Stephen,
>
> Thank you for reaching out to our API support team.
>
> So our team can further investigate the issue you are encountering, could 
> you share the complete request 
> 
>  
> and response 
> 
>  
> logs, with the request-id 
> ?
>  
> If you haven't yet, you may enable logging by referring to this guide 
>  
> for PHP.
>
> Once enabled, you may retry your request and send to me the generated 
> logs. You may send the requested details using the *Reply privately to 
> author* option.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GJcUD:ref
>

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

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


GenerateKeywordIdeas parameter constants issue?

2021-05-03 Thread Stephen Barrett
Hello,

Currently working on GenerateKeywordIdeas and using the example. I have 
added the customerId, LocationId, languageId and keywordTexts within each 
private constant, but I am getting the following error. I successfully used 
the example on the command line, so what am I doing wrong, since the 
instructions in the example said I can insert them in the constants above?

Usage: /luck/google-ads-php/examples/Planning/GenerateKeywordIdeas.php 
[options] [operands]
Options: -h, --help Show this help and quit 
--customerId The customer ID without dashes --locationIds The list of 
location IDs --languageId The language ID --keywordTexts The list of 
keyword texts --pageUrl [] The page URL

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

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


Get_keyword_ideas issue getting the keyword and search volume

2019-01-24 Thread Stephen Barrett
Hi!

I'm running on Python and I am having a little bit of trouble with the 
display results portion of the script. Instead of printing the results, I 
wanted to save the keyword and search volume into a list to use elsewhere. 
I am trying to just store the variables and I'm getting this error: 

sv *undefined*, *attributes* = {'KEYWORD_TEXT': 'seo'}

*KeyError*: 'SEARCH_VOLUME' 
  args = ('SEARCH_VOLUME',) 
  with_traceback = 


Here is the portion of the script:
# Display results.
if 'entries' in page:
  keyword_list = []
  for result in page['entries']:
attributes = {}
for attribute in result['data']:
  print(attribute)
  attributes[attribute['key']] = getattr(attribute['value'], 'value'
, '0')
  kw = attributes['KEYWORD_TEXT']
  sv = attributes['SEARCH_VOLUME']
#print ('Keyword with "%s" text and average monthly search volume '
#   '"%s".'
#   % (attributes['KEYWORD_TEXT'], attributes['SEARCH_VOLUME']))
print(kw)
else:
  print ('No related keywords were found.')


When I don't try and save them as variables, or into a list, and just print 
them, it works. 

Please advise?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/deba3d84-f85c-4461-9e29-f5cf62f275d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python get_keyword_ideas.py INVALID_SEARCH_PARAMETERS

2019-01-24 Thread Stephen Barrett
Nevermind. I figured it out! I just needed to add my Customer ID to the 
.yaml file.

On Thursday, January 24, 2019 at 3:22:11 PM UTC-7, Stephen Barrett wrote:
>
> Hi. I'm getting this error when using the sample code: 
>
> *GoogleAdsServerFault*: [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
> selector.searchParameters.searchParameters[0]; 
> trigger:'LanguageSearchParameter', 
> TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
> selector.searchParameters.searchParameters[1]; 
> trigger:'RelatedToQuerySearchParameter', 
> TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
> selector.searchParameters.searchParameters[2]; 
> trigger:'NetworkSearchParameter'] 
>   args = ("[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
> ...hParameters[2]; trigger:'NetworkSearchParameter']",) 
>   document =  
>   errors = [{ 'fieldPath': 'selector.searchParameters.se...ror', 
> 'reason': 'INVALID_SEARCH_PARAMETERS' }, { 'fieldPath': 
> 'selector.searchParameters.se...ror', 'reason': 'INVALID_SEARCH_PARAMETERS' 
> }, { 'fieldPath': 'selector.searchParameters.se...ror', 'reason': 
> 'INVALID_SEARCH_PARAMETERS' }] 
>   with_traceback =  GoogleAdsServerFault object>
>
>
> I have done everything else correct. I have my credentials working but I'm 
> getting this error above. I saw another thread about this and it was 
> suggested to use the sample code, which I have done, but I'm still getting 
> this error I am running this from a virtual environment I have on a 
> webserver. I'm not really sure why I'm getting this error on a search 
> parameter that should not be invalid.
>
> Please advise?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a1ab626f-1b45-47e7-81fa-df7e7bf5b0a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Python get_keyword_ideas.py INVALID_SEARCH_PARAMETERS

2019-01-24 Thread Stephen Barrett
Hi. I'm getting this error when using the sample code: 

*GoogleAdsServerFault*: [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
selector.searchParameters.searchParameters[0]; 
trigger:'LanguageSearchParameter', 
TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
selector.searchParameters.searchParameters[1]; 
trigger:'RelatedToQuerySearchParameter', 
TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
selector.searchParameters.searchParameters[2]; 
trigger:'NetworkSearchParameter'] 
  args = ("[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
...hParameters[2]; trigger:'NetworkSearchParameter']",) 
  document =  
  errors = [{ 'fieldPath': 'selector.searchParameters.se...ror', 
'reason': 'INVALID_SEARCH_PARAMETERS' }, { 'fieldPath': 
'selector.searchParameters.se...ror', 'reason': 'INVALID_SEARCH_PARAMETERS' 
}, { 'fieldPath': 'selector.searchParameters.se...ror', 'reason': 
'INVALID_SEARCH_PARAMETERS' }] 
  with_traceback = 


I have done everything else correct. I have my credentials working but I'm 
getting this error above. I saw another thread about this and it was 
suggested to use the sample code, which I have done, but I'm still getting 
this error I am running this from a virtual environment I have on a 
webserver. I'm not really sure why I'm getting this error on a search 
parameter that should not be invalid.

Please advise?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5341a6d8-02f6-482b-97e4-9c97ba8219b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with Criteria Performance Report

2018-09-28 Thread Stephen Barrett
Yes. I was able to figure it out. From what I remember you have to make 
sure both environments are the same version of PHP. So if your final 
environment is 7.0, you have to downgrade your php version on your 
localhost to 7.0. I used Homebrew to accomplish that.

On Friday, September 28, 2018 at 2:31:03 PM UTC-6, Luis Alegro wrote:
>
> Hello, how are you?
>
> I'm having the same problems.
>
> In the localhost runs perfectly (php 7.2), in the web host (php 7.0) shows 
> the error in the same file.
>
> Were you able to solve this? or changed your web host
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5cb27c17-1d62-4b90-8c81-6528561019cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Passing a variable int KeywordIdeas

2018-08-09 Thread Stephen Barrett
I'm working with the KeywordIdeas sample and I was wondering if there was a 
way to pass a variable without it be $_POST? I'm using Ajax and I was able 
to pass the post variable through the form's serialize function. My ajax 
script is changing the $_POST into another variable. So I was wondering how 
I can pass just a simple variable into KeywordIdeas without it being a 
$_POST variable. (if that makes sense)


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/dcb70da0-c06b-4fae-9c7b-28d6674bc379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Migration Question

2018-08-09 Thread Stephen Barrett
Thanks Luis. 

Would I have to upload the entire adwords api files or can I just upload 
specifically v201806 and upload next to the other versions I have? 

On Thursday, August 9, 2018 at 9:57:40 PM UTC-6, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Stephen,
>
> You may check the release notes for v201806 
> <https://developers.google.com/adwords/api/docs/reference/release-notes/v201806>
>  for 
> more information on what's new in the latest version of the AdWords API. 
> You could download the latest client library here 
> <https://developers.google.com/adwords/api/docs/clientlibraries> then you 
> could check this migration guide 
> <https://developers.google.com/adwords/api/docs/guides/migration/v201806> for 
> your reference.
>
> Let me know if you need further assistance.
>
> Thanks and regards,
> Luis
> AdWords API Team
>
> On Friday, August 10, 2018 at 5:49:45 AM UTC+8, Stephen Barrett wrote:
>>
>> So I'm migrating/updating from 201708 to 201806. What files get replaced? 
>> What do I need to do exactly in order to migrate/update correctly? I don't 
>> want to break anything.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a2fe2943-1ad9-4230-8337-aa306f5ca318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Migration Question

2018-08-09 Thread Stephen Barrett
So I'm migrating/updating from 201708 to 201806. What files get replaced? 
What do I need to do exactly in order to migrate/update correctly? I don't 
want to break anything.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae0df2d4-b35e-45fe-a07f-0e1a05652f17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GetKeywordIdeas - Keyword limit?

2018-07-11 Thread Stephen Barrett
Is there a limit to the amount of keywords you can place within 
the relatedToQuerySearchParameter string array?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2b2e8fae-8113-47d5-b8c7-1c733bc5fb23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword Ideas and relatedToQuerySearchParameter

2018-07-06 Thread Stephen Barrett
What is the array associated in this parameter.

 $relatedToQuerySearchParameter->setQueries( 
['shoes', 'flip flops']
 );
$searchParameters[] = $relatedToQuerySearchParameter;

I thought it was a simple json array but I noticed it has single 
quotations. Does that even matter? I tried using a json array to replace 
['shoes','flip flops'], but it doesn't seem to work.

I even tried a simple string and it just clumps both keywords into one 
string. Any advice?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5e7a0574-c1f3-4689-bb68-b2e5928d925f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywordIdeas + Exact Phrase

2018-07-06 Thread Stephen Barrett
So I tested STATS again and it seems that it's only returning the first 
keyword's search volume instead of all of the ones I have in the array. Is 
there a way for me to produce search queries for all?

On Friday, July 6, 2018 at 8:38:39 AM UTC-6, Stephen Barrett wrote:
>
> I tried using STATS, but it clumped my keywords into one string and gave 
> me a search volume for that string instead of giving me multiple search 
> volumes depending on the keyword.
>
> Does that make sense?
>
> On Friday, July 6, 2018 at 12:38:30 AM UTC-6, Peter Oliquino (AdWords API 
> Team) wrote:
>>
>> Hi Stephen,
>>
>> Allow me to provide support as Luis is currently OOO. You could also try 
>> and change the RequestType 
>> <https://developers.google.com/adwords/api/docs/reference/v201806/TargetingIdeaService.RequestType>
>>  from 
>> IDEAS to STATS when you send your TargetingIdeaService request to get the 
>> results for the exact phrase you used as input. Let me know if this works 
>> for you.
>>
>> Also, the TrafficEstimatorService 
>> <https://developers.google.com/adwords/api/docs/reference/v201806/TrafficEstimatorService>
>>  does 
>> not suppot any search volume or date related fields. What this does is 
>> provide estimates on performances of your keywords or other AdWords 
>> entities based on historical data. You can check out our estimating 
>> traffic guide 
>> <https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service>
>>  for 
>> more information as to what to pass and the results to expect when using 
>> the TrafficEstimatorService. I hope this helps.
>>
>> Thanks and regards,
>> Peter
>> 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/8e747202-dcbf-474e-b8a0-e74bff194929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywordIdeas + Exact Phrase

2018-07-06 Thread Stephen Barrett
I tried using STATS, but it clumped my keywords into one string and gave me 
a search volume for that string instead of giving me multiple search 
volumes depending on the keyword.

Does that make sense?

On Friday, July 6, 2018 at 12:38:30 AM UTC-6, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi Stephen,
>
> Allow me to provide support as Luis is currently OOO. You could also try 
> and change the RequestType 
> 
>  from 
> IDEAS to STATS when you send your TargetingIdeaService request to get the 
> results for the exact phrase you used as input. Let me know if this works 
> for you.
>
> Also, the TrafficEstimatorService 
> 
>  does 
> not suppot any search volume or date related fields. What this does is 
> provide estimates on performances of your keywords or other AdWords 
> entities based on historical data. You can check out our estimating 
> traffic guide 
> 
>  for 
> more information as to what to pass and the results to expect when using 
> the TrafficEstimatorService. I hope this helps.
>
> Thanks and regards,
> Peter
> 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/e5d1e606-3b10-4c64-9fe3-7328d1c6a01a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Not getting same results when using GetKeywordIdeas compared to Keyword Planner

2018-07-05 Thread Stephen Barrett

There's a difference in search volume when using GetKeywordsIdeas compared 
to Adwords' Keyword Planner. Why am I not getting the same number in 
results? Do I need to adjust anything in my attributes?

My Network setting is only set to TargetGoogleSearch only.

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/ebf44b86-b4cd-4fd5-a97c-0e121e9e1924%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywordIdeas + Exact Phrase

2018-07-05 Thread Stephen Barrett
Or is there a way for me to bring in search volume into 
EstimatedKeywordTraffic

On Wednesday, July 4, 2018 at 2:02:42 AM UTC-6, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Stephen,
>
> In the GetKeywordIdeas example, the RelatedToQuerySearchParameter 
> 
>  is 
> already being passed. This should allow you to retrieve ideas closest to 
> the keyword or phrase you have set as input. However, this will not 
> guarantee that the exact phrase will be returned in the results. Let me 
> know if that is what you're looking for. 
>
> If not, could you provide a screenshot in UI including all the parameters 
> you used and the exact phrase in your result so I could further investigate?
>
> Thanks and regards,
> Luis
> 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/0f886406-c363-44e2-9ecc-56cc006b6003%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywordIdeas + Exact Phrase

2018-07-05 Thread Stephen Barrett
Thanks Luis.

I'm looking for a way to use the exact keyword phrase. For example, if I 
wanted to use the keyword "Women's Shoes", it will return to me the search 
volume for "women's shoes" and not women's running shoes". 

Is there another way to do this?

On Wednesday, July 4, 2018 at 2:02:42 AM UTC-6, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Stephen,
>
> In the GetKeywordIdeas example, the RelatedToQuerySearchParameter 
> 
>  is 
> already being passed. This should allow you to retrieve ideas closest to 
> the keyword or phrase you have set as input. However, this will not 
> guarantee that the exact phrase will be returned in the results. Let me 
> know if that is what you're looking for. 
>
> If not, could you provide a screenshot in UI including all the parameters 
> you used and the exact phrase in your result so I could further investigate?
>
> Thanks and regards,
> Luis
> 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/13d23bad-be27-4104-824b-fcbf784d63e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GetKeywordIdeas + Exact Phrase

2018-07-03 Thread Stephen Barrett
I'm looking at the GetKeywordIdeas example found in the example files and I 
was wondering how I would get the exact phrase of the keyword I am 
inputting. In Adwords Keyword Planner, you can see the exact keyword you 
are planning for at the very top regardless on the competition or avg 
monthly.  

So I was wondering what I need to add in the attributes to for 
GetKeywordIdeas to use the exact phrase.

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/78be3a3f-81dd-47ad-ace3-6e516d52c8f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword Performance Report with EXACT MATCH and PHRASE MATCH punctuation

2018-05-23 Thread Stephen Barrett
Never mind! I found the solution. KeywordMatchType

On Wednesday, May 23, 2018 at 2:01:05 PM UTC-6, Stephen Barrett wrote:
>
> Is there a way for me to output my keywords as they appear in my Adwords 
> Account with EXACT MATCH and PHRASE MATCH? I have 2 keywords that are 
> exact, but one is an exact match and the other is phrase match but the API 
> just outputs these keywords without square brackets or quotations. 
>
> example: [KEYWORD] and "KEYWORD".
>  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/95c04564-c108-4bb5-a181-fc0902f3b56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword Performance Report with EXACT MATCH and PHRASE MATCH punctuation

2018-05-23 Thread Stephen Barrett
Is there a way for me to output my keywords as they appear in my Adwords 
Account with EXACT MATCH and PHRASE MATCH? I have 2 keywords that are 
exact, but one is an exact match and the other is phrase match but the API 
just outputs these keywords without square brackets or quotations. 

example: [KEYWORD] and "KEYWORD".
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fd555d47-f177-456b-b73b-c42831e300be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AWQL + WHERE + greater_than Percentage

2018-05-21 Thread Stephen Barrett
So it would be something like:

->where('Status')->in(['ENABLED']) AND ('Ctr')->greater_than('3.00')

On Monday, May 21, 2018 at 12:48:29 AM UTC-6, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi Stephen,
>
> For your query, you can just use AND to include both filters in one WHERE 
> clause only. Also, you can try and just specify the percentage as '3.00' 
> and you can exclude the brackets when you're not using the IN operator. Let 
> me know if this helps.
>
> Thanks and regards,
> Peter
> 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/729ff9ee-217e-458e-ad41-8b384c19d42d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pulled same report twice but getting different total values (one with a date segment, one without)

2018-05-18 Thread Stephen Barrett
Can someone help and explain AdWord's way of calculating their own metrics? 
The report I'm using is Keywords_Performance_Report

I have pulled the same report twice with and without the segment Date for 
the Last 30 Days (see screenshot). Clicks, Total Conversion Value and Cost 
all matched up perfectly, but when it came down to percentages they didn't 
match.

I assumed when calculating these totals from the report with the segment, 
that the Conversion Rate, Cost per Conversion, and CTR would be the average 
of all the values, but they didn't add up to their associated number from 
the report that didn't have the date segment. Any reason why I am getting 
different numbers for these?





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e948274f-073a-48cf-8a33-cc738a353a68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AWQL + WHERE + greater_than Percentage

2018-05-18 Thread Stephen Barrett
Hi!

I'm trying to pull a Keywords Performance Report to only pull keywords with 
a CTR that is greater than 3%. 

->from(ReportDefinitionReportType::KEYWORDS_PERFORMANCE_REPORT)
->where('Status')->in(['ENABLED'])
->where('Ctr')->greater_than(['3.00%'])
->duringDateRange(ReportDefinitionDateRangeType::LAST_7_DAYS)

Originally, I did not have that where statement. So it was pulling 
everything that I had within the last 7 days. So I know the values being 
pulled in for Ctr were percentages (3.00%) as the value. Do I need the 
square brackets? Do I need to combine both Where clauses?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30eae597-2c89-40ac-9ab5-abf2b033383c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with Criteria Performance Report

2018-05-15 Thread Stephen Barrett
Is there a way for me to download a lesser version? I have changed my 
localhost to match my webhost's php version 7.0.30 and when I try and 
download the library through composer it no longer meets the requirements 
because the library requires php 7.1 or higher

On Tuesday, May 15, 2018 at 2:02:10 PM UTC-6, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Stephen, 
>
> The latest version of PHP client library that is currently available is 
> googleads-php-lib-v34.0.0 
> . 
> Looks like you are already using the latest version. Could you please 
> create an issue in the PHP client library 
>  with the detailed 
> error logs from your webhost environment? The library owner is better 
> equipped to assist you. 
>
> 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/148b3b2b-1ce8-4b44-92a5-a2911f77a4a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with Criteria Performance Report

2018-05-15 Thread Stephen Barrett
The changelog.md within the googleads-php-lib directory states that it's 
version 34.0.0. I was able to successfully make the call in my local setup, 
but not my webhost environment. 

On Tuesday, May 15, 2018 at 9:30:33 AM UTC-6, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Stephen, 
>
> I was able to test the latest samples in a lower PHP version (PHP 7.0.26) 
> than yours. Since the same code is working in your local machine too, it 
> does look like the version is not the issue here. Could you confirm which PHP 
> client library version 
>  you are using? 
> Also, were you able to try after reinstalling the client library again via 
> composer in the new environment? Let me know how it goes. 
>
> 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/34e73455-46e3-4278-9b64-52767c043613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with Criteria Performance Report

2018-05-14 Thread Stephen Barrett
I haven't changed any code in the symfony directory. So I'm assuming it's a 
php version error. I'm running php 7.0.29. This is the highest I can go for 
my website. It was suggested in another thread I am on to download Vendor 
again via Composer but with the local machine the same php version of my 
webhost. I have done that and the script is running successfully. It's 
throwing errors after I have moved it to the new environment. 

On Monday, May 14, 2018 at 12:06:45 PM UTC-6, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Stephen, 
>
> Could you please share the code that is failing with this error? I can 
> take a closer look. Please redact any confidential information that may be 
> present in the code. 
>
> 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/bbd65c6a-84e2-43f9-ab93-cbcb8bec2de1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using dynamic customerId

2018-05-14 Thread Stephen Barrett
I'm using the method that Sean Bayer created in using client's customer ID 
when authenticating. 
https://gist.github.com/shawnbayer/87186ec3cc73d3b7788433b5b02bc814

(I'm a newb) I'm assuming I would need to create an instance within the 
file I'm using to create a new OAuth2TeokenBuiler using this new file I 
have created and then have 
"->withClientId( $variable ) in the same instance. 

On Monday, May 14, 2018 at 2:38:02 AM UTC-6, Peter Bowen wrote:
>
> Hi Stephen.
>
> In PHP you can pass the client customer id in using the withClientId() 
> method in OAuth2TokenBuilder.php
>
> You can also pass in the OAuth2 refresh token in a similar if you're 
> making the call using the client's credentials rather than your manager 
> account's credentials.
>
> I'm guessing there is a similar way to do it if you're using one of the 
> other libraries.
>
> On Saturday, 12 May 2018 00:04:34 UTC+1, Stephen Barrett wrote:
>>
>> I've successfully been able to get client's customer ID number during 
>> authentication. What is the best procedure on how to use that Client 
>> CustomerId instead of the customerId in the ini file?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/109429ca-b8c4-4557-89da-c970e8edf5ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using dynamic customerId

2018-05-11 Thread Stephen Barrett
I've successfully been able to get client's customer ID number during 
authentication. What is the best procedure on how to use that Client 
CustomerId instead of the customerId in the ini file?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f3494d65-00c5-4c8e-85dc-b275027fdabd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error with Criteria Performance Report

2018-05-11 Thread Stephen Barrett
that post has nothing to do with this Parse error. 

On Friday, May 11, 2018 at 2:07:28 PM UTC-6, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Stephen,
>
> Could you please check out this post 
>  from the 
> library's GitHub page and see if it fixes your issue? If not, could you 
> please file an issue there so that the library owners can take a look? 
>
> Regards,
> Dhanya, AdWords API Team
>

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

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


Error with Criteria Performance Report

2018-05-11 Thread Stephen Barrett
I'm receiving this error when I am running the example 
CRITERIA_PERFORMANCE_REPORT with AWQL. I was running it on a test account 
and thought it was because there is very minimal data in it, so I switched 
to an production account that I have and all my campaigns from another 
function pull in, but I'm still not getting anything from this report.

*Parse error*
*: syntax error, unexpected '?', expecting variable (T_VARIABLE) 
in 
/home//wp-content/themes/clientTheme/adwords/symfony/serializer/Normalizer/AbstractObjectNormalizer.php
 on 
line 238*

I recently upgraded my php version to its highest availability: 7.0.29. I 
cannot go any higher than that with the current web host.. I saw in another 
thread on here that the newer version of Adwords API for php requires 7.2. 
Could this be because of it. Should I be using an earlier version of 
Adwords api php?

I have soap logging set up, and it's not showing any errors in the log. The 
only error showing up is the one above. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3f50747a-4ca0-4820-9599-71d83512a369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword Performance Report help

2018-05-10 Thread Stephen Barrett
Another update. I've been working through this. And I had to update my PHP 
version to 7.0.29 in order to remove that error above. Now I'm not seeing 
any errors or anything.


On Thursday, May 10, 2018 at 9:45:57 AM UTC-6, Stephen Barrett wrote:
>
> And update:
>
> I tested that sample code just how it is and I'm getting a parse error.
> Parse error: syntax error, unexpected ':', expecting ';' or '{' in 
> /home/../symfony/serializer/Normalizer/GetSetMethodNormalizer.php 
> on 
> line 59
>
> I assume that the file it's mentioning doesn't have any errors. So I'm 
> going to think its the sample file. I checked through the code and it 
> doesn't look like anything is wrong with it either. any help?
>
> On Thursday, May 10, 2018 at 9:10:04 AM UTC-6, Stephen Barrett wrote:
>>
>> So by changing the report type, would I have to also change the use cases 
>> too?
>>
>>
>>
>> On Wednesday, May 9, 2018 at 10:08:27 PM UTC-6, Dannison Yao (AdWords API 
>> Team) wrote:
>>>
>>> Hi Stephen,
>>>
>>> Here is a sample PHP guide 
>>> <https://developers.google.com/adwords/api/docs/samples/php/reporting#download-a-criteria-performance-report-with-awql>
>>>  for 
>>> you to better understand the implementation. Just change the report type 
>>> definition to cater the type of report you want to generate. If your 
>>> concern is where the download location will be, AdWords API automatically 
>>> generates the report file in the temp folder which will be specified in the 
>>> logs. More so, you can also specify the path where you want it to generate 
>>> by adding this line of code.
>>>
>>> $filePath = '/user/local/...'
>>> $reportDownloadResult->saveToFile($filePath); 
>>>
>>> Let me know if you have further concerns.
>>>
>>> Regards,
>>> Dannison
>>> 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/14deea57-1e14-4359-87aa-eb2b5e4b6e6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword Performance Report help

2018-05-10 Thread Stephen Barrett
And update:

I tested that sample code just how it is and I'm getting a parse error.
Parse error: syntax error, unexpected ':', expecting ';' or '{' in 
/home/../symfony/serializer/Normalizer/GetSetMethodNormalizer.php 
on 
line 59

I assume that the file it's mentioning doesn't have any errors. So I'm 
going to think its the sample file. I checked through the code and it 
doesn't look like anything is wrong with it either. any help?

On Thursday, May 10, 2018 at 9:10:04 AM UTC-6, Stephen Barrett wrote:
>
> So by changing the report type, would I have to also change the use cases 
> too?
>
>
>
> On Wednesday, May 9, 2018 at 10:08:27 PM UTC-6, Dannison Yao (AdWords API 
> Team) wrote:
>>
>> Hi Stephen,
>>
>> Here is a sample PHP guide 
>> <https://developers.google.com/adwords/api/docs/samples/php/reporting#download-a-criteria-performance-report-with-awql>
>>  for 
>> you to better understand the implementation. Just change the report type 
>> definition to cater the type of report you want to generate. If your 
>> concern is where the download location will be, AdWords API automatically 
>> generates the report file in the temp folder which will be specified in the 
>> logs. More so, you can also specify the path where you want it to generate 
>> by adding this line of code.
>>
>> $filePath = '/user/local/...'
>> $reportDownloadResult->saveToFile($filePath); 
>>
>> Let me know if you have further concerns.
>>
>> Regards,
>> Dannison
>> 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/5c5f1e79-492c-47ac-879a-c08b5bad94a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword Performance Report help

2018-05-10 Thread Stephen Barrett
So by changing the report type, would I have to also change the use cases 
too?



On Wednesday, May 9, 2018 at 10:08:27 PM UTC-6, Dannison Yao (AdWords API 
Team) wrote:
>
> Hi Stephen,
>
> Here is a sample PHP guide 
> 
>  for 
> you to better understand the implementation. Just change the report type 
> definition to cater the type of report you want to generate. If your 
> concern is where the download location will be, AdWords API automatically 
> generates the report file in the temp folder which will be specified in the 
> logs. More so, you can also specify the path where you want it to generate 
> by adding this line of code.
>
> $filePath = '/user/local/...'
> $reportDownloadResult->saveToFile($filePath); 
>
> Let me know if you have further concerns.
>
> Regards,
> Dannison
> 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/ff7ef2c2-b30f-4f2d-bb39-15d001614f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword Performance Report help

2018-05-09 Thread Stephen Barrett
I'm trying to pull Keyword Performance Report and I'm having trouble 
figuring out 

I want to use the AWQL method: 

// Create report query to get the data for last 7 days.
$reportQuery = 'SELECT CampaignId, AdGroupId, Id, Criteria, CriteriaType, '
. 'Impressions, Clicks, Cost FROM KEYWORD_PERFORMANCE_REPORT '
. 'WHERE Status IN [ENABLED, PAUSED] DURING LAST_7_DAYS';


but I'm confused on how to implement it. Am I supposed to use the Query 
Method to pull this off? I'm looking at the examples and I don't see 
anything about where to put KEYWORD_PERFORMANCE_REPORT.

Right now I'm taking an example and just replacing the $query with what I 
need, but I don't know where to put KEYWORD_PERFORMANCE_REPORT. Am I 
suppose to put it as a *use Google\AdsApi\Adwords\v201802\cm\.. *and if 
so, I couldn't find a Keyword performance file to help me out.  

Any help would be greatly appreciated. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4435df06-827e-4536-a486-540b38374df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unauthorized_client error

2018-05-07 Thread Stephen Barrett
 

I am getting this erro: Uncaught GuzzleHttp\Exception\ClientException: 
Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in 
a `401 Unauthorized` response. I have checked clientID, ClientSecret, and 
RefreshToken and they are all correct. 


I'm wondering if this has to do with the user flow I'm trying to create. 
What is the best web flow for a client to access their data through a 
manager? Would I have to set up a service account? I'm doing this all 
through my terminal first before moving it to my website. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe8afbdd-5034-40a4-b3d7-f65d54ec7407%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Correct OAuth2 redirect URI ?

2018-05-07 Thread Stephen Barrett
I'm getting stuck on setting up my OAuth2 Credentials. I have all the 
necessary information and have run GetRefreshToken.php but it keeps on 
saying that I don't have the correct Redirect URI. I'm on a mac and I 
haven't moved the Vendor directory anywhere else. What needs to be my 
redirect URI?

I tried going through the Playground route and successfully got a 
RefreshToken. I've placed it in the adsapi_php.ini file. Is there another 
file I need to put it in as well? My web flow is API Access on behalf of my 
clients.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/19acb139-1cf5-4b78-9c4d-285bff4446c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fatal error: Class 'Google\AdsApi\Common\OAuth2TokenBuilder' not found.

2018-05-04 Thread Stephen Barrett
Thanks Luis. I'll check there.

On Thursday, May 3, 2018 at 9:11:13 PM UTC-6, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Stephen,
>
> It seems your concern is more related to the PHP client libraries rather 
> than the AdWords API. I would suggest to post your issue here 
>  as the client 
> library owners are better equipped to assist you in this matter.
>
> Thanks and regards,
> Luis
> 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/d5283356-916d-4b4a-9898-fe1d3751c3f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


InvalidArgumentExceptions in my adsapi_php.ini file?

2018-05-04 Thread Stephen Barrett
I'm getting this error but I checked my config file and I have clientId, 
clientSecret and refreshToken set. 

*Fatal error*: Uncaught exception 'InvalidArgumentException' with message 
'All of 'clientId', 'clientSecret', and 'refreshToken' must be set when 
using installed/web application flow.'

Here is what I have (see attached). I made the refreshtoken via the 
playground if that makes any difference and also this is on a wordpress 
site. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e962a41c-516b-4191-b296-e2dad4bc3051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Uncaught exception 'InvalidArgumentException' with message 'Config file not found as specified: 'adsapi_php.ini'.

2018-05-04 Thread Stephen Barrett
I figured it out. I just had to put a path inside fromfile()

On Friday, May 4, 2018 at 10:38:40 AM UTC-6, Stephen Barrett wrote:
>
> I just put all of these files onto a website (Wordpress site) and I can't 
> determine where it needs me to place the adspai_php.ini file. Do I put it 
> in the directory where I have the application, or in the theme file or in 
> the root of the entire site? I'm a bit confused.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ab402557-bc6e-48ff-b0d8-cb39a6d80cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Uncaught exception 'InvalidArgumentException' with message 'Config file not found as specified: 'adsapi_php.ini'.

2018-05-04 Thread Stephen Barrett
I just put all of these files onto a website (Wordpress site) and I can't 
determine where it needs me to place the adspai_php.ini file. Do I put it 
in the directory where I have the application, or in the theme file or in 
the root of the entire site? I'm a bit confused.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30a5d704-95fb-4222-83ba-a8c3a42f7968%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fatal error: Class 'Google\AdsApi\Common\OAuth2TokenBuilder' not found.

2018-05-03 Thread Stephen Barrett
I'm getting this error when trying to view an example on a webpage: Fatal 
error: Class 'Google\AdsApi\Common\OAuth2TokenBuilder' not found.

I installed the lib via git clone, I added the lib to a directory called 
adwords, and I added the adsapi_php.ini file to the root directory of my 
application. I also add the required values into that file as well.  Am I 
missing anything? I'm also working this into a Wordpress site if that makes 
any difference. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c504e8ff-072f-46b2-8bac-5e12b8e0145b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.