Re: Filtering for type on CampaignCriterionService

2017-09-17 Thread Tim Johnson
At the end of that message I meant to say: "Any idea how to: a. Filter for Location type b. Filter for those with Bid modifiers" On Monday, September 18, 2017 at 12:00:16 PM UTC+10, Tim Johnson wrote: > I am using the CampaignCriterionService class to pull a report of all the &g

Filtering for type on CampaignCriterionService

2017-09-17 Thread Tim Johnson
I am using the CampaignCriterionService class to pull a report of all the criterion set up for a specific campaign. I would like to filter to simply see all the location bidmodifiers currently enabled. Is there a way with the "SetPredicate" method to do this? I am currently trying: $selector

Re: Frequently adjusting CampaignBidModifier based on location criterion

2017-09-15 Thread Tim Johnson
Understandable, I will ask them there. On Friday, 15 September 2017 20:05:09 UTC+10, Peter Oliquino wrote: > > Hi Tim, > > Interesting question, however, this appears to already be more product > related. This being said, you may contact the product experts via the AdWords > Community Forum > <

Re: Frequently adjusting CampaignBidModifier based on location criterion

2017-09-15 Thread Tim Johnson
Ok, will do. And lastly, if I have two criterion that have an overlapping geo-targeted radius, what happens to the campaign modifiers then? Will they both be applied? Will one be ignored? Cheers On Friday, 15 September 2017 18:36:08 UTC+10, Peter Oliquino wrote: > > Hi Tim, > > Our team provid

Re: Frequently adjusting CampaignBidModifier based on location criterion

2017-09-15 Thread Tim Johnson
Hi Peter, Thanks for the prompt response, that sounds good. I had a quick follow up question: How do you guys do it for the "adwords solutions" though? I see here you seem to bypa

Frequently adjusting CampaignBidModifier based on location criterion

2017-09-14 Thread Tim Johnson
Hi I was hoping to get your expertise with a question I had: I am looking to continually change the bid modifier for a campaign in 1 specific location. So I can understand I'll use the CampaignBidModifierService object while passing through a criterion. My question is: Is there anyway to sim

400 BAD REQUEST on reporting

2017-09-12 Thread Tim Johnson
Hi, I am trying to pull a report by following the reporting basics instructions here. However, when I try the POST call, I receive a "400 BAD REQUEST" error below is my call: https://adwords.google.com/api/adw

Re: any way to see the SOAP calls

2017-09-11 Thread Tim Johnson
scratch this you can mark this solved or delete this thread. Thank you for the assistance. On Tuesday, September 12, 2017 at 2:24:53 PM UTC+10, Tim Johnson wrote: > > Hi Peter, > > Unfortunately that will not help me. I want to use cURL to make > adjustments and to get rep

Re: any way to see the SOAP calls

2017-09-11 Thread Tim Johnson
Hi Peter, Unfortunately that will not help me. I want to use cURL to make adjustments and to get reporting from the Adwords server. All of the libraries do nothing more than making GET and POST HTTP requests. After all is said and done withing the API examples, the API must simply be sendin

any way to see the SOAP calls

2017-09-11 Thread Tim Johnson
Hi, I was wondering: instead of working with 9.000 files in the library: is there a way to print out the actual soap GET and POST calls that are being made within the SOAP library? Surely the endpoint, headers, and body must be assigned to some variable somewhere. Do you know what these are? I

Re: Question on ...\mcm\ManagedCustomerPage Object

2017-09-10 Thread Tim Johnson
Hi Peter, Thank you so much for the prompt response. Fair enough, thanks for the heads up. On the second question, the value of the "clientCustomerId:protected" key is the account that holds the campaigns, correct? It never is a MCC account ID that don't "directly" have campaigns, do they?

Question on ...\mcm\ManagedCustomerPage Object

2017-09-10 Thread Tim Johnson
So I am looking to find all campaigns tied to a refresh token that i received. Part of my program involves receiving the aforementioned object from the Adwords API. From this object, I am looking to grab every clientID, under that refresh token, which can then contain campaigns... Right now I

Get all AW client Names and IDs under a refresh token

2017-09-09 Thread Tim Johnson
Hi I am looking to print out all client ids and names for a given refresh token. The accountmanagement example appears to require a client ID. Is there any way my web authentication can retrieve this information without explicitly giving a client ID? Thanks, Tim -- -- =~=~=~=~=~=~=~=~=~=~=

Error checking authorization

2017-09-07 Thread Tim Johnson
Hi, I am looking to handle errors when using: OAuth2TokenBuilder() and AdWordsSessionBuilder() The examples online do not seem to show what methods can be used to return the errors; getPartialFailureErrors() isn't a method for those classes. Is there something similar that I can use to lo

Re: AWQL result has duplicates

2017-09-06 Thread Tim Johnson
Hi Shwetha, Thanks for that- that's very logical. Quick follow up, do you know how to ensure that this area: [2017-09-06 08:11:06] AW_REPORT_DOWNLOADER.INFO : clientCustomerId=509-496-9641 unknown (AwApi-PHP, googleads-php-lib/29.0.0, PHP/7.1.2, GuzzleHttp/6.

Re: AWQL result has duplicates

2017-09-06 Thread Tim Johnson
That seems extremely logical! Appreciate the help on that one! On Thursday, September 7, 2017 at 12:34:21 AM UTC+10, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Tim, > > I see that you are retrieving an AdGroup Performance Report >

AWQL result has duplicates

2017-09-06 Thread Tim Johnson
Hi, I am trying to pull unique Account,Campaign Name, & Campaign ID's using AWQL using PHP. Here's the reporting part of my code: $reportQuery = 'SELECT AccountDescriptiveName,CampaignName,CampaignId FROM ADGROUP_PERFORMANCE_REPORT'; $reportDownloader = new ReportDownloader($session);

Re: "error": "unauthorized_client"

2017-08-31 Thread Tim Johnson
Hi Vincent, Thanks very much for the prompt reply; I really appreciate it. Concerning the nature of the application: I believe it is a installed app under that definition, but it depends on your definition of callback. I will need users to redirect back to my page after the click a button to

"error": "unauthorized_client"

2017-08-30 Thread Tim Johnson
Hi, I am testing what will be a web app auth flow. I have created an MCC account, and also have a google developer client ID and secret. I go through the web app flow that I mimic via the Google Sandbox token process. From this process, I am able to get a refresh token. I attempt to run a si

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

2017-08-25 Thread Tim Johnson
Hi Shwetha, Thanks for the link but I do not think this addresses my question as that guide doesn't address to how pass through the token if you already have it. Also, it appears this information still needs to be hard-coded into PHP files. I have built the token, I have the .json file (could

PHP pass credentials dynamically (not through adsapi_php.ini)

2017-08-25 Thread Tim Johnson
Hi Support, As my application will be supporting users from multiple MCC accounts, I would prefer to not have to hardcode authentication credentials in the adsapi_php.ini to authenticate requests (as suggested in the documentation). Instead, I would like to pass the token/other credentials as

Dynamically pass credentials, not using the adsapi_php.ini file

2017-08-25 Thread Tim Johnson
Hi, I am building an application that will be used by multiple users, for multiple accounts. Because of this I do not want to hardcode any credential information into the adsapi.ini file, but instead pass the credentials through as an argument in a function. Is there any way to pass credenti